quakeforge/libs/image/Makefile.am
Bill Currie 7f805c2527 Use pkg-config for zlib.
Helps cope with zlib being in weird places (eg, ps3toolchain)
2012-08-18 21:41:33 +09:00

18 lines
485 B
Makefile

AUTOMAKE_OPTIONS= foreign
AM_CFLAGS= @PREFER_PIC@ $(Z_CFLAGS) $(PNG_CFLAGS)
AM_CPPFLAGS= -I$(top_srcdir)/include
lib_ldflags=-version-info $(QUAKE_LIBRARY_VERSION_INFO) \
-rpath $(libdir) -no-undefined
image_deps=$(top_builddir)/libs/util/libQFutil.la
lib_LTLIBRARIES= libQFimage.la
libQFimage_la_LDFLAGS= $(lib_ldflags)
libQFimage_la_LIBADD= $(image_deps) $(PNG_LIBS)
libQFimage_la_DEPENDENCIES= $(pmage_deps)
libQFimage_la_SOURCES= \
image.c pcx.c png.c tga.c
EXTRA_DIST=