Makefile.am
author Sam Lantinga <slouken@lokigames.com>
Thu, 10 Aug 2000 06:05:39 +0000
changeset 0 76be7dab668c
child 7 e1b6443ffb6b
permissions -rw-r--r--
Initial revision
slouken@0
     1
# Makefile.am for the SDL sample image loading library and viewer
slouken@0
     2
slouken@0
     3
lib_LTLIBRARIES = libSDL_image.la
slouken@0
     4
slouken@0
     5
libSDL_imageincludedir = $(includedir)/SDL
slouken@0
     6
libSDL_imageinclude_HEADERS =	\
slouken@0
     7
	SDL_image.h
slouken@0
     8
slouken@0
     9
libSDL_image_la_SOURCES =		\
slouken@0
    10
	IMG.c			\
slouken@0
    11
	IMG_bmp.c		\
slouken@0
    12
	IMG_gif.c		\
slouken@0
    13
	IMG_jpg.c		\
slouken@0
    14
	IMG_pcx.c		\
slouken@0
    15
	IMG_png.c		\
slouken@0
    16
	IMG_ppm.c		\
slouken@0
    17
	IMG_tga.c		\
slouken@0
    18
	IMG_tif.c
slouken@0
    19
slouken@0
    20
EXTRA_DIST =			\
slouken@0
    21
	CHANGES			\
slouken@0
    22
	VisualC.zip		\
slouken@0
    23
	MPWmake.sea.hqx		\
slouken@0
    24
	IMG_xxx.c		\
slouken@0
    25
	autogen.sh
slouken@0
    26
slouken@0
    27
libSDL_image_la_LDFLAGS = 		\
slouken@0
    28
        -release $(LT_RELEASE)	\
slouken@0
    29
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    30
libSDL_image_la_LIBADD = @IMG_LIBS@
slouken@0
    31
slouken@0
    32
bin_PROGRAMS = showimage
slouken@0
    33
slouken@0
    34
showimage_LDADD = libSDL_image.la
slouken@0
    35
slouken@0
    36
# Rule to build tar-gzipped distribution package
slouken@0
    37
$(PACKAGE)-$(VERSION).tar.gz: dist
slouken@0
    38
slouken@0
    39
# Rule to build RPM distribution package
slouken@0
    40
rpm: $(PACKAGE)-$(VERSION).tar.gz
slouken@0
    41
	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
slouken@0
    42
	rpm -ba $(PACKAGE).spec
slouken@0
    43