Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation
Thu Jun 5 20:35:40 2003 Owen Taylor <otaylor@redhat.com> * demos/Makefile.am: Conditionalize deendencies for gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe). Buildtest-inline-pixbufs.h in srcdir. Don't try to build test-inline-pixbufs.h if we don't have libpng. * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): Add a dependency on gdk-pixbuf.loaders when not cross-compiling, remove the dependency on gdk-pixbuf-csource when not cross compiling.
This commit is contained in:
		| @ -258,11 +258,13 @@ CLEANFILES = $(noinst_DATA) | ||||
|  | ||||
| if CROSS_COMPILING | ||||
| pixbuf_csource=$(GDK_PIXBUF_CSOURCE) | ||||
| pixbuf_csource_deps= | ||||
| else | ||||
| pixbuf_csource=GDK_PIXBUF_MODULE_FILE=$(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource | ||||
| pixbuf_csource_deps=$(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders  | ||||
| endif | ||||
|  | ||||
| gtkstockpixbufs.h: @REBUILD_PNGS@ $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(IMAGES) | ||||
| gtkstockpixbufs.h: @REBUILD_PNGS@ $(pixbuf_csource_deps) $(IMAGES) | ||||
| 	$(pixbuf_csource)						\ | ||||
| 	   --raw --build-list $(VARIABLES1) > gtkstockpixbufs.h ||	\ | ||||
|            ( rm -f gtkstockpixbufs.h && false ) | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Owen Taylor
					Owen Taylor