diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-07-30 20:00:16 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-07-30 20:00:16 +0000 |
commit | eca686f8e0e615f69475a330485c7e23976330a1 (patch) | |
tree | c8532bb81c652fcf2960a23bd2893eef61a35b65 /demos/Makefile.am | |
parent | b15b3145c4c07d296f8ef25f47764f68bc3816c4 (diff) | |
download | gtk+-eca686f8e0e615f69475a330485c7e23976330a1.tar.gz |
Honor GDK_PIXBUF_CSOURCE from configure.in when cross-compiling. (#87099,
Tue Jul 30 15:39:06 2002 Owen Taylor <otaylor@redhat.com>
* demos/Makefile.am: Honor GDK_PIXBUF_CSOURCE from
configure.in when cross-compiling. (#87099,
J. Ali Harlow)
Diffstat (limited to 'demos/Makefile.am')
-rw-r--r-- | demos/Makefile.am | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/demos/Makefile.am b/demos/Makefile.am index 2230a8130c..9f14cca8bd 100644 --- a/demos/Makefile.am +++ b/demos/Makefile.am @@ -32,11 +32,16 @@ noinst_PROGRAMS = \ testpixbuf-scale \ pixbuf-demo -test-inline-pixbufs.h: $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource$(EXEEXT) apple-red.png gnome-foot.png +if CROSS_COMPILING +pixbuf_csource=$(GDK_PIXBUF_CSOURCE) +else +pixbuf_csource=GDK_PIXBUF_MODULEDIR=$$topdir/gdk-pixbuf/.libs $$topdir/gdk-pixbuf/gdk-pixbuf-csource +endif + +test-inline-pixbufs.h: $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource apple-red.png gnome-foot.png (topdir=`cd $(top_builddir) && pwd` ; curdir=`pwd` ; \ cd $(srcdir) && \ - GDK_PIXBUF_MODULEDIR=$$topdir/gdk-pixbuf/.libs \ - $$topdir/gdk-pixbuf/gdk-pixbuf-csource --build-list \ + $(pixbuf_csource) --build-list \ apple_red apple-red.png gnome_foot gnome-foot.png >$$curdir/test-inline-pixbufs.h) testpixbuf_DEPENDENCIES = $(DEPS) |