Makefile.am
author Sam Lantinga <slouken@libsdl.org>
Sat, 04 Feb 2006 23:26:45 +0000
changeset 119 336c49447e0d
parent 115 143b62dd604d
child 125 868525349363
permissions -rw-r--r--
Added support for XV thumbnail images
     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 	IMG_xv.c
    23 
    24 EXTRA_DIST =			\
    25 	CHANGES			\
    26 	VisualC.zip		\
    27 	Xcode.tar.gz		\
    28 	XcodeUniversal.tar.gz	\
    29 	PBProjects.tar.gz	\
    30 	MPWmake.sea.bin		\
    31 	IMG_xxx.c		\
    32 	SDL_image.spec		\
    33 	SDL_image.spec.in	\
    34 	autogen.sh
    35 
    36 libSDL_image_la_LDFLAGS = 	\
    37 	-no-undefined		\
    38 	-release $(LT_RELEASE)	\
    39 	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
    40 libSDL_image_la_LIBADD = @IMG_LIBS@
    41 
    42 noinst_PROGRAMS = showimage
    43 
    44 showimage_LDADD = libSDL_image.la
    45 
    46 # Rule to build tar-gzipped distribution package
    47 $(PACKAGE)-$(VERSION).tar.gz: distcheck
    48 
    49 # Rule to build RPM distribution package
    50 rpm: $(PACKAGE)-$(VERSION).tar.gz
    51 	rpm -ta $(PACKAGE)-$(VERSION).tar.gz
    52