2000-01-05 21:33:58 +00:00
|
|
|
SUBDIRS = pixops
|
|
|
|
|
2000-01-17 01:48:21 +00:00
|
|
|
if INSIDE_GNOME_LIBS
|
|
|
|
CANVAS_PIXBUF_LIB =
|
|
|
|
CANVAS_PIXBUF_HEADERFILES =
|
|
|
|
EXTRA_GNOME_LIBS =
|
2000-01-10 21:28:03 +00:00
|
|
|
else
|
2000-01-17 01:48:21 +00:00
|
|
|
CANVAS_PIXBUF_LIB = libgnomecanvaspixbuf.la
|
|
|
|
CANVAS_PIXBUF_HEADERFILES=gnome-canvas-pixbuf.h
|
|
|
|
EXTRA_GNOME_LIBS = $(GNOME_LIBS)
|
2000-01-10 21:28:03 +00:00
|
|
|
endif
|
2000-01-17 01:48:21 +00:00
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2000-01-10 21:28:03 +00:00
|
|
|
libgdk_pixbuf.la \
|
2000-01-17 01:48:21 +00:00
|
|
|
$(CANVAS_PIXBUF_LIB)
|
|
|
|
|
|
|
|
libgnomecanvaspixbuf_la_SOURCES = gnome-canvas-pixbuf.c
|
|
|
|
libgnomecanvaspixbuf_la_LDFLAGS = $(EXTRA_GNOME_LIBS)
|
1999-07-12 20:27:50 +00:00
|
|
|
|
|
|
|
libexecdir = $(libdir)/gdk-pixbuf/loaders
|
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_PNG
|
|
|
|
PNG_LIB = libpixbuf-png.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_JPEG
|
|
|
|
JPEG_LIB = libpixbuf-jpeg.la
|
|
|
|
endif
|
|
|
|
|
1999-11-04 01:10:05 +00:00
|
|
|
GIF_LIB = libpixbuf-gif.la
|
1999-07-26 06:39:39 +00:00
|
|
|
|
1999-11-29 16:49:39 +00:00
|
|
|
ICO_LIB = libpixbuf-ico.la
|
|
|
|
|
1999-11-05 20:37:08 +00:00
|
|
|
RAS_LIB = libpixbuf-ras.la
|
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_TIFF
|
|
|
|
TIFF_LIB = libpixbuf-tiff.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
XPM_LIB = libpixbuf-xpm.la
|
|
|
|
|
1999-11-09 23:51:35 +00:00
|
|
|
PNM_LIB = libpixbuf-pnm.la
|
|
|
|
|
1999-11-21 21:28:28 +00:00
|
|
|
BMP_LIB = libpixbuf-bmp.la
|
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
libexec_LTLIBRARIES = \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(PNG_LIB) \
|
|
|
|
$(JPEG_LIB) \
|
|
|
|
$(GIF_LIB) \
|
1999-11-29 16:49:39 +00:00
|
|
|
$(ICO_LIB) \
|
1999-11-05 20:37:08 +00:00
|
|
|
$(RAS_LIB) \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(XPM_LIB) \
|
1999-11-09 23:51:35 +00:00
|
|
|
$(TIFF_LIB) \
|
1999-11-21 21:28:28 +00:00
|
|
|
$(PNM_LIB) \
|
|
|
|
$(BMP_LIB)
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2000-01-30 23:28:41 +00:00
|
|
|
noinst_PROGRAMS = testpixbuf testpixbuf-drawable testanimation testpixbuf-scale
|
1999-10-26 20:43:39 +00:00
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
DEPS = libgdk_pixbuf.la
|
1999-12-16 16:35:23 +00:00
|
|
|
INCLUDES = -I$(top_srcdir) -I$(top_builddir) \
|
|
|
|
-I$(top_srcdir)/gdk-pixbuf \
|
|
|
|
-I$(top_builddir)/gdk-pixbuf \
|
|
|
|
$(GLIB_CFLAGS) $(LIBART_CFLAGS) $(GTK_CFLAGS)
|
1999-07-12 20:52:05 +00:00
|
|
|
AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
|
1999-09-23 04:58:55 +00:00
|
|
|
|
1999-11-22 18:46:20 +00:00
|
|
|
LDADDS = libgdk_pixbuf.la $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
|
2000-01-10 21:28:03 +00:00
|
|
|
|
1999-12-07 18:56:46 +00:00
|
|
|
if INSIDE_GNOME_LIBS
|
|
|
|
testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) -lgmodule
|
1999-12-09 00:43:53 +00:00
|
|
|
testpixbuf_drawable_LDADD = $(LDADDS)
|
2000-01-05 21:33:58 +00:00
|
|
|
testpixbuf_scale_LDADD = $(LDADDS)
|
2000-01-02 03:59:22 +00:00
|
|
|
testanimation_LDADD = $(LDADDS) $(LIBART_LIBS) -lgmodule
|
1999-12-07 18:56:46 +00:00
|
|
|
else
|
1999-12-06 00:22:29 +00:00
|
|
|
testpixbuf_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
|
1999-12-09 00:43:53 +00:00
|
|
|
testpixbuf_drawable_LDADD = $(LDADDS) $(GNOME_LIBS)
|
2000-01-05 21:33:58 +00:00
|
|
|
testpixbuf_scale_LDADD = $(LDADDS) $(GNOME_LIBS)
|
1999-12-17 21:42:47 +00:00
|
|
|
testanimation_LDADD = $(LDADDS) $(LIBART_LIBS) $(GNOME_LIBS) -lgmodule
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
1999-11-23 16:04:13 +00:00
|
|
|
GDK_PIXBUF_LIBS = $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
|
1999-11-13 17:28:11 +00:00
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
#
|
|
|
|
# The GdkPixBuf library
|
|
|
|
#
|
1999-11-30 17:53:02 +00:00
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
libgdk_pixbufincludedir = $(includedir)/gdk-pixbuf
|
1999-01-05 21:27:07 +00:00
|
|
|
|
|
|
|
libgdk_pixbuf_la_SOURCES = \
|
1999-01-04 23:53:12 +00:00
|
|
|
gdk-pixbuf.c \
|
2000-01-02 03:59:22 +00:00
|
|
|
gdk-pixbuf-animation.c \
|
1999-10-27 23:36:44 +00:00
|
|
|
gdk-pixbuf-data.c \
|
1999-12-08 21:17:53 +00:00
|
|
|
gdk-pixbuf-drawable.c \
|
1999-10-08 23:01:05 +00:00
|
|
|
gdk-pixbuf-io.c \
|
1999-10-27 23:36:44 +00:00
|
|
|
gdk-pixbuf-loader.c \
|
1999-11-02 01:50:06 +00:00
|
|
|
gdk-pixbuf-render.c \
|
2000-01-05 21:33:58 +00:00
|
|
|
gdk-pixbuf-scale.c \
|
2000-01-17 01:48:21 +00:00
|
|
|
gdk-pixbuf-util.c
|
1999-12-12 06:38:57 +00:00
|
|
|
|
2000-01-17 18:35:26 +00:00
|
|
|
libgdk_pixbuf_la_LDFLAGS = -version-info 1:0:0 $(LIBART_LIBS) $(GLIB_LIBS) $(GTK_LIBS)
|
2000-01-05 21:33:58 +00:00
|
|
|
libgdk_pixbuf_la_LIBADD = pixops/libpixops.la
|
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
libgdk_pixbufinclude_HEADERS = \
|
1999-10-26 03:42:14 +00:00
|
|
|
gdk-pixbuf.h \
|
1999-11-29 20:36:55 +00:00
|
|
|
gdk-pixbuf-loader.h \
|
2000-01-10 19:17:42 +00:00
|
|
|
gdk-pixbuf-features.h \
|
2000-01-17 01:48:21 +00:00
|
|
|
$(CANVAS_PIXBUF_HEADERFILES)
|
1999-01-05 21:27:07 +00:00
|
|
|
|
1999-10-26 20:43:39 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
gdk-pixbuf-io.h
|
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
#
|
|
|
|
# The PNG plugin.
|
|
|
|
#
|
1999-07-12 05:40:02 +00:00
|
|
|
libpixbuf_png_la_SOURCES = io-png.c
|
1999-07-12 20:52:05 +00:00
|
|
|
libpixbuf_png_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_png_la_LIBADD = $(LIBPNG)
|
1999-06-29 11:13:31 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The JPEG loader
|
|
|
|
#
|
1999-07-12 05:40:02 +00:00
|
|
|
libpixbuf_jpeg_la_SOURCES = io-jpeg.c
|
1999-07-12 20:52:05 +00:00
|
|
|
libpixbuf_jpeg_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_jpeg_la_LIBADD = $(LIBJPEG)
|
1999-06-29 11:13:31 +00:00
|
|
|
|
1999-07-01 03:45:59 +00:00
|
|
|
#
|
|
|
|
# The XPM loader
|
|
|
|
#
|
1999-07-12 05:40:02 +00:00
|
|
|
libpixbuf_xpm_la_SOURCES = io-xpm.c
|
1999-07-12 20:52:05 +00:00
|
|
|
libpixbuf_xpm_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_xpm_la_LIBADD =
|
1999-07-01 03:45:59 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The GIF loader
|
|
|
|
#
|
1999-07-12 05:40:02 +00:00
|
|
|
libpixbuf_gif_la_SOURCES = io-gif.c
|
1999-07-12 20:52:05 +00:00
|
|
|
libpixbuf_gif_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_gif_la_LIBADD =
|
1999-07-01 03:45:59 +00:00
|
|
|
|
1999-11-29 16:49:39 +00:00
|
|
|
#
|
|
|
|
# The ICO loader
|
|
|
|
#
|
|
|
|
libpixbuf_ico_la_SOURCES = io-ico.c
|
|
|
|
libpixbuf_ico_la_LDFLAGS = -avoid-version -module
|
|
|
|
libpixbuf_ico_la_LIBADD =
|
|
|
|
|
1999-11-05 20:37:08 +00:00
|
|
|
#
|
|
|
|
# The RAS loader
|
|
|
|
#
|
|
|
|
libpixbuf_ras_la_SOURCES = io-ras.c
|
|
|
|
libpixbuf_ras_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_ras_la_LIBADD =
|
1999-11-05 20:37:08 +00:00
|
|
|
|
1999-07-01 06:59:07 +00:00
|
|
|
#
|
|
|
|
# The TIFF loader
|
|
|
|
#
|
1999-07-12 05:40:02 +00:00
|
|
|
libpixbuf_tiff_la_SOURCES = io-tiff.c
|
1999-07-12 20:52:05 +00:00
|
|
|
libpixbuf_tiff_la_LDFLAGS = -avoid-version -module
|
1999-12-27 05:00:42 +00:00
|
|
|
libpixbuf_tiff_la_LIBADD = $(LIBTIFF)
|
1999-11-09 23:51:35 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The PNM loader
|
|
|
|
#
|
|
|
|
libpixbuf_pnm_la_SOURCES = io-pnm.c
|
|
|
|
libpixbuf_pnm_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_pnm_la_LIBADD =
|
1999-11-21 21:28:28 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The BMP loader
|
|
|
|
#
|
|
|
|
libpixbuf_bmp_la_SOURCES = io-bmp.c
|
|
|
|
libpixbuf_bmp_la_LDFLAGS = -avoid-version -module
|
1999-11-23 16:04:13 +00:00
|
|
|
libpixbuf_bmp_la_LIBADD =
|