Makefile.am
author Sam Lantinga <slouken@lokigames.com>
Thu, 30 Nov 2000 04:04:21 +0000
changeset 10 d61ec057aee0
parent 7 e1b6443ffb6b
child 25 c9117619e2af
permissions -rw-r--r--
*** empty log message ***
     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_ppm.c		\
    17 	IMG_tga.c		\
    18 	IMG_tif.c		\
    19 	IMG_xpm.c
    20 
    21 EXTRA_DIST =			\
    22 	CHANGES			\
    23 	VisualC.zip		\
    24 	MPWmake.sea.hqx		\
    25 	IMG_xxx.c		\
    26 	autogen.sh
    27 
    28 libSDL_image_la_LDFLAGS = 		\
    29         -release $(LT_RELEASE)	\
    30 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    31 libSDL_image_la_LIBADD = @IMG_LIBS@
    32 
    33 bin_PROGRAMS = showimage
    34 
    35 showimage_LDADD = libSDL_image.la
    36 
    37 # Rule to build tar-gzipped distribution package
    38 $(PACKAGE)-$(VERSION).tar.gz: dist
    39 
    40 # Rule to build RPM distribution package
    41 rpm: $(PACKAGE)-$(VERSION).tar.gz
    42 	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
    43 	rpm -ba --nodeps $(PACKAGE).spec
    44