1 ## Makefile.am for gtk+/demos
2 include $(top_srcdir)/Makefile.decl
4 democodedir=$(datadir)/gtk-$(GTK_API_VERSION)/demo
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
47 theming_style_classes.c \
48 theming_custom_css.c \
55 -DDEMOCODEDIR="\"$(democodedir)\"" \
57 -I$(top_builddir)/gdk \
58 -DGDK_DISABLE_DEPRECATED \
59 -DGTK_DISABLE_DEPRECATED \
64 $(top_builddir)/gtk/libgtk-3.la
67 $(top_builddir)/gtk/libgtk-3.la \
68 $(top_builddir)/gdk/libgdk-3.la \
72 bin_PROGRAMS = gtk3-demo gtk3-demo-application
74 BUILT_SOURCES = demos.h application_resources.c
79 application.gresource.xml \
86 org.gtk.Demo.gschema.xml
89 org.gtk.Demo.gschema.xml
93 demos.h: @REBUILD@ $(demos) geninclude.pl
94 $(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
102 gtk3_demo_DEPENDENCIES = $(DEPS)
103 gtk3_demo_LDADD = $(LDADDS)
104 gtk3_demo_LDFLAGS = -export-dynamic
106 gtk3_demo_application_SOURCES = \
107 application-standalone.c \
108 application_resources.c
110 gtk3_demo_application_LDADD = $(LDADDS)
112 application_resources.c: application.gresource.xml gtk-logo-24.png gtk-logo-48.png application.ui menus.ui
113 $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/application.gresource.xml
115 IMAGEFILES= alphatest.png \
121 gnome-fs-directory.png \
122 gnome-fs-regular.png \
139 DISTCLEANFILES = demos.h
141 -include $(top_srcdir)/git.mk