Only build the relevant loaders which require extra libraries if we

1999-07-26  Michael Zucchi  <mzucchi@denr.sa.gov.au>

        * src/Makefile.am (*_LIB): Only build the relevant loaders which
        require extra libraries if we actually have those libraries.
This commit is contained in:
Michael Zucchi 1999-07-26 06:39:39 +00:00 committed by Michael Zucci
parent 6af18860b6
commit 61f0ede138
2 changed files with 28 additions and 5 deletions

View File

@ -1,3 +1,8 @@
1999-07-26 Michael Zucchi <mzucchi@denr.sa.gov.au>
* src/Makefile.am (*_LIB): Only build the relevant loaders which
require extra libraries if we actually have those libraries.
1999-07-23 Richard Hestilow <hestgray@ionet.net>
* src/gdk-pixbuf.h: Include glib.h as it uses g* datatypes

View File

@ -4,12 +4,30 @@ lib_LTLIBRARIES = \
libexecdir = $(libdir)/gdk-pixbuf/loaders
if HAVE_PNG
PNG_LIB = libpixbuf-png.la
endif
if HAVE_JPEG
JPEG_LIB = libpixbuf-jpeg.la
endif
if HAVE_GIF
GIF_LIB = libpixbuf-gif.la
endif
if HAVE_TIFF
TIFF_LIB = libpixbuf-tiff.la
endif
XPM_LIB = libpixbuf-xpm.la
libexec_LTLIBRARIES = \
libpixbuf-png.la \
libpixbuf-jpeg.la \
libpixbuf-gif.la \
libpixbuf-xpm.la \
libpixbuf-tiff.la
$(PNG_LIB) \
$(JPEG_LIB) \
$(GIF_LIB) \
$(XPM_LIB) \
$(TIFF_LIB)
noinst_PROGRAMS = testpixbuf
DEPS = libgdk_pixbuf.la