| 1 |
## Makefile.am for gtk+/demos |
| 2 |
include $(top_srcdir)/Makefile.decl |
| 3 |
|
| 4 |
democodedir=$(datadir)/gtk-2.0/demo |
| 5 |
|
| 6 |
## These should be in the order you want them to appear in the |
| 7 |
## demo app, which means alphabetized by demo title, not filename |
| 8 |
demos = \ |
| 9 |
appwindow.c \ |
| 10 |
assistant.c \ |
| 11 |
builder.c \ |
| 12 |
button_box.c \ |
| 13 |
changedisplay.c \ |
| 14 |
clipboard.c \ |
| 15 |
colorsel.c \ |
| 16 |
combobox.c \ |
| 17 |
dialog.c \ |
| 18 |
drawingarea.c \ |
| 19 |
editable_cells.c \ |
| 20 |
entry_buffer.c \ |
| 21 |
entry_completion.c \ |
| 22 |
expander.c \ |
| 23 |
hypertext.c \ |
| 24 |
iconview.c \ |
| 25 |
iconview_edit.c \ |
| 26 |
images.c \ |
| 27 |
infobar.c \ |
| 28 |
links.c \ |
| 29 |
list_store.c \ |
| 30 |
menus.c \ |
| 31 |
offscreen_window.c \ |
| 32 |
offscreen_window2.c \ |
| 33 |
panes.c \ |
| 34 |
pickers.c \ |
| 35 |
pixbufs.c \ |
| 36 |
printing.c \ |
| 37 |
rotated_text.c \ |
| 38 |
search_entry.c \ |
| 39 |
sizegroup.c \ |
| 40 |
spinner.c \ |
| 41 |
stock_browser.c \ |
| 42 |
textview.c \ |
| 43 |
textscroll.c \ |
| 44 |
toolpalette.c \ |
| 45 |
tree_store.c \ |
| 46 |
ui_manager.c |
| 47 |
|
| 48 |
INCLUDES = \ |
| 49 |
-DDEMOCODEDIR="\"$(democodedir)\"" \ |
| 50 |
-I$(top_srcdir) \ |
| 51 |
-I$(top_builddir)/gdk \ |
| 52 |
-DGDK_DISABLE_DEPRECATED \ |
| 53 |
-DGTK_DISABLE_DEPRECATED \ |
| 54 |
$(GTK_DEBUG_FLAGS) \ |
| 55 |
$(GTK_DEP_CFLAGS) |
| 56 |
|
| 57 |
DEPS = \ |
| 58 |
$(top_builddir)/gdk/$(gdktargetlib) \ |
| 59 |
$(top_builddir)/gtk/$(gtktargetlib) |
| 60 |
|
| 61 |
LDADDS = \ |
| 62 |
$(top_builddir)/gdk/$(gdktargetlib) \ |
| 63 |
$(top_builddir)/gtk/$(gtktargetlib) \ |
| 64 |
$(GTK_DEP_LIBS) \ |
| 65 |
-lm |
| 66 |
|
| 67 |
bin_PROGRAMS = gtk-demo |
| 68 |
|
| 69 |
BUILT_SOURCES = demos.h |
| 70 |
|
| 71 |
EXTRA_DIST += \ |
| 72 |
$(IMAGEFILES) \ |
| 73 |
demo.ui |
| 74 |
|
| 75 |
demos.h: @REBUILD@ $(demos) geninclude.pl |
| 76 |
(here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h |
| 77 |
|
| 78 |
gtk_demo_SOURCES = \ |
| 79 |
$(demos) \ |
| 80 |
demo-common.h \ |
| 81 |
main.c \ |
| 82 |
demos.h |
| 83 |
|
| 84 |
gtk_demo_DEPENDENCIES = $(DEPS) |
| 85 |
gtk_demo_LDADD = $(LDADDS) |
| 86 |
gtk_demo_LDFLAGS = -export-dynamic |
| 87 |
|
| 88 |
IMAGEFILES= alphatest.png \ |
| 89 |
apple-red.png \ |
| 90 |
background.jpg \ |
| 91 |
floppybuddy.gif \ |
| 92 |
gnome-applets.png \ |
| 93 |
gnome-calendar.png \ |
| 94 |
gnome-fs-directory.png \ |
| 95 |
gnome-fs-regular.png \ |
| 96 |
gnome-foot.png \ |
| 97 |
gnome-gimp.png \ |
| 98 |
gnome-gmush.png \ |
| 99 |
gnome-gsame.png \ |
| 100 |
gnu-keys.png \ |
| 101 |
gtk-logo-rgb.gif |
| 102 |
|
| 103 |
democode_DATA = $(demos) $(IMAGEFILES) demo.ui |
| 104 |
|
| 105 |
# ------------------- MSVC Projects -------------------- |
| 106 |
MSVCPROJS = gtk-demo |
| 107 |
|
| 108 |
gtk_demo_FILES = $(gtk_demo_SOURCES) |
| 109 |
gtk_demo_EXCLUDES = gtkdemodummy |
| 110 |
|
| 111 |
include $(top_srcdir)/build/Makefile.msvcproj |
| 112 |
|
| 113 |
dist-hook: $(top_builddir)/build/win32/vs9/gtk-demo.vcproj |
| 114 |
|
| 115 |
DISTCLEANFILES = demos.h |
| 116 |
|
| 117 |
-include $(top_srcdir)/git.mk |