/
Makefile.am
52 lines (42 loc) · 1013 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# Makefile.am for the SDL sample image loading library and viewer
lib_LTLIBRARIES = libSDL_image.la
libSDL_imageincludedir = $(includedir)/SDL
libSDL_imageinclude_HEADERS = \
SDL_image.h
libSDL_image_la_SOURCES = \
IMG.c \
IMG_bmp.c \
IMG_gif.c \
IMG_jpg.c \
14
IMG_lbm.c \
15
16
IMG_pcx.c \
IMG_png.c \
17
IMG_pnm.c \
18
IMG_tga.c \
19
IMG_tif.c \
20
IMG_xcf.c \
21
22
IMG_xpm.c \
IMG_xv.c
23
24
25
26
EXTRA_DIST = \
CHANGES \
VisualC.zip \
27
Xcode.tar.gz \
28
MPWmake.sea.bin \
29
Watcom-OS2.zip \
30
IMG_xxx.c \
31
32
SDL_image.spec \
SDL_image.spec.in \
33
gcc-fat.sh \
34
35
autogen.sh
36
37
libSDL_image_la_LDFLAGS = \
-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
45
46
showimage_LDADD = libSDL_image.la
# Rule to build tar-gzipped distribution package
47
$(PACKAGE)-$(VERSION).tar.gz: distcheck
48
49
50
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
51
rpm -ta $(PACKAGE)-$(VERSION).tar.gz