Makefile.am
changeset 0 76be7dab668c
child 7 e1b6443ffb6b
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile.am	Thu Aug 10 06:05:39 2000 +0000
     1.3 @@ -0,0 +1,43 @@
     1.4 +# Makefile.am for the SDL sample image loading library and viewer
     1.5 +
     1.6 +lib_LTLIBRARIES = libSDL_image.la
     1.7 +
     1.8 +libSDL_imageincludedir = $(includedir)/SDL
     1.9 +libSDL_imageinclude_HEADERS =	\
    1.10 +	SDL_image.h
    1.11 +
    1.12 +libSDL_image_la_SOURCES =		\
    1.13 +	IMG.c			\
    1.14 +	IMG_bmp.c		\
    1.15 +	IMG_gif.c		\
    1.16 +	IMG_jpg.c		\
    1.17 +	IMG_pcx.c		\
    1.18 +	IMG_png.c		\
    1.19 +	IMG_ppm.c		\
    1.20 +	IMG_tga.c		\
    1.21 +	IMG_tif.c
    1.22 +
    1.23 +EXTRA_DIST =			\
    1.24 +	CHANGES			\
    1.25 +	VisualC.zip		\
    1.26 +	MPWmake.sea.hqx		\
    1.27 +	IMG_xxx.c		\
    1.28 +	autogen.sh
    1.29 +
    1.30 +libSDL_image_la_LDFLAGS = 		\
    1.31 +        -release $(LT_RELEASE)	\
    1.32 +	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    1.33 +libSDL_image_la_LIBADD = @IMG_LIBS@
    1.34 +
    1.35 +bin_PROGRAMS = showimage
    1.36 +
    1.37 +showimage_LDADD = libSDL_image.la
    1.38 +
    1.39 +# Rule to build tar-gzipped distribution package
    1.40 +$(PACKAGE)-$(VERSION).tar.gz: dist
    1.41 +
    1.42 +# Rule to build RPM distribution package
    1.43 +rpm: $(PACKAGE)-$(VERSION).tar.gz
    1.44 +	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
    1.45 +	rpm -ba $(PACKAGE).spec
    1.46 +