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