Makefile.am
author Sam Lantinga <slouken@lokigames.com>
Thu, 05 Apr 2001 21:16:11 +0000
changeset 30 d3248d17a4a6
parent 26 d51719e1b5d9
child 37 93db822816cd
permissions -rw-r--r--
Cross-platform cleanups
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@25
    16
	IMG_pnm.c		\
slouken@0
    17
	IMG_tga.c		\
slouken@7
    18
	IMG_tif.c		\
slouken@26
    19
	IMG_xcf.c		\
slouken@7
    20
	IMG_xpm.c
slouken@0
    21
slouken@0
    22
EXTRA_DIST =			\
slouken@0
    23
	CHANGES			\
slouken@0
    24
	VisualC.zip		\
slouken@30
    25
	MPWmake.sea.bin		\
slouken@0
    26
	IMG_xxx.c		\
slouken@0
    27
	autogen.sh
slouken@0
    28
slouken@0
    29
libSDL_image_la_LDFLAGS = 		\
slouken@0
    30
        -release $(LT_RELEASE)	\
slouken@0
    31
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    32
libSDL_image_la_LIBADD = @IMG_LIBS@
slouken@0
    33
slouken@0
    34
bin_PROGRAMS = showimage
slouken@0
    35
slouken@0
    36
showimage_LDADD = libSDL_image.la
slouken@0
    37
slouken@0
    38
# Rule to build tar-gzipped distribution package
slouken@0
    39
$(PACKAGE)-$(VERSION).tar.gz: dist
slouken@0
    40
slouken@0
    41
# Rule to build RPM distribution package
slouken@0
    42
rpm: $(PACKAGE)-$(VERSION).tar.gz
slouken@0
    43
	cp $(PACKAGE)-$(VERSION).tar.gz /usr/src/redhat/SOURCES
slouken@10
    44
	rpm -ba --nodeps $(PACKAGE).spec
slouken@0
    45