Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Wed, 19 Nov 2003 08:20:27 +0000
changeset 94 88ddfd74ad67
parent 77 19e82ca3a184
child 107 9e398cda415f
permissions -rw-r--r--
Sam Lantinga - Wed Nov 19 00:23:44 PST 2003
* Updated libtool support for new mingw32 DLL build process
     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_lbm.c		\
    15 	IMG_pcx.c		\
    16 	IMG_png.c		\
    17 	IMG_pnm.c		\
    18 	IMG_tga.c		\
    19 	IMG_tif.c		\
    20 	IMG_xcf.c		\
    21 	IMG_xpm.c
    22 
    23 EXTRA_DIST =			\
    24 	CHANGES			\
    25 	VisualC.zip		\
    26 	PBProjects.tar.gz	\
    27 	MPWmake.sea.bin		\
    28 	IMG_xxx.c		\
    29 	SDL_image.spec		\
    30 	SDL_image.spec.in	\
    31 	autogen.sh
    32 
    33 libSDL_image_la_LDFLAGS = 	\
    34 	-no-undefined		\
    35 	-release $(LT_RELEASE)	\
    36 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    37 libSDL_image_la_LIBADD = @IMG_LIBS@
    38 
    39 noinst_PROGRAMS = showimage
    40 
    41 showimage_LDADD = libSDL_image.la
    42 
    43 # Rule to build tar-gzipped distribution package
    44 $(PACKAGE)-$(VERSION).tar.gz: distcheck
    45 
    46 # Rule to build RPM distribution package
    47 rpm: $(PACKAGE)-$(VERSION).tar.gz
    48 	rpm -ta $(PACKAGE)-$(VERSION).tar.gz
    49