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