Makefile.am
author Sam Lantinga <slouken@lokigames.com>
Sat, 28 Apr 2001 19:56:31 +0000
changeset 37 93db822816cd
parent 30 d3248d17a4a6
child 43 c904a1959598
permissions -rw-r--r--
Paul Jenner - Sat, 14 Apr 2001 09:20:38 -0700 (PDT)
* Added support for building RPM directly from tar archive
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@37
    27
	SDL_image.spec		\
slouken@37
    28
	SDL_image.spec.in	\
slouken@0
    29
	autogen.sh
slouken@0
    30
slouken@0
    31
libSDL_image_la_LDFLAGS = 		\
slouken@37
    32
	-release $(LT_RELEASE)	\
slouken@0
    33
	-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
slouken@0
    34
libSDL_image_la_LIBADD = @IMG_LIBS@
slouken@0
    35
slouken@0
    36
bin_PROGRAMS = showimage
slouken@0
    37
slouken@0
    38
showimage_LDADD = libSDL_image.la
slouken@0
    39
slouken@0
    40
# Rule to build tar-gzipped distribution package
slouken@37
    41
$(PACKAGE)-$(VERSION).tar.gz: distcheck
slouken@0
    42
slouken@0
    43
# Rule to build RPM distribution package
slouken@0
    44
rpm: $(PACKAGE)-$(VERSION).tar.gz
slouken@37
    45
	rpm -ta $(PACKAGE)-$(VERSION).tar.gz
slouken@0
    46