2000-01-05 21:33:58 +00:00
|
|
|
SUBDIRS = pixops
|
|
|
|
|
2000-03-03 03:57:15 +00:00
|
|
|
if BUILD_CANVAS_ITEM
|
2000-01-17 01:48:21 +00:00
|
|
|
CANVAS_PIXBUF_LIB = libgnomecanvaspixbuf.la
|
|
|
|
CANVAS_PIXBUF_HEADERFILES=gnome-canvas-pixbuf.h
|
2000-03-03 03:57:15 +00:00
|
|
|
libgnomecanvaspixbuf_la_SOURCES = gnome-canvas-pixbuf.c
|
2000-01-17 01:48:21 +00:00
|
|
|
EXTRA_GNOME_LIBS = $(GNOME_LIBS)
|
2000-03-03 03:57:15 +00:00
|
|
|
else
|
|
|
|
CANVAS_PIXBUF_LIB =
|
|
|
|
CANVAS_PIXBUF_HEADERFILES =
|
|
|
|
EXTRA_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)
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
libgnomecanvaspixbuf_la_LDFLAGS = -version-info 1:0:0 $(EXTRA_GNOME_LIBS)
|
1999-07-12 20:27:50 +00:00
|
|
|
|
|
|
|
libexecdir = $(libdir)/gdk-pixbuf/loaders
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
|
|
|
# The PNG plugin.
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_png_la_SOURCES = io-png.c
|
|
|
|
libpixbufloader_png_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_png_la_LIBADD = $(LIBPNG)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The JPEG loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_jpeg_la_SOURCES = io-jpeg.c
|
|
|
|
libpixbufloader_jpeg_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The XPM loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_xpm_la_SOURCES = io-xpm.c
|
|
|
|
libpixbufloader_xpm_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_xpm_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The GIF loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_gif_la_SOURCES = io-gif.c
|
|
|
|
libpixbufloader_gif_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_gif_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The ICO loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ico_la_SOURCES = io-ico.c
|
|
|
|
libpixbufloader_ico_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_ico_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The RAS loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ras_la_SOURCES = io-ras.c
|
|
|
|
libpixbufloader_ras_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_ras_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The TIFF loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_tiff_la_SOURCES = io-tiff.c
|
|
|
|
libpixbufloader_tiff_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_tiff_la_LIBADD = $(LIBTIFF)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The PNM loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_pnm_la_SOURCES = io-pnm.c
|
|
|
|
libpixbufloader_pnm_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_pnm_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The BMP loader
|
|
|
|
#
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_bmp_la_SOURCES = io-bmp.c
|
|
|
|
libpixbufloader_bmp_la_LDFLAGS = -version-info 1:0:0 -module
|
|
|
|
libpixbufloader_bmp_la_LIBADD =
|
2000-02-22 00:29:00 +00:00
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_PNG
|
2000-04-13 01:18:41 +00:00
|
|
|
PNG_LIB = libpixbufloader-png.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_JPEG
|
2000-04-13 01:18:41 +00:00
|
|
|
JPEG_LIB = libpixbufloader-jpeg.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
GIF_LIB = libpixbufloader-gif.la
|
1999-07-26 06:39:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
ICO_LIB = libpixbufloader-ico.la
|
1999-11-29 16:49:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
RAS_LIB = libpixbufloader-ras.la
|
1999-11-05 20:37:08 +00:00
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
if HAVE_TIFF
|
2000-04-13 01:18:41 +00:00
|
|
|
TIFF_LIB = libpixbufloader-tiff.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
XPM_LIB = libpixbufloader-xpm.la
|
1999-07-26 06:39:39 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
PNM_LIB = libpixbufloader-pnm.la
|
1999-11-09 23:51:35 +00:00
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
BMP_LIB = libpixbufloader-bmp.la
|
1999-11-21 21:28:28 +00:00
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
if BUILD_DYNAMIC_MODULES
|
|
|
|
|
|
|
|
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-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
extra_sources =
|
|
|
|
|
|
|
|
else
|
|
|
|
libexec_LTLIBRARIES =
|
|
|
|
|
2000-04-13 01:18:41 +00:00
|
|
|
extra_sources = $(libpixbufloader_png_la_SOURCES) \
|
|
|
|
$(libpixbufloader_jpeg_la_SOURCES) \
|
|
|
|
$(libpixbufloader_xpm_la_SOURCES) \
|
|
|
|
$(libpixbufloader_gif_la_SOURCES) \
|
|
|
|
$(libpixbufloader_ico_la_SOURCES) \
|
|
|
|
$(libpixbufloader_ras_la_SOURCES) \
|
|
|
|
$(libpixbufloader_tiff_la_SOURCES) \
|
|
|
|
$(libpixbufloader_pnm_la_SOURCES) \
|
|
|
|
$(libpixbufloader_bmp_la_SOURCES)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
builtin_libraries =
|
|
|
|
endif
|
|
|
|
|
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 \
|
2000-04-17 11:43:25 +00:00
|
|
|
$(GLIB_CFLAGS) $(GTK_CFLAGS) $(GNOME_CFLAGS)
|
1999-07-12 20:52:05 +00:00
|
|
|
AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(libexecdir)\""
|
1999-09-23 04:58:55 +00:00
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
LDADDS = libgdk_pixbuf.la $(GLIB_LIBS) $(GTK_LIBS) $(STATIC_LIB_DEPS)
|
2000-01-10 21:28:03 +00:00
|
|
|
|
1999-12-07 18:56:46 +00:00
|
|
|
if INSIDE_GNOME_LIBS
|
2000-04-11 07:03:25 +00:00
|
|
|
testpixbuf_LDADD = $(LDADDS) -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-04-11 07:03:25 +00:00
|
|
|
testanimation_LDADD = $(LDADDS) -lgmodule
|
1999-12-07 18:56:46 +00:00
|
|
|
else
|
2000-04-11 07:03:25 +00:00
|
|
|
testpixbuf_LDADD = $(LDADDS) $(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)
|
2000-04-11 07:03:25 +00:00
|
|
|
testanimation_LDADD = $(LDADDS) $(GNOME_LIBS) -lgmodule
|
1999-12-17 21:42:47 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
GDK_PIXBUF_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-02-22 00:29:00 +00:00
|
|
|
gdk-pixbuf-util.c \
|
|
|
|
$(extra_sources)
|
1999-12-12 06:38:57 +00:00
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
libgdk_pixbuf_la_LDFLAGS = -version-info 2:0:0 $(GLIB_LIBS) $(GTK_LIBS)
|
|
|
|
libgdk_pixbuf_la_LIBADD = pixops/libpixops.la
|
2000-01-05 21:33:58 +00:00
|
|
|
|
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
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
noinst_HEADERS = \
|
|
|
|
gdk-pixbuf-io.h \
|
|
|
|
gdk-pixbuf-private.h
|