Makefile.am
author Sam Lantinga <slouken@lokigames.com>
Wed, 07 Mar 2001 17:00:59 +0000
changeset 25 c9117619e2af
parent 10 d61ec057aee0
child 26 d51719e1b5d9
permissions -rw-r--r--
*** empty log message ***
slouken@0
     1
# Makefile.am for the SDL sample image loading library and viewer
slouken@0
     2
slouken@0
     3
lib_LTLIBRARIES = libSDL_image.la
slouken@0
     4
slouken@0
     5
libSDL_imageincludedir = $(includedir)/SDL
slouken@0
     6
libSDL_imageinclude_HEADERS =	\
slouken@0
     7
	SDL_image.h
slouken@0
     8
slouken@0
     9
libSDL_image_la_SOURCES =		\
slouken@0
    10
	IMG.c			\
slouken@0
    11
	IMG_bmp.c		\
slouken@0
    12
	IMG_gif.c		\
slouken@0
    13
	IMG_jpg.c		\
slouken@0
    14
	IMG_pcx.c		\
slouken@0
    15
	IMG_png.c		\
slouken@25
    16
	IMG_pnm.c		\
slouken@0
    17
	IMG_tga.c		\
slouken@7
    18
	IMG_tif.c		\
slouken@7
    19
	IMG_xpm.c
slouken@0
    20
slouken@0
    21
EXTRA_DIST =			\
slouken@0
    22
	CHANGES			\
slouken@0
    23
	VisualC.zip		\
slouken@0
    24
	MPWmake.sea.hqx		\
slouken@0
    25
	IMG_xxx.c		\
slouken@0
    26
	autogen.sh
slouken@0
    27
slouken@0
    28
libSDL_image_la_LDFLAGS = 		\
slouken@0
    29
        -release $(LT_RELEASE)	\
slouken@0
    30
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    31
libSDL_image_la_LIBADD = @IMG_LIBS@
slouken@0
    32
slouken@0
    33
bin_PROGRAMS = showimage
slouken@0
    34
slouken@0
    35
showimage_LDADD = libSDL_image.la
slouken@0
    36
slouken@0
    37
# Rule to build tar-gzipped distribution package
slouken@0
    38
$(PACKAGE)-$(VERSION).tar.gz: dist
slouken@0
    39
slouken@0
    40
# Rule to build RPM distribution package
slouken@0
    41
rpm: $(PACKAGE)-$(VERSION).tar.gz
slouken@0
    42
	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
slouken@10
    43
	rpm -ba --nodeps $(PACKAGE).spec
slouken@0
    44