mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-19 01:40:10 +00:00
38abc0dee0
1999-11-04 Havoc Pennington <hp@pobox.com> * configure.in: Use libart-config correctly; find gnome-config separately. Fix GNOME_LIBS to be correct in "no gnome installed yet" case. * src/Makefile.am: Link to GNOME_LIBS instead of a hardcoded library list. Patch untested in the inside-gnome-libs case, I need to commit then check out to the gnome-libs I'm using.
96 lines
1.7 KiB
Makefile
96 lines
1.7 KiB
Makefile
lib_LTLIBRARIES = \
|
|
libgdk_pixbuf.la
|
|
|
|
libexecdir = $(libdir)/gdk-pixbuf/loaders
|
|
|
|
if HAVE_PNG
|
|
PNG_LIB = libpixbuf-png.la
|
|
endif
|
|
|
|
if HAVE_JPEG
|
|
JPEG_LIB = libpixbuf-jpeg.la
|
|
endif
|
|
|
|
GIF_LIB = libpixbuf-gif.la
|
|
|
|
if HAVE_TIFF
|
|
TIFF_LIB = libpixbuf-tiff.la
|
|
endif
|
|
|
|
XPM_LIB = libpixbuf-xpm.la
|
|
|
|
libexec_LTLIBRARIES = \
|
|
$(PNG_LIB) \
|
|
$(JPEG_LIB) \
|
|
$(GIF_LIB) \
|
|
$(XPM_LIB) \
|
|
$(TIFF_LIB)
|
|
|
|
noinst_PROGRAMS = testpixbuf
|
|
|
|
|
|
DEPS = libgdk_pixbuf.la
|
|
INCLUDES = $(GLIB_CFLAGS) $(LIBART_CFLAGS) $(GTK_CFLAGS)
|
|
AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
|
|
|
|
LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS)
|
|
|
|
testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
|
|
|
|
#
|
|
# The GdkPixBuf library
|
|
#
|
|
libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
|
|
|
|
libgdk_pixbuf_la_SOURCES = \
|
|
gdk-pixbuf.c \
|
|
gdk-pixbuf-data.c \
|
|
gdk-pixbuf-io.c \
|
|
gdk-pixbuf-loader.c \
|
|
gdk-pixbuf-render.c \
|
|
gnome-canvas-pixbuf.c
|
|
|
|
libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0
|
|
|
|
libgdk_pixbufinclude_HEADERS = \
|
|
gdk-pixbuf.h \
|
|
gdk-pixbuf-loader.h \
|
|
gnome-canvas-pixbuf.h
|
|
|
|
noinst_HEADERS = \
|
|
gdk-pixbuf-io.h
|
|
|
|
#
|
|
# The PNG plugin.
|
|
#
|
|
libpixbuf_png_la_SOURCES = io-png.c
|
|
libpixbuf_png_la_LDFLAGS = -avoid-version -module
|
|
libpixbuf_png_la_LIBADD = $(LIBPNG)
|
|
|
|
#
|
|
# The JPEG loader
|
|
#
|
|
libpixbuf_jpeg_la_SOURCES = io-jpeg.c
|
|
libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
|
|
libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
|
|
|
|
#
|
|
# The XPM loader
|
|
#
|
|
libpixbuf_xpm_la_SOURCES = io-xpm.c
|
|
libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
|
|
|
|
#
|
|
# The GIF loader
|
|
#
|
|
libpixbuf_gif_la_SOURCES = io-gif.c
|
|
libpixbuf_gif_la_LDFLAGS = -avoid-version -module
|
|
libpixbuf_gif_la_LIBADD =
|
|
|
|
#
|
|
# The TIFF loader
|
|
#
|
|
libpixbuf_tiff_la_SOURCES = io-tiff.c
|
|
libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
|
|
libpixbuf_tiff_la_LIBADD = $(LIBTIFF)
|