2000-06-21 20:47:22 +00:00
|
|
|
## Makefile.am for gtk+/demos
|
|
|
|
|
2000-11-13 04:36:38 +00:00
|
|
|
SUBDIRS = gtk-demo
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
INCLUDES = \
|
2000-06-21 20:47:22 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
2001-08-23 15:26:49 +00:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
2002-02-16 23:52:30 +00:00
|
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
2002-09-29 21:24:24 +00:00
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
2001-02-03 01:09:41 +00:00
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(GTK_DEBUG_FLAGS) \
|
|
|
|
$(GTK_DEP_CFLAGS)
|
2000-06-21 20:47:22 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
DEPS = \
|
2002-03-05 21:04:09 +00:00
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
2000-06-21 20:47:22 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
LDADDS = \
|
2002-03-05 21:04:09 +00:00
|
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
2000-06-21 20:47:22 +00:00
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
testpixbuf \
|
|
|
|
testpixbuf-drawable \
|
|
|
|
testanimation \
|
2000-10-06 18:19:18 +00:00
|
|
|
testpixbuf-save \
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf-scale \
|
|
|
|
pixbuf-demo
|
|
|
|
|
2002-07-30 20:00:16 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
pixbuf_csource=$(GDK_PIXBUF_CSOURCE)
|
|
|
|
else
|
2002-10-04 16:17:29 +00:00
|
|
|
pixbuf_csource=GDK_PIXBUF_MODULE_FILE=$$topdir/gdk-pixbuf/gdk-pixbuf.loaders $$topdir/gdk-pixbuf/gdk-pixbuf-csource
|
2002-07-30 20:00:16 +00:00
|
|
|
endif
|
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
BUILT_SOURCES = test-inline-pixbufs.h
|
|
|
|
|
2002-11-09 00:18:10 +00:00
|
|
|
test-inline-pixbufs.h: $(top_builddir)/gdk-pixbuf/gdk-pixbuf-csource $(top_builddir)/gdk-pixbuf/gdk-pixbuf.loaders apple-red.png gnome-foot.png
|
2000-11-14 16:38:04 +00:00
|
|
|
(topdir=`cd $(top_builddir) && pwd` ; curdir=`pwd` ; \
|
2001-06-26 20:56:32 +00:00
|
|
|
cd $(srcdir) && \
|
2002-07-30 20:00:16 +00:00
|
|
|
$(pixbuf_csource) --build-list \
|
2002-10-04 16:17:29 +00:00
|
|
|
apple_red apple-red.png gnome_foot gnome-foot.png >$$curdir/test-inline-pixbufs.h || (rm -f $$curdir/test-inline-pixbufs.h && false))
|
2000-10-04 16:39:44 +00:00
|
|
|
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf_DEPENDENCIES = $(DEPS)
|
|
|
|
testpixbuf_drawable_DEPENDENCIES = $(DEPS)
|
2000-10-06 18:19:18 +00:00
|
|
|
testpixbuf_save_DEPENDENCIES = $(DEPS)
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf_scale_DEPENDENCIES = $(DEPS)
|
|
|
|
testanimation_DEPENDENCIES = $(DEPS)
|
|
|
|
pixbuf_demo_DEPENDENCIES = $(DEPS)
|
|
|
|
|
2000-07-22 15:21:31 +00:00
|
|
|
testpixbuf_LDADD = $(LDADDS)
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf_drawable_LDADD = $(LDADDS)
|
2000-10-06 18:19:18 +00:00
|
|
|
testpixbuf_save_LDADD = $(LDADDS)
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf_scale_LDADD = $(LDADDS)
|
2000-07-22 15:21:31 +00:00
|
|
|
testanimation_LDADD = $(LDADDS)
|
|
|
|
pixbuf_demo_LDADD = $(LDADDS)
|
2000-06-21 20:47:22 +00:00
|
|
|
|
|
|
|
testpixbuf_SOURCES = testpixbuf.c pixbuf-init.c
|
|
|
|
testpixbuf_drawable_SOURCES = testpixbuf-drawable.c pixbuf-init.c
|
2000-10-06 18:19:18 +00:00
|
|
|
testpixbuf_save_SOURCES = testpixbuf-save.c
|
2000-06-21 20:47:22 +00:00
|
|
|
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
|
2000-07-06 21:09:25 +00:00
|
|
|
|
|
|
|
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
|
2003-05-06 21:55:41 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = test-inline-pixbufs.h
|