2000-10-18 15:50:13 +00:00
|
|
|
## Makefile.am for gtk+/demos
|
|
|
|
|
2000-11-13 06:08:17 +00:00
|
|
|
democodedir=$(datadir)/gtk-2.0/demo
|
2000-11-13 04:36:38 +00:00
|
|
|
|
2001-04-18 18:09:18 +00:00
|
|
|
## These should be in the order you want them to appear in the
|
|
|
|
## demo app, which means alphabetized by demo title, not filename
|
2003-05-06 21:55:41 +00:00
|
|
|
demos = \
|
|
|
|
appwindow.c \
|
|
|
|
button_box.c \
|
|
|
|
changedisplay.c \
|
|
|
|
colorsel.c \
|
|
|
|
dialog.c \
|
|
|
|
drawingarea.c \
|
|
|
|
editable_cells.c \
|
2003-09-26 23:33:46 +00:00
|
|
|
hypertext.c \
|
2003-05-06 21:55:41 +00:00
|
|
|
images.c \
|
|
|
|
list_store.c \
|
|
|
|
menus.c \
|
|
|
|
panes.c \
|
|
|
|
pixbufs.c \
|
|
|
|
sizegroup.c \
|
|
|
|
stock_browser.c \
|
|
|
|
textview.c \
|
2003-08-05 19:16:01 +00:00
|
|
|
tree_store.c \
|
2003-09-26 23:33:46 +00:00
|
|
|
ui_manager.c
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
INCLUDES = \
|
2000-11-13 04:36:38 +00:00
|
|
|
-DDEMOCODEDIR="\"$(democodedir)\"" \
|
2000-10-18 15:50:13 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_builddir)/gdk \
|
2001-08-17 14:11:36 +00:00
|
|
|
-DG_DISABLE_DEPRECATED \
|
2002-02-21 00:40:16 +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-10-18 15:50:13 +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-10-18 15:50:13 +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-10-18 15:50:13 +00:00
|
|
|
|
2000-11-13 04:36:38 +00:00
|
|
|
bin_PROGRAMS = gtk-demo
|
2000-10-18 15:50:13 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES = demos.h
|
|
|
|
|
2001-05-05 14:07:45 +00:00
|
|
|
EXTRA_DIST = \
|
|
|
|
$(IMAGEFILES)
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2003-05-06 21:55:41 +00:00
|
|
|
demos.h: @REBUILD@ $(demos) geninclude.pl
|
|
|
|
(here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
|
2000-10-18 15:50:13 +00:00
|
|
|
|
2000-11-13 04:36:38 +00:00
|
|
|
gtk_demo_SOURCES = \
|
2000-10-18 15:50:13 +00:00
|
|
|
$(demos) \
|
2001-11-23 21:46:44 +00:00
|
|
|
demo-common.h \
|
2000-10-18 15:50:13 +00:00
|
|
|
main.c \
|
|
|
|
demos.h
|
|
|
|
|
2000-11-13 04:36:38 +00:00
|
|
|
gtk_demo_DEPENDENCIES = $(DEPS)
|
|
|
|
gtk_demo_LDADD = $(LDADDS)
|
|
|
|
|
2001-05-07 15:58:47 +00:00
|
|
|
IMAGEFILES= alphatest.png \
|
|
|
|
apple-red.png \
|
2001-04-18 18:09:18 +00:00
|
|
|
background.jpg \
|
2001-05-07 15:58:47 +00:00
|
|
|
floppybuddy.gif \
|
2001-04-18 18:09:18 +00:00
|
|
|
gnome-applets.png \
|
|
|
|
gnome-calendar.png \
|
|
|
|
gnome-foot.png \
|
|
|
|
gnome-gimp.png \
|
|
|
|
gnome-gmush.png \
|
|
|
|
gnome-gsame.png \
|
|
|
|
gnu-keys.png \
|
|
|
|
gtk-logo-rgb.gif
|
|
|
|
|
|
|
|
democode_DATA = $(demos) $(IMAGEFILES)
|
2003-05-06 21:55:41 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = demos.h
|