This repository has been archived on 2023-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
sdl-wii/SDL_image/src/Makefile.am

66 lines
1.3 KiB
Makefile
Raw Normal View History

2009-04-23 13:32:29 -04:00
# 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 \
IMG_lbm.c \
IMG_pcx.c \
IMG_png.c \
IMG_pnm.c \
IMG_tga.c \
IMG_tif.c \
IMG_xcf.c \
IMG_xpm.c \
IMG_xv.c
EXTRA_DIST = \
CHANGES \
version.rc \
VisualC.zip \
Xcode.tar.gz \
MPWmake.sea.bin \
Watcom-OS2.zip \
IMG_xxx.c \
SDL_image.spec \
SDL_image.spec.in \
gcc-fat.sh \
autogen.sh
if USE_VERSION_RC
libSDL_image_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -Wl,version.o
libSDL_image_la_LIBADD = $(IMG_LIBS)
libSDL_image_la_DEPENDENCIES = version.o
else
libSDL_image_la_LDFLAGS = \
-no-undefined \
-release $(LT_RELEASE) \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
libSDL_image_la_LIBADD = $(IMG_LIBS)
endif
%.o : %.rc
$(WINDRES) $< $@
noinst_PROGRAMS = showimage
showimage_LDADD = libSDL_image.la
# Rule to build tar-gzipped distribution package
$(PACKAGE)-$(VERSION).tar.gz: distcheck
# Rule to build RPM distribution package
rpm: $(PACKAGE)-$(VERSION).tar.gz
rpmbuild -ta $(PACKAGE)-$(VERSION).tar.gz