mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 03:10:09 +00:00
eca686f8e0
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)
79 lines
2.2 KiB
Makefile
79 lines
2.2 KiB
Makefile
## Makefile.am for gtk+/demos
|
|
|
|
SUBDIRS = gtk-demo
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-DG_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GTK_DEP_CFLAGS@ \
|
|
@STRIP_END@
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@
|
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@ \
|
|
@STRIP_END@
|
|
|
|
noinst_PROGRAMS = \
|
|
testpixbuf \
|
|
testpixbuf-drawable \
|
|
testanimation \
|
|
testpixbuf-save \
|
|
testpixbuf-scale \
|
|
pixbuf-demo
|
|
|
|
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) && \
|
|
$(pixbuf_csource) --build-list \
|
|
apple_red apple-red.png gnome_foot gnome-foot.png >$$curdir/test-inline-pixbufs.h)
|
|
|
|
testpixbuf_DEPENDENCIES = $(DEPS)
|
|
testpixbuf_drawable_DEPENDENCIES = $(DEPS)
|
|
testpixbuf_save_DEPENDENCIES = $(DEPS)
|
|
testpixbuf_scale_DEPENDENCIES = $(DEPS)
|
|
testanimation_DEPENDENCIES = $(DEPS)
|
|
pixbuf_demo_DEPENDENCIES = $(DEPS)
|
|
|
|
testpixbuf_LDADD = $(LDADDS)
|
|
testpixbuf_drawable_LDADD = $(LDADDS)
|
|
testpixbuf_save_LDADD = $(LDADDS)
|
|
testpixbuf_scale_LDADD = $(LDADDS)
|
|
testanimation_LDADD = $(LDADDS)
|
|
pixbuf_demo_LDADD = $(LDADDS)
|
|
|
|
testpixbuf_SOURCES = testpixbuf.c pixbuf-init.c
|
|
$(testpixbuf_OBJECTS): test-inline-pixbufs.h
|
|
testpixbuf_drawable_SOURCES = testpixbuf-drawable.c pixbuf-init.c
|
|
testpixbuf_save_SOURCES = testpixbuf-save.c
|
|
testpixbuf_scale_SOURCES = testpixbuf-scale.c pixbuf-init.c
|
|
testanimation_SOURCES = testanimation.c pixbuf-init.c
|
|
pixbuf_demo_SOURCES = pixbuf-demo.c pixbuf-init.c
|
|
|
|
EXTRA_DIST = \
|
|
apple-red.png \
|
|
background.jpg \
|
|
gnome-applets.png \
|
|
gnome-calendar.png \
|
|
gnome-foot.png \
|
|
gnome-gimp.png \
|
|
gnome-gmush.png \
|
|
gnome-gsame.png \
|
|
gnu-keys.png
|