]> Pileus Git - ~andy/gtk/blob - gdk-pixbuf/Makefile.am
Make PLT-reduction work with gcc4, and don't include everything in
[~andy/gtk] / gdk-pixbuf / Makefile.am
1
2 SUBDIRS = pixops
3
4 if PLATFORM_WIN32
5 no_undefined = -no-undefined
6 endif
7
8 if OS_WIN32
9 gdk_pixbuf_def = gdk_pixbuf.def
10 gdk_pixbuf_symbols = -export-symbols $(gdk_pixbuf_def)
11
12 gdk_pixbuf_win32res_lo = gdk_pixbuf-win32res.lo
13
14 gdk_pixbuf-win32res.lo : gdk_pixbuf.rc
15         $(top_srcdir)/build/win32/lt-compile-resource gdk_pixbuf.rc gdk_pixbuf-win32res.lo
16
17 install-libtool-import-lib:
18 #       Don't put the binary compatibility entries in the import lib!
19 #       (Unfortunately the GNU linker doesn't yet understand the PRIVATE
20 #       directive in .def files.)
21         for entry in `grep PRIVATE gdk_pixbuf.def | sed -e 's/PRIVATE//'`; do \
22           file=`nm -A .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a | tr -d '\r' | grep -E $$entry'$$' | head -n 1 | cut -d: -f2`; \
23           ar d .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a $$file; \
24         done
25         $(INSTALL) .libs/libgdk_pixbuf-$(GTK_API_VERSION).dll.a $(DESTDIR)$(libdir)
26 uninstall-libtool-import-lib:
27         -rm $(DESTDIR)$(libdir)/libgdk_pixbuf-$(GTK_API_VERSION).dll.a
28 else
29 install-libtool-import-lib:
30 uninstall-libtool-import-lib:
31 endif
32
33 if MS_LIB_AVAILABLE
34 noinst_DATA = gdk_pixbuf-$(GTK_API_VERSION).lib
35
36 gdk_pixbuf-$(GTK_API_VERSION).lib: libgdk_pixbuf-$(GTK_API_VERSION).la gdk_pixbuf.def
37         lib -name:libgdk_pixbuf-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gdk_pixbuf.def -out:$@
38
39 install-ms-lib:
40         $(INSTALL) gdk_pixbuf-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
41
42 uninstall-ms-lib:
43         -rm $(DESTDIR)$(libdir)/gdk_pixbuf-$(GTK_API_VERSION).lib
44 else
45 install-ms-lib:
46 uninstall-ms-lib:
47 endif
48
49 gdk_pixbuf.def: gdk-pixbuf.symbols
50         (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') > gdk_pixbuf.def
51
52 gdk-pixbuf-alias.h: gdk-pixbuf.symbols
53          $(PERL) $(srcdir)/makegdkpixbufalias.pl < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-alias.h
54
55 gdk-pixbuf-aliasdef.c: gdk-pixbuf.symbols
56          $(PERL) $(srcdir)/makegdkpixbufalias.pl -def < $(srcdir)/gdk-pixbuf.symbols > gdk-pixbuf-aliasdef.c
57
58 if OS_LINUX
59 TESTS = abicheck.sh
60 endif
61
62 lib_LTLIBRARIES =               \
63         libgdk_pixbuf-2.0.la
64
65 loaderdir = $(libdir)/gtk-2.0/$(GTK_BINARY_VERSION)/loaders
66
67 module_libs = libgdk_pixbuf-$(GTK_API_VERSION).la $(GDK_PIXBUF_DEP_LIBS)
68
69 #
70 # The PNG plugin.
71 #
72 libpixbufloader_png_la_SOURCES = io-png.c
73 libpixbufloader_png_la_LDFLAGS = -avoid-version -module $(no_undefined)
74 libpixbufloader_png_la_LIBADD = $(LIBPNG) $(module_libs)
75 libpixbufloader_static_png_la_SOURCES = io-png.c
76
77 #
78 # The JPEG loader
79 #
80 libpixbufloader_static_jpeg_la_SOURCES = io-jpeg.c
81 libpixbufloader_jpeg_la_SOURCES = io-jpeg.c
82 libpixbufloader_jpeg_la_LDFLAGS = -avoid-version -module $(no_undefined)
83 libpixbufloader_jpeg_la_LIBADD = $(LIBJPEG) $(module_libs)
84
85 #
86 # The XPM loader
87 #
88 libpixbufloader_static_xpm_la_SOURCES = io-xpm.c
89 libpixbufloader_xpm_la_SOURCES = io-xpm.c
90 libpixbufloader_xpm_la_LDFLAGS = -avoid-version -module $(no_undefined)
91 libpixbufloader_xpm_la_LIBADD = $(module_libs)
92
93 #
94 # The GIF loader
95 #
96 libpixbufloader_static_gif_la_SOURCES = io-gif.c io-gif-animation.c io-gif-animation.h
97 libpixbufloader_gif_la_SOURCES = io-gif.c io-gif-animation.c io-gif-animation.h
98 libpixbufloader_gif_la_LDFLAGS = -avoid-version -module $(no_undefined)
99 libpixbufloader_gif_la_LIBADD = $(module_libs)
100
101 #
102 # The ICO loader
103 #
104 libpixbufloader_static_ico_la_SOURCES = io-ico.c
105 libpixbufloader_ico_la_SOURCES = io-ico.c
106 libpixbufloader_ico_la_LDFLAGS = -avoid-version -module $(no_undefined)
107 libpixbufloader_ico_la_LIBADD = $(module_libs)
108
109 #
110 # The ANI loader
111 #
112 libpixbufloader_static_ani_la_SOURCES = io-ani.c io-ani-animation.c io-ani-animation.h
113 libpixbufloader_ani_la_SOURCES = io-ani.c io-ani-animation.c io-ani-animation.h
114 libpixbufloader_ani_la_LDFLAGS = -avoid-version -module $(no_undefined)
115 libpixbufloader_ani_la_LIBADD = $(module_libs)
116
117 #
118 # The RAS loader
119 #
120 libpixbufloader_static_ras_la_SOURCES = io-ras.c
121 libpixbufloader_ras_la_SOURCES = io-ras.c
122 libpixbufloader_ras_la_LDFLAGS = -avoid-version -module $(no_undefined)
123 libpixbufloader_ras_la_LIBADD = $(module_libs)
124
125 #
126 # The TIFF loader
127 #
128 libpixbufloader_static_tiff_la_SOURCES = io-tiff.c
129 libpixbufloader_tiff_la_SOURCES = io-tiff.c
130 libpixbufloader_tiff_la_LDFLAGS = -avoid-version -module $(no_undefined)
131 libpixbufloader_tiff_la_LIBADD = $(LIBTIFF) $(module_libs)
132
133 #
134 # The PNM loader
135 #
136 libpixbufloader_static_pnm_la_SOURCES = io-pnm.c
137 libpixbufloader_pnm_la_SOURCES = io-pnm.c
138 libpixbufloader_pnm_la_LDFLAGS = -avoid-version -module $(no_undefined)
139 libpixbufloader_pnm_la_LIBADD = $(module_libs)
140
141 #
142 # The BMP loader
143 #
144 libpixbufloader_static_bmp_la_SOURCES = io-bmp.c
145 libpixbufloader_bmp_la_SOURCES = io-bmp.c
146 libpixbufloader_bmp_la_LDFLAGS = -avoid-version -module $(no_undefined)
147 libpixbufloader_bmp_la_LIBADD = $(module_libs)
148
149 #
150 # The WBMP loader
151 #
152 libpixbufloader_static_wbmp_la_SOURCES = io-wbmp.c
153 libpixbufloader_wbmp_la_SOURCES = io-wbmp.c
154 libpixbufloader_wbmp_la_LDFLAGS = -avoid-version -module $(no_undefined)
155 libpixbufloader_wbmp_la_LIBADD = $(module_libs)
156
157 #
158 # The XBM loader
159 #
160 libpixbufloader_static_xbm_la_SOURCES = io-xbm.c
161 libpixbufloader_xbm_la_SOURCES = io-xbm.c
162 libpixbufloader_xbm_la_LDFLAGS = -avoid-version -module $(no_undefined)
163 libpixbufloader_xbm_la_LIBADD = $(module_libs)
164
165 #
166 # The TGA loader
167 #
168 libpixbufloader_static_tga_la_SOURCES = io-tga.c
169 libpixbufloader_tga_la_SOURCES = io-tga.c
170 libpixbufloader_tga_la_LDFLAGS = -avoid-version -module $(no_undefined)
171 libpixbufloader_tga_la_LIBADD = $(module_libs)
172
173 #
174 # The PCX loader
175 #
176 libpixbufloader_static_pcx_la_SOURCES = io-pcx.c
177 libpixbufloader_pcx_la_SOURCES = io-pcx.c
178 libpixbufloader_pcx_la_LDFLAGS = -avoid-version -module $(no_undefined)
179 libpixbufloader_pcx_la_LIBADD = $(module_libs)
180
181 if HAVE_PNG
182 PNG_LIB = libpixbufloader-png.la
183 STATIC_PNG_LIB = libpixbufloader-static-png.la
184 endif
185
186 if HAVE_JPEG
187 JPEG_LIB = libpixbufloader-jpeg.la
188 STATIC_JPEG_LIB = libpixbufloader-static-jpeg.la
189 endif
190
191 GIF_LIB = libpixbufloader-gif.la
192 STATIC_GIF_LIB = libpixbufloader-static-gif.la
193
194 ICO_LIB = libpixbufloader-ico.la
195 STATIC_ICO_LIB = libpixbufloader-static-ico.la
196
197 ANI_LIB = libpixbufloader-ani.la
198 STATIC_ANI_LIB = libpixbufloader-static-ani.la
199
200 RAS_LIB = libpixbufloader-ras.la
201 STATIC_RAS_LIB = libpixbufloader-static-ras.la
202
203 if HAVE_TIFF
204 TIFF_LIB = libpixbufloader-tiff.la
205 STATIC_TIFF_LIB = libpixbufloader-static-tiff.la
206 endif
207
208 XPM_LIB = libpixbufloader-xpm.la
209 STATIC_XPM_LIB = libpixbufloader-static-xpm.la
210
211 PNM_LIB = libpixbufloader-pnm.la
212 STATIC_PNM_LIB = libpixbufloader-static-pnm.la
213
214 BMP_LIB = libpixbufloader-bmp.la
215 STATIC_BMP_LIB = libpixbufloader-static-bmp.la
216
217 WBMP_LIB = libpixbufloader-wbmp.la
218 STATIC_WBMP_LIB = libpixbufloader-static-wbmp.la
219
220 XBM_LIB = libpixbufloader-xbm.la
221 STATIC_XBM_LIB = libpixbufloader-static-xbm.la
222
223 TGA_LIB = libpixbufloader-tga.la
224 STATIC_TGA_LIB = libpixbufloader-static-tga.la
225
226 PCX_LIB = libpixbufloader-pcx.la
227 STATIC_PCX_LIB = libpixbufloader-static-pcx.la
228
229 if BUILD_DYNAMIC_MODULES
230
231 loader_LTLIBRARIES =    \
232         $(PNG_LIB)      \
233         $(JPEG_LIB)     \
234         $(GIF_LIB)      \
235         $(ICO_LIB)      \
236         $(ANI_LIB)      \
237         $(RAS_LIB)      \
238         $(XPM_LIB)      \
239         $(TIFF_LIB)     \
240         $(PNM_LIB)      \
241         $(BMP_LIB)      \
242         $(WBMP_LIB)     \
243         $(XBM_LIB)      \
244         $(TGA_LIB)      \
245         $(PCX_LIB)
246
247
248 extra_sources = 
249 builtin_objs = 
250 else
251 loader_LTLIBRARIES = 
252
253 noinst_LTLIBRARIES =            \
254         $(STATIC_PNG_LIB)       \
255         $(STATIC_JPEG_LIB)      \
256         $(STATIC_GIF_LIB)       \
257         $(STATIC_ICO_LIB)       \
258         $(STATIC_ANI_LIB)       \
259         $(STATIC_RAS_LIB)       \
260         $(STATIC_XPM_LIB)       \
261         $(STATIC_TIFF_LIB)      \
262         $(STATIC_PNM_LIB)       \
263         $(STATIC_BMP_LIB)       \
264         $(STATIC_WBMP_LIB)      \
265         $(STATIC_XBM_LIB)       \
266         $(STATIC_TGA_LIB)       \
267         $(STATIC_PCX_LIB)
268
269 builtin_objs = @INCLUDED_LOADER_OBJ@
270
271 endif
272
273 DEPS = libgdk_pixbuf-$(GTK_API_VERSION).la
274 INCLUDES = \
275         -DG_LOG_DOMAIN=\"GdkPixbuf\"            \
276         -I$(top_srcdir) -I$(top_builddir)       \
277         -I$(top_srcdir)/gdk-pixbuf              \
278         -I$(top_builddir)/gdk-pixbuf            \
279         -DGTK_SYSCONFDIR=\"$(sysconfdir)\"      \
280         -DGTK_VERSION=\"$(GTK_VERSION)\"        \
281         -DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\"  \
282         -DG_DISABLE_DEPRECATED                  \
283         -DGDK_PIXBUF_DISABLE_DEPRECATED         \
284         -DGTK_PREFIX=\"$(prefix)\"              \
285         $(INCLUDED_LOADER_DEFINE)               \
286         $(GTK_DEBUG_FLAGS)                      \
287         $(GDK_PIXBUF_DEP_CFLAGS)                \
288         -DGDK_PIXBUF_ENABLE_BACKEND
289
290 AM_CPPFLAGS = "-DPIXBUF_LIBDIR=\"$(loaderdir)\"" "-DBUILT_MODULES_DIR=\"$(srcdir)/.libs\""
291 LDADDS = libgdk_pixbuf-$(GTK_API_VERSION).la
292
293 noinst_PROGRAMS = test-gdk-pixbuf
294 test_gdk_pixbuf_LDADD = $(LDADDS)
295
296 bin_PROGRAMS = gdk-pixbuf-csource gdk-pixbuf-query-loaders
297 gdk_pixbuf_csource_SOURCES = gdk-pixbuf-csource.c
298 gdk_pixbuf_csource_LDADD = $(LDADDS)
299
300 gdk_pixbuf_query_loaders_DEPENDENCIES = $(DEPS)
301 gdk_pixbuf_query_loaders_LDADD = $(LDADDS)
302
303 gdk_pixbuf_query_loaders_SOURCES = queryloaders.c
304
305
306 #
307 # The GdkPixBuf library
308 #
309 libgdk_pixbufincludedir = $(includedir)/gtk-2.0/gdk-pixbuf
310 libgdk_pixbuf_2_0_la_SOURCES =  \
311         gdk-pixbuf-i18n.h       \
312         gdk-pixbuf.c            \
313         gdk-pixbuf-animation.c  \
314         gdk-pixbuf-data.c       \
315         gdk-pixbuf-io.c         \
316         gdk-pixbuf-loader.c     \
317         gdk-pixbuf-scale.c      \
318         gdk-pixbuf-util.c       \
319         gdk-pixdata.c           \
320         gdk-pixbuf-enum-types.c
321
322 libgdk_pixbuf_2_0_la_LDFLAGS = \
323         -version-info $(LT_VERSION_INFO)        \
324         $(LIBTOOL_EXPORT_OPTIONS)               \
325         $(no_undefined)                         \
326         $(gdk_pixbuf_symbols)
327
328
329 libgdk_pixbuf_2_0_la_LIBADD = pixops/libpixops.la $(builtin_objs) $(gdk_pixbuf_win32res_lo) $(GDK_PIXBUF_DEP_LIBS)
330 libgdk_pixbuf_2_0_la_DEPENDENCIES = pixops/libpixops.la $(builtin_objs) $(gdk_pixbuf_def) $(gdk_pixbuf_win32res_lo)
331
332 gdk_pixbuf_headers =                    \
333         gdk-pixbuf.h                    \
334         gdk-pixbuf-core.h               \
335         gdk-pixbuf-transform.h          \
336         gdk-pixbuf-io.h                 \
337         gdk-pixbuf-animation.h          \
338         gdk-pixbuf-loader.h
339
340 libgdk_pixbufinclude_HEADERS =          \
341         $(gdk_pixbuf_headers)           \
342         gdk-pixbuf-enum-types.h         \
343         gdk-pixbuf-marshal.h            \
344         gdk-pixbuf-features.h           \
345         gdk-pixdata.h
346
347 noinst_HEADERS =                \
348         gdk-pixbuf-alias.h      \
349         gdk-pixbuf-private.h
350
351 BUILT_SOURCES =                 \
352         gdk-pixbuf-alias.h      \
353         gdk-pixbuf-aliasdef.c   \
354         gdk-pixbuf-enum-types.h \
355         gdk-pixbuf-enum-types.c \
356         gdk-pixbuf-marshal.h    \
357         gdk-pixbuf-marshal.c
358
359 CLEANFILES =
360 MAINTAINERCLEANFILES =          \
361         gdk-pixbuf-enum-types.h \
362         gdk-pixbuf-enum-types.c \
363         gdk-pixbuf-marshal.h    \
364         gdk-pixbuf-marshal.c    \
365         gdk-pixbuf.loaders
366
367 #
368 # gdk-pixbuf-enum-types.h
369 #
370 gdk-pixbuf-enum-types.h: s-enum-types-h
371         @true
372
373 s-enum-types-h: @REBUILD@ $(gdk_pixbuf_headers) Makefile
374         ( cd $(srcdir) && glib-mkenums \
375                         --fhead "#ifndef __GDK_PIXBUF_ENUM_TYPES_H__\n#define __GDK_PIXBUF_ENUM_TYPES_H__\n\n#include <glib-object.h>\n\nG_BEGIN_DECLS\n" \
376                         --fprod "/* enumerations from \"@filename@\" */\n" \
377                         --vhead "GType @enum_name@_get_type (void) G_GNUC_CONST;\n#define GDK_TYPE_@ENUMSHORT@ (@enum_name@_get_type())\n"         \
378                         --ftail "G_END_DECLS\n\n#endif /* __GDK_PIXBUF_ENUM_TYPES_H__ */" \
379                 $(gdk_pixbuf_headers) ) > tmp-gdk-pixbuf-enum-types.h \
380         && (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 ) \
381         && rm -f tmp-gdk-pixbuf-enum-types.h \
382         && echo timestamp > $(@F)
383
384 CLEANFILES += tmp-gdk-pixbuf-enum-types.h
385 MAINTAINERCLEANFILES += s-enum-types-h
386
387 #
388 # gdk-pixbuf-enum-types.c
389 #
390 gdk-pixbuf-enum-types.c: @REBUILD@ $(gdk_pixbuf_headers) Makefile
391         (cd $(srcdir) && glib-mkenums \
392                 --fhead "#include <gdk-pixbuf/gdk-pixbuf.h>\n#include \"gdk-pixbuf-alias.h\"\n" \
393                 --fprod "\n/* enumerations from \"@filename@\" */" \
394                 --ftail "\n#define __GDK_PIXBUF_ENUM_TYPES_C__\n#include \"gdk-pixbuf-aliasdef.c\"" \
395                 --vhead "GType\n@enum_name@_get_type (void)\n{\n  static GType etype = 0;\n  if (etype == 0) {\n    static const G@Type@Value values[] = {"       \
396                 --vprod "      { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \
397                 --vtail "      { 0, NULL, NULL }\n    };\n    etype = g_@type@_register_static (\"@EnumName@\", values);\n  }\n  return etype;\n}\n" \
398                   $(gdk_pixbuf_headers)) > gdk-pixbuf-enum-types.c
399
400 #
401 # gdk-pixbuf-marshal.h
402 #
403 gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
404         @true
405
406 stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
407         $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
408         && (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
409         && rm -f xgen-gmh xgen-gmh~ \
410         && echo timestamp > $(@F)
411
412 CLEANFILES += xgen-gmh
413 MAINTAINERCLEANFILES += stamp-gdk-pixbuf-marshal.h
414
415 #
416 # gdk-pixbuf-marshal.c
417 #
418 $(srcdir)/gdk-pixbuf-marshal.c: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
419         (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 \
420         && cp xgen-gmc gdk-pixbuf-marshal.c \
421         && rm -f xgen-gmc xgen-gmc~
422
423 CLEANFILES += xgen-gmc
424
425 # if srcdir!=builddir, clean out maintainer-clean files from builddir
426 # this allows dist to pass.
427 distclean-local:
428         if test $(srcdir) != .; then \
429           rm -f $(MAINTAINERCLEANFILES); \
430         fi
431
432 EXTRA_DIST =                                    \
433         gdk-pixbuf-csource.1                    \
434         makefile.msc                            \
435         gdk-pixbuf.symbols                      \
436         makegdkpixbufalias.pl                   \
437         abicheck.sh                             \
438         gdk_pixbuf.def                          \
439         gdk_pixbuf.rc                           \
440         gdk-pixbuf-marshal.c                    \
441         gdk-pixbuf-marshal.list                 \
442         pixbufloader_ico.def                    \
443         pixbufloader_ani.def                    \
444         pixbufloader_pnm.def                    \
445         pixbufloader_xpm.def                    \
446         pixbufloader_bmp.def                    \
447         pixbufloader_jpeg.def                   \
448         pixbufloader_ras.def                    \
449         pixbufloader_gif.def                    \
450         pixbufloader_png.def                    \
451         pixbufloader_tiff.def                   \
452         pixbufloader_wbmp.def                   \
453         pixbufloader_xbm.def                    \
454         pixbufloader_tga.def
455
456 if CROSS_COMPILING
457 RUN_QUERY_LOADER_TEST=false
458 else
459 RUN_QUERY_LOADER_TEST=test -z "$(DESTDIR)"
460 endif
461
462 # Running this if cross compiling or if DESTDIR is set is going to
463 # not work at all, so skip it
464 # We use install-data-hook here to workaround a bug in automake and/or libtool
465 # that makes the install target for the loader libraries a dependency on
466 # install-data-am, and not install-exec-am. We need to ensure this gets run
467 # after the libraries are installed in their final locations.
468 install-data-hook: install-ms-lib install-libtool-import-lib
469         @if $(RUN_QUERY_LOADER_TEST) ; then \
470           $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/gtk-2.0 ; \
471           $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders > $(DESTDIR)$(sysconfdir)/gtk-2.0/gdk-pixbuf.loaders ; \
472         else \
473           echo "***" ; \
474           echo "*** Warning: gdk-pixbuf.loaders not built" ; \
475           echo "***" ; \
476           echo "*** Generate this file manually on host" ; \
477           echo "*** system using gdk-pixbuf-query-loaders" ; \
478           echo "***" ; \
479         fi
480
481 uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib
482         rm -f $(DESTDIR)$(sysconfdir)/gtk-2.0/gdk-pixbuf.loaders
483
484 if CROSS_COMPILING
485 else
486 all-local: gdk-pixbuf.loaders
487 endif
488
489 if BUILD_DYNAMIC_MODULES
490 gdk-pixbuf.loaders: $(loader_LTLIBRARIES) gdk-pixbuf-query-loaders
491         LOADERS=`echo libpixbufloader-*.la` ; \
492         if test "x$$LOADERS" != 'xlibpixbufloader-*.la' ; then \
493           echo "Writing a gdk-pixbuf.loader file to use when running examples before installing gdk-pixbuf."; \
494           $(top_builddir)/gdk-pixbuf/gdk-pixbuf-query-loaders $$LOADERS > ./gdk-pixbuf.loaders ;\
495         else \
496           echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
497           touch gdk-pixbuf.loaders; \
498         fi
499 else
500 gdk-pixbuf.loaders: 
501         echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
502         touch gdk-pixbuf.loaders;
503 endif