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
46 theming_style_classes.c \
47 theming_custom_css.c \
54 -DDEMOCODEDIR="\"$(democodedir)\"" \
56 -I$(top_builddir)/gdk \
57 -DGDK_DISABLE_DEPRECATED \
58 -DGTK_DISABLE_DEPRECATED \
63 $(top_builddir)/gtk/libgtk-3.la
66 $(top_builddir)/gtk/libgtk-3.la \
67 $(top_builddir)/gdk/libgdk-3.la \
71 bin_PROGRAMS = gtk3-demo gtk3-demo-application
73 BUILT_SOURCES = demos.h application_resources.c
78 application.gresource.xml \
85 org.gtk.Demo.gschema.xml
88 org.gtk.Demo.gschema.xml
92 demos.h: @REBUILD@ $(demos) geninclude.pl
93 $(AM_V_GEN) (here=`pwd` ; cd $(srcdir) && $(PERL) $$here/geninclude.pl $(demos)) > demos.h
101 gtk3_demo_DEPENDENCIES = $(DEPS)
102 gtk3_demo_LDADD = $(LDADDS)
103 gtk3_demo_LDFLAGS = -export-dynamic
105 gtk3_demo_application_SOURCES = \
106 application-standalone.c \
107 application_resources.c
109 gtk3_demo_application_LDADD = $(LDADDS)
111 application_resources.c: application.gresource.xml gtk-logo-24.png gtk-logo-48.png application.ui menus.ui
112 $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $(srcdir)/application.gresource.xml
114 IMAGEFILES= alphatest.png \
120 gnome-fs-directory.png \
121 gnome-fs-regular.png \
138 DISTCLEANFILES = demos.h
140 -include $(top_srcdir)/git.mk