]> Pileus Git - ~andy/gtk/blobdiff - demos/gtk-demo/Makefile.am
Add git.mk to generate .gitignore files
[~andy/gtk] / demos / gtk-demo / Makefile.am
index c12164382baa38494a28c218b0577333802b3af8..e9c51d0b95274ddfedde0f21b15d34eb8071d2c8 100644 (file)
@@ -1,4 +1,5 @@
 ## Makefile.am for gtk+/demos
+include $(top_srcdir)/Makefile.decl
 
 democodedir=$(datadir)/gtk-2.0/demo
 
@@ -6,32 +7,44 @@ democodedir=$(datadir)/gtk-2.0/demo
 ## demo app, which means alphabetized by demo title, not filename
 demos =                                                \
        appwindow.c                             \
+       assistant.c                             \
+       builder.c                               \
        button_box.c                            \
        changedisplay.c                         \
+       clipboard.c                             \
        colorsel.c                              \
+       combobox.c                              \
        dialog.c                                \
        drawingarea.c                           \
        editable_cells.c                        \
+       entry_completion.c                      \
+       expander.c                              \
+       hypertext.c                             \
+       iconview.c                              \
+       iconview_edit.c                         \
        images.c                                \
-       item_factory.c                          \
        list_store.c                            \
        menus.c                                 \
        panes.c                                 \
+       pickers.c                               \
        pixbufs.c                               \
+       printing.c                              \
+       rotated_text.c                          \
+       search_entry.c                          \
        sizegroup.c                             \
        stock_browser.c                         \
        textview.c                              \
-       tree_store.c
+       textscroll.c                            \
+       tree_store.c                            \
+       ui_manager.c
 
 INCLUDES = \
-       -DDEMOCODEDIR="\"$(democodedir)\""              \
-       -I$(top_srcdir)                                 \
-       -I$(top_builddir)/gdk                           \
-       -DG_DISABLE_DEPRECATED                          \
-       -DGDK_PIXBUF_DISABLE_DEPRECATED                 \
-       -DGDK_DISABLE_DEPRECATED                        \
-       -DGTK_DISABLE_DEPRECATED                        \
-       $(GTK_DEBUG_FLAGS)                              \
+       -DDEMOCODEDIR="\"$(democodedir)\""      \
+       -I$(top_srcdir)                         \
+       -I$(top_builddir)/gdk                   \
+       -DGDK_DISABLE_DEPRECATED                \
+       -DGTK_DISABLE_DEPRECATED                \
+       $(GTK_DEBUG_FLAGS)                      \
        $(GTK_DEP_CFLAGS)
 
 DEPS = \
@@ -48,8 +61,9 @@ bin_PROGRAMS = gtk-demo
 
 BUILT_SOURCES = demos.h
 
-EXTRA_DIST =           \
-       $(IMAGEFILES)
+EXTRA_DIST +=          \
+       $(IMAGEFILES)   \
+       demo.ui
 
 demos.h: @REBUILD@ $(demos) geninclude.pl
        (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
@@ -62,6 +76,7 @@ gtk_demo_SOURCES =            \
 
 gtk_demo_DEPENDENCIES = $(DEPS)
 gtk_demo_LDADD = $(LDADDS)
+gtk_demo_LDFLAGS = -export-dynamic
 
 IMAGEFILES=    alphatest.png           \
                apple-red.png           \
@@ -69,13 +84,17 @@ IMAGEFILES= alphatest.png           \
                floppybuddy.gif         \
                gnome-applets.png       \
                gnome-calendar.png      \
+               gnome-fs-directory.png  \
+               gnome-fs-regular.png    \
                gnome-foot.png          \
                gnome-gimp.png          \
                gnome-gmush.png         \
                gnome-gsame.png         \
                gnu-keys.png            \
-               gtk-logo-rgb.gif
+               gtk-logo-rgb.gif                
 
-democode_DATA = $(demos) $(IMAGEFILES)
+democode_DATA = $(demos) $(IMAGEFILES) demo.ui
 
 DISTCLEANFILES = demos.h
+
+-include $(top_srcdir)/git.mk