Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Sun, 19 Aug 2001 20:49:56 +0000
changeset 43 c904a1959598
parent 37 93db822816cd
child 45 45736a3044c0
permissions -rw-r--r--
Sam Lantinga - Sun Aug 19 01:51:44 PDT 2001
* Added Project Builder projects for building MacOS X framework
     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 	PBProjects.tar.gz	\
    26 	MPWmake.sea.bin		\
    27 	IMG_xxx.c		\
    28 	SDL_image.spec		\
    29 	SDL_image.spec.in	\
    30 	autogen.sh
    31 
    32 libSDL_image_la_LDFLAGS = 		\
    33 	-release $(LT_RELEASE)	\
    34 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    35 libSDL_image_la_LIBADD = @IMG_LIBS@
    36 
    37 bin_PROGRAMS = showimage
    38 
    39 showimage_LDADD = libSDL_image.la
    40 
    41 # Rule to build tar-gzipped distribution package
    42 $(PACKAGE)-$(VERSION).tar.gz: distcheck
    43 
    44 # Rule to build RPM distribution package
    45 rpm: $(PACKAGE)-$(VERSION).tar.gz
    46 	rpm -ta $(PACKAGE)-$(VERSION).tar.gz
    47