call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2009-12-31 00:47:24 +00:00
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
2009-12-14 23:47:39 +00:00
|
|
|
|
|
|
|
INTROSPECTION_GIRS =
|
2001-09-19 02:10:45 +00:00
|
|
|
|
2000-01-05 21:33:58 +00:00
|
|
|
SUBDIRS = pixops
|
|
|
|
|
2001-10-29 06:48:04 +00:00
|
|
|
if PLATFORM_WIN32
|
|
|
|
no_undefined = -no-undefined
|
|
|
|
endif
|
|
|
|
|
|
|
|
if OS_WIN32
|
2007-01-04 15:07:28 +00:00
|
|
|
gdk_pixbuf_def = gdk_pixbuf.def
|
2008-05-12 08:46:27 +00:00
|
|
|
gdk_pixbuf_symbols = -export-symbols $(srcdir)/gdk_pixbuf.def
|
2001-10-29 06:48:04 +00:00
|
|
|
|
2005-07-09 00:10:12 +00:00
|
|
|
gdk_pixbuf_win32_res = gdk_pixbuf-win32-res.o
|
2007-01-19 00:06:01 +00:00
|
|
|
gdk_pixbuf_win32_res_ldflag = -Wl,gdk_pixbuf-win32-res.o
|
2002-03-02 23:19:59 +00:00
|
|
|
|
2008-03-20 23:24:45 +00:00
|
|
|
libole32 = -lole32
|
|
|
|
|
2005-07-09 00:10:12 +00:00
|
|
|
gdk_pixbuf-win32-res.o : gdk_pixbuf.rc
|
|
|
|
$(WINDRES) gdk_pixbuf.rc $@
|
2002-03-02 23:19:59 +00:00
|
|
|
|
2005-06-26 18:55:49 +00:00
|
|
|
install-def-file:
|
2008-05-12 08:46:27 +00:00
|
|
|
$(INSTALL) $(srcdir)/gdk_pixbuf.def $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).def
|
2005-06-26 18:55:49 +00:00
|
|
|
uninstall-def-file:
|
2007-01-19 00:06:01 +00:00
|
|
|
-rm $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).def
|
2001-10-29 06:48:04 +00:00
|
|
|
else
|
2005-06-26 18:55:49 +00:00
|
|
|
install-def-file:
|
|
|
|
uninstall-def-file:
|
2001-10-29 06:48:04 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
if MS_LIB_AVAILABLE
|
2002-03-05 21:04:09 +00:00
|
|
|
noinst_DATA = gdk_pixbuf-$(GTK_API_VERSION).lib
|
2001-10-29 06:48:04 +00:00
|
|
|
|
2002-03-05 21:04:09 +00:00
|
|
|
gdk_pixbuf-$(GTK_API_VERSION).lib: libgdk_pixbuf-$(GTK_API_VERSION).la gdk_pixbuf.def
|
2008-08-03 23:47:52 +00:00
|
|
|
lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgdk_pixbuf-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gdk_pixbuf.def -out:$@
|
2001-10-29 06:48:04 +00:00
|
|
|
|
|
|
|
install-ms-lib:
|
2002-03-05 21:04:09 +00:00
|
|
|
$(INSTALL) gdk_pixbuf-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
|
2001-10-29 06:48:04 +00:00
|
|
|
|
|
|
|
uninstall-ms-lib:
|
2002-03-05 21:04:09 +00:00
|
|
|
-rm $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).lib
|
2001-10-29 06:48:04 +00:00
|
|
|
else
|
|
|
|
install-ms-lib:
|
|
|
|
uninstall-ms-lib:
|
|
|
|
endif
|
|
|
|
|
2008-05-27 16:51:33 +00:00
|
|
|
# This places the generated .def file in srcdir, since it is expected to be there.
|
2008-05-12 08:46:27 +00:00
|
|
|
# (The one from a tarball is)
|
2004-08-11 04:10:18 +00:00
|
|
|
gdk_pixbuf.def: gdk-pixbuf.symbols
|
2008-05-12 08:46:27 +00:00
|
|
|
(echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gdk-pixbuf.symbols | sed -e '/^$$/d' -e 's/^/ /' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gdk_pixbuf.def
|
2004-08-11 04:10:18 +00:00
|
|
|
|
|
|
|
gdk-pixbuf-alias.h: gdk-pixbuf.symbols
|
2004-11-29 05:45:38 +00:00
|
|
|
$(PERL) $(srcdir)/makegdkpixbufalias.pl < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-alias.h
|
2004-08-11 04:10:18 +00:00
|
|
|
|
2005-03-14 19:37:00 +00:00
|
|
|
gdk-pixbuf-aliasdef.c: gdk-pixbuf.symbols
|
|
|
|
$(PERL) $(srcdir)/makegdkpixbufalias.pl -def < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-aliasdef.c
|
|
|
|
|
2005-01-13 15:19:27 +00:00
|
|
|
if OS_LINUX
|
2006-09-10 06:39:16 +00:00
|
|
|
TESTS = abicheck.sh pltcheck.sh
|
2004-08-11 04:10:18 +00:00
|
|
|
endif
|
|
|
|
|
1999-07-12 20:27:50 +00:00
|
|
|
lib_LTLIBRARIES = \
|
2010-05-08 05:18:53 +00:00
|
|
|
libgdk_pixbuf-3.0.la
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
loaderdir = $(libdir)/gtk-3.0/$(GTK_BINARY_VERSION)/loaders
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2002-03-05 21:04:09 +00:00
|
|
|
module_libs = libgdk_pixbuf-$(GTK_API_VERSION).la $(GDK_PIXBUF_DEP_LIBS)
|
2001-05-16 18:51:07 +00:00
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
# The PNG loader
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
2008-03-20 23:24:45 +00:00
|
|
|
libstatic_pixbufloader_png_la_SOURCES = io-png.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_png_la_SOURCES = io-png.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_png_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_png_la_LIBADD = $(LIBPNG) $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
# The BMP loader
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_bmp_la_SOURCES = io-bmp.c
|
|
|
|
libpixbufloader_bmp_la_SOURCES = io-bmp.c
|
|
|
|
libpixbufloader_bmp_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_bmp_la_LIBADD = $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
# The WBMP loader
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_wbmp_la_SOURCES = io-wbmp.c
|
|
|
|
libpixbufloader_wbmp_la_SOURCES = io-wbmp.c
|
|
|
|
libpixbufloader_wbmp_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_wbmp_la_LIBADD = $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The GIF loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_gif_la_SOURCES = io-gif.c io-gif-animation.c io-gif-animation.h
|
2001-05-07 15:58:47 +00:00
|
|
|
libpixbufloader_gif_la_SOURCES = io-gif.c io-gif-animation.c io-gif-animation.h
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_gif_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_gif_la_LIBADD = $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The ICO loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_ico_la_SOURCES = io-ico.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ico_la_SOURCES = io-ico.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_ico_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_ico_la_LIBADD = $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2002-09-06 21:14:15 +00:00
|
|
|
#
|
|
|
|
# The ANI loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_ani_la_SOURCES = io-ani.c io-ani-animation.c io-ani-animation.h
|
2002-09-06 21:14:15 +00:00
|
|
|
libpixbufloader_ani_la_SOURCES = io-ani.c io-ani-animation.c io-ani-animation.h
|
|
|
|
libpixbufloader_ani_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_ani_la_LIBADD = $(module_libs)
|
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
#
|
|
|
|
# The JPEG loader
|
|
|
|
#
|
|
|
|
libstatic_pixbufloader_jpeg_la_SOURCES = io-jpeg.c
|
|
|
|
libpixbufloader_jpeg_la_SOURCES = io-jpeg.c
|
|
|
|
libpixbufloader_jpeg_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG) $(module_libs)
|
|
|
|
|
|
|
|
#
|
|
|
|
# The PNM loader
|
|
|
|
#
|
|
|
|
libstatic_pixbufloader_pnm_la_SOURCES = io-pnm.c
|
|
|
|
libpixbufloader_pnm_la_SOURCES = io-pnm.c
|
|
|
|
libpixbufloader_pnm_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_pnm_la_LIBADD = $(module_libs)
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
#
|
|
|
|
# The RAS loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_ras_la_SOURCES = io-ras.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_ras_la_SOURCES = io-ras.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_ras_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_ras_la_LIBADD = $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# The TIFF loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_tiff_la_SOURCES = io-tiff.c
|
2000-04-13 01:18:41 +00:00
|
|
|
libpixbufloader_tiff_la_SOURCES = io-tiff.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_tiff_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_tiff_la_LIBADD = $(LIBTIFF) $(module_libs)
|
2000-02-22 00:29:00 +00:00
|
|
|
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
# The XPM loader
|
2000-07-28 00:09:36 +00:00
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_xpm_la_SOURCES = io-xpm.c
|
|
|
|
libpixbufloader_xpm_la_SOURCES = io-xpm.c
|
|
|
|
libpixbufloader_xpm_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_xpm_la_LIBADD = $(module_libs)
|
2000-07-28 00:09:36 +00:00
|
|
|
|
2001-01-22 02:08:53 +00:00
|
|
|
#
|
|
|
|
# The XBM loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_xbm_la_SOURCES = io-xbm.c
|
2001-01-22 02:08:53 +00:00
|
|
|
libpixbufloader_xbm_la_SOURCES = io-xbm.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_xbm_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-05-16 18:51:07 +00:00
|
|
|
libpixbufloader_xbm_la_LIBADD = $(module_libs)
|
2001-01-22 02:08:53 +00:00
|
|
|
|
2001-08-21 08:51:06 +00:00
|
|
|
#
|
|
|
|
# The TGA loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_tga_la_SOURCES = io-tga.c
|
2001-08-21 08:51:06 +00:00
|
|
|
libpixbufloader_tga_la_SOURCES = io-tga.c
|
2001-10-29 06:48:04 +00:00
|
|
|
libpixbufloader_tga_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
2001-08-21 08:51:06 +00:00
|
|
|
libpixbufloader_tga_la_LIBADD = $(module_libs)
|
|
|
|
|
2007-11-20 10:26:57 +00:00
|
|
|
#
|
|
|
|
# The .icns loader
|
|
|
|
#
|
2007-11-25 22:18:52 +00:00
|
|
|
libstatic_pixbufloader_icns_la_SOURCES = io-icns.c
|
2007-11-20 10:26:57 +00:00
|
|
|
libpixbufloader_icns_la_SOURCES = io-icns.c
|
|
|
|
libpixbufloader_icns_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_icns_la_LIBADD = $(module_libs)
|
|
|
|
|
2003-05-21 20:20:07 +00:00
|
|
|
#
|
|
|
|
# The PCX loader
|
|
|
|
#
|
2006-10-11 12:41:14 +00:00
|
|
|
libstatic_pixbufloader_pcx_la_SOURCES = io-pcx.c
|
2003-05-21 20:20:07 +00:00
|
|
|
libpixbufloader_pcx_la_SOURCES = io-pcx.c
|
|
|
|
libpixbufloader_pcx_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_pcx_la_LIBADD = $(module_libs)
|
|
|
|
|
2007-11-25 18:07:01 +00:00
|
|
|
#
|
|
|
|
# The JPEG2000 loader
|
|
|
|
#
|
|
|
|
libstatic_pixbufloader_jasper_la_SOURCES = io-jasper.c
|
|
|
|
libpixbufloader_jasper_la_SOURCES = io-jasper.c
|
|
|
|
libpixbufloader_jasper_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_jasper_la_LIBADD = $(LIBJASPER) $(module_libs)
|
|
|
|
|
2009-10-25 21:03:19 +00:00
|
|
|
#
|
|
|
|
# The QTIF loader
|
|
|
|
#
|
|
|
|
libstatic_pixbufloader_qtif_la_SOURCES = io-qtif.c
|
|
|
|
libpixbufloader_qtif_la_SOURCES = io-qtif.c
|
|
|
|
libpixbufloader_qtif_la_LDFLAGS = -avoid-version -module $(no_undefined)
|
|
|
|
libpixbufloader_qtif_la_LIBADD = $(module_libs)
|
|
|
|
|
2008-03-20 23:24:45 +00:00
|
|
|
if BUILD_GDIPLUS_LOADERS
|
|
|
|
|
|
|
|
if INCLUDE_GDIPLUS
|
|
|
|
|
|
|
|
# When building the GDI+ loader statically, we put the "common" objects
|
|
|
|
# only in one of the archives to avoid duplicate definitions
|
|
|
|
|
|
|
|
STATIC_GDIPLUS_LIBS = \
|
|
|
|
libstatic-pixbufloader-gdip-ico.la \
|
|
|
|
libstatic-pixbufloader-gdip-wmf.la \
|
|
|
|
libstatic-pixbufloader-gdip-emf.la \
|
|
|
|
libstatic-pixbufloader-gdip-bmp.la \
|
|
|
|
libstatic-pixbufloader-gdip-gif.la \
|
|
|
|
libstatic-pixbufloader-gdip-jpeg.la \
|
|
|
|
libstatic-pixbufloader-gdip-tiff.la
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_ico_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-ico.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_wmf_la_SOURCES = \
|
|
|
|
io-gdip-wmf.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_emf_la_SOURCES = \
|
|
|
|
io-gdip-emf.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_bmp_la_SOURCES = \
|
|
|
|
io-gdip-bmp.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_gif_la_SOURCES = \
|
|
|
|
io-gdip-gif.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_jpeg_la_SOURCES = \
|
|
|
|
io-gdip-jpeg.c
|
|
|
|
|
|
|
|
libstatic_pixbufloader_gdip_tiff_la_SOURCES = \
|
|
|
|
io-gdip-tiff.c
|
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
else
|
2008-03-20 23:24:45 +00:00
|
|
|
|
|
|
|
GDIPLUS_LIBS = \
|
|
|
|
libpixbufloader-gdip-ico.la \
|
|
|
|
libpixbufloader-gdip-wmf.la \
|
|
|
|
libpixbufloader-gdip-emf.la \
|
|
|
|
libpixbufloader-gdip-bmp.la \
|
|
|
|
libpixbufloader-gdip-gif.la \
|
|
|
|
libpixbufloader-gdip-jpeg.la \
|
|
|
|
libpixbufloader-gdip-tiff.la
|
|
|
|
|
|
|
|
libpixbufloader_gdip_ico_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_ico_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-ico.c
|
|
|
|
libpixbufloader_gdip_ico_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_wmf_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_wmf_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-wmf.c
|
|
|
|
libpixbufloader_gdip_wmf_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_emf_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_emf_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-emf.c
|
|
|
|
libpixbufloader_gdip_emf_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_bmp_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_bmp_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-bmp.c
|
|
|
|
libpixbufloader_gdip_bmp_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_gif_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_gif_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-gif.c
|
|
|
|
libpixbufloader_gdip_gif_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_jpeg_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_jpeg_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-jpeg.c
|
|
|
|
libpixbufloader_gdip_jpeg_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
|
|
|
libpixbufloader_gdip_tiff_la_LDFLAGS = -avoid-version -module -no-undefined
|
|
|
|
libpixbufloader_gdip_tiff_la_SOURCES = \
|
|
|
|
io-gdip-native.h \
|
|
|
|
io-gdip-propertytags.h \
|
|
|
|
io-gdip-utils.h \
|
|
|
|
io-gdip-utils.c \
|
|
|
|
io-gdip-animation.c \
|
|
|
|
io-gdip-animation.h \
|
|
|
|
io-gdip-tiff.c
|
|
|
|
libpixbufloader_gdip_tiff_la_LIBADD = $(module_libs) $(libole32)
|
|
|
|
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2008-03-20 23:24:45 +00:00
|
|
|
else
|
|
|
|
|
|
|
|
# Loaders that aren't built if we build the GDI+ loader
|
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_BMP
|
|
|
|
STATIC_BMP_LIB = libstatic-pixbufloader-bmp.la
|
|
|
|
else
|
|
|
|
BMP_LIB = libpixbufloader-bmp.la
|
1999-07-26 06:39:39 +00:00
|
|
|
endif
|
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_GIF
|
|
|
|
STATIC_GIF_LIB = libstatic-pixbufloader-gif.la
|
|
|
|
else
|
2000-04-13 01:18:41 +00:00
|
|
|
GIF_LIB = libpixbufloader-gif.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
1999-07-26 06:39:39 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_ICO
|
|
|
|
STATIC_ICO_LIB = libstatic-pixbufloader-ico.la
|
|
|
|
else
|
2000-04-13 01:18:41 +00:00
|
|
|
ICO_LIB = libpixbufloader-ico.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
1999-11-29 16:49:39 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if HAVE_JPEG
|
|
|
|
if INCLUDE_JPEG
|
|
|
|
STATIC_JPEG_LIB = libstatic-pixbufloader-jpeg.la
|
|
|
|
else
|
|
|
|
JPEG_LIB = libpixbufloader-jpeg.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2008-03-20 23:24:45 +00:00
|
|
|
if HAVE_TIFF
|
|
|
|
if INCLUDE_TIFF
|
|
|
|
STATIC_TIFF_LIB = libstatic-pixbufloader-tiff.la
|
|
|
|
else
|
|
|
|
TIFF_LIB = libpixbufloader-tiff.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
# End of loaders not built if building GDI+ loader
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_PNG
|
|
|
|
if INCLUDE_PNG
|
|
|
|
STATIC_PNG_LIB = libstatic-pixbufloader-png.la
|
|
|
|
else
|
|
|
|
PNG_LIB = libpixbufloader-png.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
if INCLUDE_WBMP
|
|
|
|
STATIC_WBMP_LIB = libstatic-pixbufloader-wbmp.la
|
|
|
|
else
|
|
|
|
WBMP_LIB = libpixbufloader-wbmp.la
|
|
|
|
endif
|
|
|
|
|
|
|
|
if INCLUDE_ANI
|
|
|
|
STATIC_ANI_LIB = libstatic-pixbufloader-ani.la
|
|
|
|
else
|
|
|
|
ANI_LIB = libpixbufloader-ani.la
|
|
|
|
endif
|
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_PNM
|
|
|
|
STATIC_PNM_LIB = libstatic-pixbufloader-pnm.la
|
|
|
|
else
|
|
|
|
PNM_LIB = libpixbufloader-pnm.la
|
|
|
|
endif
|
2002-09-06 21:14:15 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_RAS
|
|
|
|
STATIC_RAS_LIB = libstatic-pixbufloader-ras.la
|
|
|
|
else
|
2000-04-13 01:18:41 +00:00
|
|
|
RAS_LIB = libpixbufloader-ras.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
1999-11-05 20:37:08 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_XPM
|
|
|
|
STATIC_XPM_LIB = libstatic-pixbufloader-xpm.la
|
|
|
|
else
|
2000-04-13 01:18:41 +00:00
|
|
|
XPM_LIB = libpixbufloader-xpm.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
2000-07-28 00:09:36 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_XBM
|
|
|
|
STATIC_XBM_LIB = libstatic-pixbufloader-xbm.la
|
|
|
|
else
|
2001-01-22 02:08:53 +00:00
|
|
|
XBM_LIB = libpixbufloader-xbm.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
2001-01-22 02:08:53 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_TGA
|
|
|
|
STATIC_TGA_LIB = libstatic-pixbufloader-tga.la
|
|
|
|
else
|
2001-08-21 08:51:06 +00:00
|
|
|
TGA_LIB = libpixbufloader-tga.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
2001-08-21 08:51:06 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
if INCLUDE_PCX
|
|
|
|
STATIC_PCX_LIB = libstatic-pixbufloader-pcx.la
|
|
|
|
else
|
2003-05-21 20:20:07 +00:00
|
|
|
PCX_LIB = libpixbufloader-pcx.la
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
2003-05-21 20:20:07 +00:00
|
|
|
|
2007-11-20 10:26:57 +00:00
|
|
|
if INCLUDE_ICNS
|
2007-11-25 22:18:52 +00:00
|
|
|
STATIC_ICNS_LIB = libstatic-pixbufloader-icns.la
|
2007-11-20 10:26:57 +00:00
|
|
|
else
|
|
|
|
ICNS_LIB = libpixbufloader-icns.la
|
|
|
|
endif
|
|
|
|
|
2007-11-25 18:07:01 +00:00
|
|
|
if HAVE_JASPER
|
|
|
|
if INCLUDE_JASPER
|
|
|
|
STATIC_JASPER_LIB = libstatic-pixbufloader-jasper.la
|
|
|
|
else
|
|
|
|
JASPER_LIB = libpixbufloader-jasper.la
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-10-25 21:03:19 +00:00
|
|
|
if INCLUDE_QTIF
|
|
|
|
STATIC_QTIF_LIB = libstatic-pixbufloader-qtif.la
|
|
|
|
else
|
|
|
|
QTIF_LIB = libpixbufloader-qtif.la
|
|
|
|
endif
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
if BUILD_DYNAMIC_MODULES
|
|
|
|
|
2000-07-14 20:08:10 +00:00
|
|
|
loader_LTLIBRARIES = \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(PNG_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(BMP_LIB) \
|
|
|
|
$(WBMP_LIB) \
|
1999-07-26 06:39:39 +00:00
|
|
|
$(GIF_LIB) \
|
1999-11-29 16:49:39 +00:00
|
|
|
$(ICO_LIB) \
|
2002-09-06 21:14:15 +00:00
|
|
|
$(ANI_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(JPEG_LIB) \
|
|
|
|
$(PNM_LIB) \
|
1999-11-05 20:37:08 +00:00
|
|
|
$(RAS_LIB) \
|
1999-11-09 23:51:35 +00:00
|
|
|
$(TIFF_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(XPM_LIB) \
|
2001-08-21 08:51:06 +00:00
|
|
|
$(XBM_LIB) \
|
2003-05-21 20:20:07 +00:00
|
|
|
$(TGA_LIB) \
|
2007-11-20 10:26:57 +00:00
|
|
|
$(ICNS_LIB) \
|
2007-11-25 18:07:01 +00:00
|
|
|
$(PCX_LIB) \
|
2008-03-20 23:24:45 +00:00
|
|
|
$(JASPER_LIB) \
|
2009-10-25 21:03:19 +00:00
|
|
|
$(QTIF_LIB) \
|
2008-03-20 23:24:45 +00:00
|
|
|
$(GDIPLUS_LIBS)
|
1999-07-12 20:27:50 +00:00
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2006-10-11 12:41:14 +00:00
|
|
|
endif
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2002-05-07 12:59:18 +00:00
|
|
|
noinst_LTLIBRARIES = \
|
|
|
|
$(STATIC_PNG_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(STATIC_BMP_LIB) \
|
|
|
|
$(STATIC_WBMP_LIB) \
|
2002-05-07 12:59:18 +00:00
|
|
|
$(STATIC_GIF_LIB) \
|
|
|
|
$(STATIC_ICO_LIB) \
|
2002-09-06 21:14:15 +00:00
|
|
|
$(STATIC_ANI_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(STATIC_JPEG_LIB) \
|
|
|
|
$(STATIC_PNM_LIB) \
|
2002-05-07 12:59:18 +00:00
|
|
|
$(STATIC_RAS_LIB) \
|
|
|
|
$(STATIC_TIFF_LIB) \
|
2006-10-11 12:41:14 +00:00
|
|
|
$(STATIC_XPM_LIB) \
|
2002-05-07 12:59:18 +00:00
|
|
|
$(STATIC_XBM_LIB) \
|
2003-05-21 20:20:07 +00:00
|
|
|
$(STATIC_TGA_LIB) \
|
2007-11-20 10:26:57 +00:00
|
|
|
$(STATIC_ICNS_LIB) \
|
2007-11-25 18:07:01 +00:00
|
|
|
$(STATIC_PCX_LIB) \
|
2008-03-20 23:24:45 +00:00
|
|
|
$(STATIC_JASPER_LIB) \
|
2009-10-25 21:03:19 +00:00
|
|
|
$(STATIC_QTIF_LIB) \
|
2008-03-20 23:24:45 +00:00
|
|
|
$(STATIC_GDIPLUS_LIBS)
|
2001-01-09 09:53:28 +00:00
|
|
|
|
|
|
|
builtin_objs = @INCLUDED_LOADER_OBJ@
|
|
|
|
|
2000-02-22 00:29:00 +00:00
|
|
|
|
2002-03-05 21:04:09 +00:00
|
|
|
DEPS = libgdk_pixbuf-$(GTK_API_VERSION).la
|
2003-05-06 21:55:41 +00:00
|
|
|
INCLUDES = \
|
2001-12-12 22:20:36 +00:00
|
|
|
-DG_LOG_DOMAIN=\"GdkPixbuf\" \
|
2008-05-27 12:05:14 +00:00
|
|
|
-DGDK_PIXBUF_COMPILATION \
|
2001-06-26 20:56:32 +00:00
|
|
|
-I$(top_srcdir) -I$(top_builddir) \
|
2001-05-03 20:11:14 +00:00
|
|
|
-I$(top_srcdir)/gdk-pixbuf \
|
|
|
|
-I$(top_builddir)/gdk-pixbuf \
|
2002-10-03 22:39:51 +00:00
|
|
|
-DGTK_SYSCONFDIR=\"$(sysconfdir)\" \
|
2003-05-06 21:55:41 +00:00
|
|
|
-DGTK_VERSION=\"$(GTK_VERSION)\" \
|
|
|
|
-DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\" \
|
2004-03-15 13:07:04 +00:00
|
|
|
-DGTK_PREFIX=\"$(prefix)\" \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(INCLUDED_LOADER_DEFINE) \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GDK_PIXBUF_DEP_CFLAGS) \
|
|
|
|
-DGDK_PIXBUF_ENABLE_BACKEND
|
2001-06-26 20:56:32 +00:00
|
|
|
|
2001-06-01 23:05:46 +00:00
|
|
|
AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(loaderdir)\"" "-DBUILT_MODULES_DIR=\"$(srcdir)/.libs\""
|
2008-01-16 13:30:06 +00:00
|
|
|
LDADDS = libgdk_pixbuf-$(GTK_API_VERSION).la $(GDK_PIXBUF_DEP_LIBS)
|
2000-01-10 21:28:03 +00:00
|
|
|
|
2002-05-05 00:59:42 +00:00
|
|
|
noinst_PROGRAMS = test-gdk-pixbuf
|
2000-07-22 15:21:31 +00:00
|
|
|
test_gdk_pixbuf_LDADD = $(LDADDS)
|
1999-12-17 21:42:47 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
bin_PROGRAMS = gdk-pixbuf-csource-3.0 gdk-pixbuf-query-loaders-3.0
|
|
|
|
gdk_pixbuf_csource_3_0_SOURCES = gdk-pixbuf-csource.c
|
|
|
|
gdk_pixbuf_csource_3_0_LDADD = $(LDADDS)
|
2001-06-01 23:05:46 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
gdk_pixbuf_query_loaders_3_0_DEPENDENCIES = $(DEPS)
|
|
|
|
gdk_pixbuf_query_loaders_3_0_LDADD = $(LDADDS)
|
2002-10-03 22:39:51 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
gdk_pixbuf_query_loaders_3_0_SOURCES = queryloaders.c
|
2002-10-03 22:39:51 +00:00
|
|
|
|
|
|
|
|
1999-01-05 21:27:07 +00:00
|
|
|
#
|
|
|
|
# The GdkPixBuf library
|
|
|
|
#
|
2010-05-08 05:18:53 +00:00
|
|
|
libgdk_pixbufincludedir = $(includedir)/gtk-3.0/gdk-pixbuf
|
|
|
|
libgdk_pixbuf_3_0_la_SOURCES = \
|
2005-05-25 19:33:35 +00:00
|
|
|
gdk-pixbuf-i18n.h \
|
|
|
|
gdk-pixbuf.c \
|
|
|
|
gdk-pixbuf-animation.c \
|
|
|
|
gdk-pixbuf-data.c \
|
|
|
|
gdk-pixbuf-io.c \
|
|
|
|
gdk-pixbuf-loader.c \
|
|
|
|
gdk-pixbuf-scale.c \
|
|
|
|
gdk-pixbuf-simple-anim.c \
|
2007-03-08 16:21:09 +00:00
|
|
|
gdk-pixbuf-scaled-anim.c \
|
2005-05-25 19:33:35 +00:00
|
|
|
gdk-pixbuf-util.c \
|
|
|
|
gdk-pixdata.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk-pixbuf-enum-types.c
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
libgdk_pixbuf_3_0_la_LDFLAGS = \
|
2005-07-09 00:10:12 +00:00
|
|
|
$(gdk_pixbuf_win32_res_ldflag) \
|
2003-05-06 21:55:41 +00:00
|
|
|
-version-info $(LT_VERSION_INFO) \
|
|
|
|
$(LIBTOOL_EXPORT_OPTIONS) \
|
|
|
|
$(no_undefined) \
|
|
|
|
$(gdk_pixbuf_symbols)
|
|
|
|
|
2001-06-26 20:56:32 +00:00
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
libgdk_pixbuf_3_0_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(GDK_PIXBUF_DEP_LIBS) $(libole32)
|
|
|
|
libgdk_pixbuf_3_0_la_DEPENDENCIES = pixops/libpixops.la $(builtin_objs) $(gdk_pixbuf_def) $(gdk_pixbuf_win32_res)
|
2000-01-05 21:33:58 +00:00
|
|
|
|
2001-09-19 04:34:55 +00:00
|
|
|
gdk_pixbuf_headers = \
|
|
|
|
gdk-pixbuf.h \
|
2004-06-20 05:11:57 +00:00
|
|
|
gdk-pixbuf-core.h \
|
|
|
|
gdk-pixbuf-transform.h \
|
2002-10-03 22:39:51 +00:00
|
|
|
gdk-pixbuf-io.h \
|
|
|
|
gdk-pixbuf-animation.h \
|
2005-05-25 19:33:35 +00:00
|
|
|
gdk-pixbuf-simple-anim.h \
|
2001-09-19 04:34:55 +00:00
|
|
|
gdk-pixbuf-loader.h
|
2001-09-16 23:54:37 +00:00
|
|
|
|
2001-09-19 04:34:55 +00:00
|
|
|
libgdk_pixbufinclude_HEADERS = \
|
2001-09-16 23:54:37 +00:00
|
|
|
$(gdk_pixbuf_headers) \
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk-pixbuf-enum-types.h \
|
|
|
|
gdk-pixbuf-marshal.h \
|
2001-09-19 04:34:55 +00:00
|
|
|
gdk-pixbuf-features.h \
|
2001-06-26 20:56:32 +00:00
|
|
|
gdk-pixdata.h
|
1999-01-05 21:27:07 +00:00
|
|
|
|
2000-04-11 07:03:25 +00:00
|
|
|
noinst_HEADERS = \
|
2004-08-11 04:10:18 +00:00
|
|
|
gdk-pixbuf-alias.h \
|
2005-06-20 22:06:27 +00:00
|
|
|
gdk-pixbuf-private.h \
|
2007-03-08 16:21:09 +00:00
|
|
|
gdk-pixbuf-scaled-anim.h \
|
2005-06-20 22:06:27 +00:00
|
|
|
xpm-color-table.h
|
2000-07-22 23:50:19 +00:00
|
|
|
|
2004-08-11 04:10:18 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
gdk-pixbuf-alias.h \
|
2005-03-14 19:37:00 +00:00
|
|
|
gdk-pixbuf-aliasdef.c \
|
2004-08-11 04:10:18 +00:00
|
|
|
gdk-pixbuf-enum-types.h \
|
|
|
|
gdk-pixbuf-enum-types.c \
|
|
|
|
gdk-pixbuf-marshal.h \
|
2008-06-02 04:58:36 +00:00
|
|
|
gdk-pixbuf-marshal.c \
|
|
|
|
gdk-pixbuf-features.h
|
2001-09-16 23:54:37 +00:00
|
|
|
|
2001-09-19 04:34:55 +00:00
|
|
|
CLEANFILES =
|
2004-08-11 04:10:18 +00:00
|
|
|
MAINTAINERCLEANFILES = \
|
2005-06-20 22:06:27 +00:00
|
|
|
gdk-pixbuf-aliasdef.c \
|
2004-08-11 04:10:18 +00:00
|
|
|
gdk-pixbuf-enum-types.h \
|
|
|
|
gdk-pixbuf-enum-types.c \
|
|
|
|
gdk-pixbuf-marshal.h \
|
|
|
|
gdk-pixbuf-marshal.c \
|
|
|
|
gdk-pixbuf.loaders
|
2001-09-19 04:34:55 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# gdk-pixbuf-enum-types.h
|
|
|
|
#
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk-pixbuf-enum-types.h: s-enum-types-h
|
2001-09-19 02:10:45 +00:00
|
|
|
@true
|
2001-09-19 04:34:55 +00:00
|
|
|
|
2007-11-26 17:32:19 +00:00
|
|
|
s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) gdk-pixbuf-enum-types.h.template
|
|
|
|
( cd $(srcdir) && $(GLIB_MKENUMS) --template gdk-pixbuf-enum-types.h.template \
|
2001-09-16 23:54:37 +00:00
|
|
|
$(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \
|
2003-05-06 21:55:41 +00:00
|
|
|
&& (cmp -s tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h || cp tmp-gdk-pixbuf-enum-types.h gdk-pixbuf-enum-types.h ) \
|
2001-09-16 23:54:37 +00:00
|
|
|
&& rm -f tmp-gdk-pixbuf-enum-types.h \
|
|
|
|
&& echo timestamp > $(@F)
|
2001-09-19 04:34:55 +00:00
|
|
|
|
2001-09-19 02:10:45 +00:00
|
|
|
CLEANFILES += tmp-gdk-pixbuf-enum-types.h
|
2001-09-19 04:34:55 +00:00
|
|
|
MAINTAINERCLEANFILES += s-enum-types-h
|
|
|
|
|
|
|
|
#
|
|
|
|
# gdk-pixbuf-enum-types.c
|
|
|
|
#
|
2007-11-26 17:32:19 +00:00
|
|
|
gdk-pixbuf-enum-types.c: @REBUILD@ $(gdk_pixbuf_headers) gdk-pixbuf-enum-types.c.template
|
|
|
|
(cd $(srcdir) && $(GLIB_MKENUMS) --template gdk-pixbuf-enum-types.c.template \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(gdk_pixbuf_headers)) > gdk-pixbuf-enum-types.c
|
2001-09-19 04:34:55 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# gdk-pixbuf-marshal.h
|
|
|
|
#
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
|
2001-09-16 23:54:37 +00:00
|
|
|
@true
|
2001-09-19 04:34:55 +00:00
|
|
|
|
2001-09-19 02:10:45 +00:00
|
|
|
stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
2008-08-12 15:04:55 +00:00
|
|
|
echo "#if !defined(GDK_PIXBUF_DISABLE_DEPRECATED) || defined(GDK_PIXBUF_COMPILATION)" > xgen-gmh \
|
2008-05-02 14:23:12 +00:00
|
|
|
&& $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
|
2008-08-12 15:04:55 +00:00
|
|
|
&& echo "#endif /* !GDK_PIXBUF_DISABLE_DEPRECATED || GDK_PIXBUF_COMPILATION */" >> xgen-gmh \
|
2003-05-06 21:55:41 +00:00
|
|
|
&& (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
|
|
|
|
&& rm -f xgen-gmh xgen-gmh~ \
|
2001-09-16 23:54:37 +00:00
|
|
|
&& echo timestamp > $(@F)
|
2001-09-19 04:34:55 +00:00
|
|
|
|
2001-09-19 02:10:45 +00:00
|
|
|
CLEANFILES += xgen-gmh
|
2001-09-19 04:34:55 +00:00
|
|
|
MAINTAINERCLEANFILES += stamp-gdk-pixbuf-marshal.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# gdk-pixbuf-marshal.c
|
|
|
|
#
|
2001-09-19 02:10:45 +00:00
|
|
|
$(srcdir)/gdk-pixbuf-marshal.c: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
|
2005-03-14 19:37:00 +00:00
|
|
|
(echo -e "#include <gdk-pixbuf/gdk-pixbuf.h>\n#include \"gdk-pixbuf-alias.h\"" | $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --body ) >> xgen-gmc \
|
2003-05-06 21:55:41 +00:00
|
|
|
&& cp xgen-gmc gdk-pixbuf-marshal.c \
|
2001-09-19 02:10:45 +00:00
|
|
|
&& rm -f xgen-gmc xgen-gmc~
|
2001-09-19 04:34:55 +00:00
|
|
|
|
2001-09-19 02:10:45 +00:00
|
|
|
CLEANFILES += xgen-gmc
|
2001-09-16 23:54:37 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
# if srcdir!=builddir, clean out maintainer-clean files from builddir
|
|
|
|
# this allows dist to pass.
|
|
|
|
distclean-local:
|
|
|
|
if test $(srcdir) != .; then \
|
|
|
|
rm -f $(MAINTAINERCLEANFILES); \
|
|
|
|
fi
|
|
|
|
|
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
EXTRA_DIST += \
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk-pixbuf-csource.1 \
|
|
|
|
makefile.msc \
|
2004-08-11 04:10:18 +00:00
|
|
|
gdk-pixbuf.symbols \
|
|
|
|
makegdkpixbufalias.pl \
|
|
|
|
abicheck.sh \
|
2006-10-02 18:02:15 +00:00
|
|
|
pltcheck.sh \
|
2003-05-06 21:55:41 +00:00
|
|
|
gdk_pixbuf.def \
|
|
|
|
gdk_pixbuf.rc \
|
|
|
|
gdk-pixbuf-marshal.c \
|
|
|
|
gdk-pixbuf-marshal.list \
|
2007-11-26 17:32:19 +00:00
|
|
|
gdk-pixbuf-enum-types.c.template \
|
|
|
|
gdk-pixbuf-enum-types.h.template \
|
2005-06-20 22:06:27 +00:00
|
|
|
gen-color-table.pl
|
2001-10-29 06:48:04 +00:00
|
|
|
|
2009-08-18 18:34:21 +00:00
|
|
|
if HAVE_INTROSPECTION
|
|
|
|
|
2010-05-08 05:18:53 +00:00
|
|
|
GdkPixbuf-3.0.gir: libgdk_pixbuf-3.0.la Makefile
|
|
|
|
GdkPixbuf_3_0_gir_SCANNERFLAGS = --strip-prefix=Gdk
|
|
|
|
GdkPixbuf_3_0_gir_INCLUDES = GModule-2.0 Gio-2.0
|
|
|
|
GdkPixbuf_3_0_gir_LIBS = libgdk_pixbuf-3.0.la
|
|
|
|
GdkPixbuf_3_0_gir_CFLAGS = $(INCLUDES)
|
|
|
|
GdkPixbuf_3_0_gir_FILES = \
|
2009-12-14 23:47:39 +00:00
|
|
|
$(addprefix $(srcdir)/,$(libgdk_pixbufinclude_HEADERS)) \
|
2010-05-08 05:18:53 +00:00
|
|
|
$(addprefix $(srcdir)/,$(libgdk_pixbuf_3_0_la_SOURCES))
|
|
|
|
INTROSPECTION_GIRS += GdkPixbuf-3.0.gir
|
2009-08-18 18:34:21 +00:00
|
|
|
|
2009-12-31 00:19:13 +00:00
|
|
|
girdir = $(datadir)/gir-1.0
|
2009-12-14 23:47:39 +00:00
|
|
|
dist_gir_DATA = $(INTROSPECTION_GIRS)
|
2009-08-18 18:34:21 +00:00
|
|
|
|
2009-12-31 00:19:13 +00:00
|
|
|
typelibsdir = $(libdir)/girepository-1.0
|
2009-12-14 23:47:39 +00:00
|
|
|
typelibs_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
2009-08-18 18:34:21 +00:00
|
|
|
|
2009-12-14 23:47:39 +00:00
|
|
|
CLEANFILES += $(dist_gir_DATA) $(typelibs_DATA)
|
2009-08-18 18:34:21 +00:00
|
|
|
endif
|
|
|
|
|
2002-10-03 22:39:51 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
RUN_QUERY_LOADER_TEST=false
|
|
|
|
else
|
|
|
|
RUN_QUERY_LOADER_TEST=test -z "$(DESTDIR)"
|
|
|
|
endif
|
|
|
|
|
|
|
|
# Running this if cross compiling or if DESTDIR is set is going to
|
|
|
|
# not work at all, so skip it
|
2003-11-18 00:26:51 +00:00
|
|
|
# We use install-data-hook here to workaround a bug in automake and/or libtool
|
|
|
|
# that makes the install target for the loader libraries a dependency on
|
|
|
|
# install-data-am, and not install-exec-am. We need to ensure this gets run
|
|
|
|
# after the libraries are installed in their final locations.
|
2005-06-26 18:55:49 +00:00
|
|
|
install-data-hook: install-ms-lib install-def-file
|
2002-10-03 22:39:51 +00:00
|
|
|
@if $(RUN_QUERY_LOADER_TEST) ; then \
|
2010-05-08 05:18:53 +00:00
|
|
|
$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-3.0 ; \
|
|
|
|
$(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders-3.0 > $(DESTDIR)$(sysconfdir)/gtk-3.0/gdk-pixbuf.loaders ; \
|
2002-10-03 22:39:51 +00:00
|
|
|
else \
|
|
|
|
echo "***" ; \
|
|
|
|
echo "*** Warning: gdk-pixbuf.loaders not built" ; \
|
|
|
|
echo "***" ; \
|
2003-11-09 23:18:44 +00:00
|
|
|
echo "*** Generate this file manually on host" ; \
|
2010-05-08 05:18:53 +00:00
|
|
|
echo "*** system using gdk-pixbuf-query-loaders-3.0" ; \
|
2002-10-03 22:39:51 +00:00
|
|
|
echo "***" ; \
|
|
|
|
fi
|
|
|
|
|
2005-06-26 18:55:49 +00:00
|
|
|
uninstall-local: uninstall-ms-lib uninstall-def-file
|
2010-05-08 05:18:53 +00:00
|
|
|
rm -f $(DESTDIR)$(sysconfdir)/gtk-3.0/gdk-pixbuf.loaders
|
2003-05-06 21:55:41 +00:00
|
|
|
|
2003-01-27 23:17:51 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
else
|
2002-10-03 22:39:51 +00:00
|
|
|
all-local: gdk-pixbuf.loaders
|
2003-01-27 23:17:51 +00:00
|
|
|
endif
|
2002-10-03 22:39:51 +00:00
|
|
|
|
2003-12-22 00:37:04 +00:00
|
|
|
if BUILD_DYNAMIC_MODULES
|
2010-05-08 05:18:53 +00:00
|
|
|
gdk-pixbuf.loaders: $(loader_LTLIBRARIES) gdk-pixbuf-query-loaders-3.0$(EXEEXT)
|
2003-01-27 23:17:51 +00:00
|
|
|
LOADERS=`echo libpixbufloader-*.la` ; \
|
|
|
|
if test "x$$LOADERS" != 'xlibpixbufloader-*.la' ; then \
|
2002-10-03 22:39:51 +00:00
|
|
|
echo "Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf."; \
|
2010-05-08 05:18:53 +00:00
|
|
|
$(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders-3.0 $$LOADERS > ./gdk-pixbuf.loaders ;\
|
2002-10-03 22:39:51 +00:00
|
|
|
else \
|
|
|
|
echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
|
|
|
|
touch gdk-pixbuf.loaders; \
|
|
|
|
fi
|
2003-12-22 00:37:04 +00:00
|
|
|
else
|
|
|
|
gdk-pixbuf.loaders:
|
|
|
|
echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
|
|
|
|
touch gdk-pixbuf.loaders;
|
|
|
|
endif
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|