2000-06-21 20:47:22 +00:00
|
|
|
## Makefile.am for gtk+/demos
|
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2000-06-21 20:47:22 +00:00
|
|
|
|
2000-11-13 04:36:38 +00:00
|
|
|
SUBDIRS = gtk-demo
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2008-08-12 15:04:55 +00:00
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
|
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
2003-05-06 21:55:41 +00:00
|
|
|
$(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) \
|
2009-12-19 17:37:39 +00:00
|
|
|
$(top_builddir)/gtk/$(gtktargetlib) \
|
|
|
|
$(GTK_DEP_LIBS) \
|
|
|
|
$(MATH_LIB)
|
2000-06-21 20:47:22 +00:00
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
testpixbuf-drawable \
|
|
|
|
testanimation \
|
2009-12-18 15:17:13 +00:00
|
|
|
testpixbuf-color \
|
2000-10-06 18:19:18 +00:00
|
|
|
testpixbuf-save \
|
2000-06-21 20:47:22 +00:00
|
|
|
testpixbuf-scale \
|
|
|
|
pixbuf-demo
|
|
|
|
|
2003-06-06 00:52:20 +00:00
|
|
|
# Need to build test-inline-pixbufs.h for testpixbuf
|
|
|
|
if HAVE_PNG
|
|
|
|
noinst_PROGRAMS += testpixbuf
|
|
|
|
BUILT_SOURCES = test-inline-pixbufs.h
|
|
|
|
endif
|
|
|
|
|
2002-07-30 20:00:16 +00:00
|
|
|
if CROSS_COMPILING
|
|
|
|
pixbuf_csource=$(GDK_PIXBUF_CSOURCE)
|
2003-06-06 00:52:20 +00:00
|
|
|
pixbuf_csource_deps=
|
2002-07-30 20:00:16 +00:00
|
|
|
else
|
2003-06-06 00:52:20 +00:00
|
|
|
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
|
2002-07-30 20:00:16 +00:00
|
|
|
endif
|
|
|
|
|
2003-06-06 00:52:20 +00:00
|
|
|
test-inline-pixbufs.h: $(pixbuf_csource_deps) apple-red.png gnome-foot.png
|
|
|
|
$(pixbuf_csource) --raw --build-list \
|
|
|
|
apple_red $(srcdir)/apple-red.png \
|
|
|
|
gnome_foot $(srcdir)/gnome-foot.png \
|
|
|
|
> test-inline-pixbufs.h \
|
|
|
|
|| (rm -f 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)
|
2009-12-18 15:17:13 +00:00
|
|
|
testpixbuf_color_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)
|
2009-12-18 15:17:13 +00:00
|
|
|
testpixbuf_color_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
|
2009-12-18 15:17:13 +00:00
|
|
|
testpixbuf_color_SOURCES = testpixbuf-color.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
|
|
|
|
call g_test_init() from gtk_test_init().
2007-11-22 15:39:40 Tim Janik <timj@imendio.com>
* gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
* gtk/tests/testing.c: use g_test_add_func() to register tests and use
g_test_run() to run the tests to integrate with the testing framework.
* gtk/tests/Makefile.am: removed exemplary testing rules.
* Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
* gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
* tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
* docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
* docs/reference/Makefile.am, docs/tools/Makefile.am:
* docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
* gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
* demos/gtk-demo/Makefile.am, demos/Makefile.am:
* modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
* modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
* modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
* modules/engines/ms-windows/Theme/Makefile.am:
* modules/engines/ms-windows/Makefile.am:
* modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
* modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
* contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
* gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
* gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
* gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
svn path=/trunk/; revision=19033
2007-11-22 14:38:26 +00:00
|
|
|
EXTRA_DIST += \
|
2000-07-06 21:09:25 +00:00
|
|
|
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
|
2009-05-04 00:08:11 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|