]> Pileus Git - ~andy/gtk/blobdiff - gdk-pixbuf/Makefile.am
Add git.mk to generate .gitignore files
[~andy/gtk] / gdk-pixbuf / Makefile.am
index 9efb22605098d60e2050888bd7570622b9a22d5b..39b52f3ce23ed7dbd68bb8b7f16c5d407fb1b8a1 100644 (file)
@@ -628,9 +628,9 @@ gdk-pixbuf-marshal.h: @REBUILD@ stamp-gdk-pixbuf-marshal.h
        @true
 
 stamp-gdk-pixbuf-marshal.h: @REBUILD@ $(srcdir)/gdk-pixbuf-marshal.list
-       echo "#ifndef GDK_PIXBUF_DISABLE_DEPRECATED" > xgen-gmh \
+       echo "#if !defined(GDK_PIXBUF_DISABLE_DEPRECATED) || defined(GDK_PIXBUF_COMPILATION)" > xgen-gmh \
        && $(GLIB_GENMARSHAL) --prefix=_gdk_pixbuf_marshal $(srcdir)/gdk-pixbuf-marshal.list --header >> xgen-gmh \
-       && echo "#endif /* GDK_PIXBUF_DISABLE_DEPRECATED */" >> xgen-gmh \
+       && echo "#endif /* !GDK_PIXBUF_DISABLE_DEPRECATED || GDK_PIXBUF_COMPILATION */" >> xgen-gmh \
        && (cmp -s xgen-gmh gdk-pixbuf-marshal.h || cp xgen-gmh gdk-pixbuf-marshal.h) \
        && rm -f xgen-gmh xgen-gmh~ \
        && echo timestamp > $(@F)
@@ -718,3 +718,5 @@ gdk-pixbuf.loaders:
        echo "No dynamic modules found; will use only static modules for uninstalled example programs."; \
        touch gdk-pixbuf.loaders;
 endif
+
+-include $(top_srcdir)/git.mk