[gtk/backport-font-feature-pango-hb: 7/12] gtk-demo: Split out demo sources from Makefile.am
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/backport-font-feature-pango-hb: 7/12] gtk-demo: Split out demo sources from Makefile.am
- Date: Fri, 26 Nov 2021 08:18:02 +0000 (UTC)
commit f5794bb780eda7c3c0f56d08730f5752d291fc9b
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Nov 25 17:21:32 2021 +0800
gtk-demo: Split out demo sources from Makefile.am
This way, we can share the demo listing to be used in other build
Makefile-based build systems, such as the auxiliary NMake Makefiles used
to generate the various sources.
demos/gtk-demo/Makefile.am | 78 ++--------------------------------------
demos/gtk-demo/demos-sources.mak | 75 ++++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+), 75 deletions(-)
---
diff --git a/demos/gtk-demo/Makefile.am b/demos/gtk-demo/Makefile.am
index 4a2f827469..9aa106257a 100644
--- a/demos/gtk-demo/Makefile.am
+++ b/demos/gtk-demo/Makefile.am
@@ -1,87 +1,15 @@
## Makefile.am for gtk+/demos
include $(top_srcdir)/Makefile.decl
-
-## These should be in the order you want them to appear in the
-## demo app, which means alphabetized by demo title, not filename
-demos_base = \
- application_demo.c \
- assistant.c \
- builder.c \
- button_box.c \
- changedisplay.c \
- clipboard.c \
- colorsel.c \
- combobox.c \
- css_accordion.c \
- css_basics.c \
- css_blendmodes.c \
- css_multiplebgs.c \
- css_pixbufs.c \
- css_shadows.c \
- cursors.c \
- dialog.c \
- drawingarea.c \
- editable_cells.c \
- entry_buffer.c \
- entry_completion.c \
- event_axes.c \
- expander.c \
- filtermodel.c \
- fishbowl.c \
- foreigndrawing.c \
- gestures.c \
- glarea.c \
- headerbar.c \
- hypertext.c \
- iconview.c \
- iconview_edit.c \
- images.c \
- infobar.c \
- links.c \
- listbox.c \
- flowbox.c \
- list_store.c \
- markup.c \
- menus.c \
- modelbutton.c \
- offscreen_window.c \
- offscreen_window2.c \
- overlay.c \
- overlay2.c \
- paint.c \
- panes.c \
- pickers.c \
- pixbufs.c \
- popover.c \
- printing.c \
- revealer.c \
- rotated_text.c \
- scale.c \
- search_entry.c \
- search_entry2.c \
- shortcuts.c \
- sidebar.c \
- sizegroup.c \
- spinbutton.c \
- spinner.c \
- stack.c \
- tabs.c \
- textmask.c \
- textview.c \
- textscroll.c \
- theming_style_classes.c \
- toolpalette.c \
- transparent.c \
- tree_store.c
+include $(srcdir)/demos-sources.mak
demos_opt =
if BUILD_FONT_DEMO
-demos_opt += font_features.c
+demos_opt += $(font_features_demo)
endif
if OS_UNIX
-demos_opt += pagesetup.c
+demos_opt += $(page_setup_demo)
endif
demos = $(demos_base) $(demos_opt)
diff --git a/demos/gtk-demo/demos-sources.mak b/demos/gtk-demo/demos-sources.mak
new file mode 100644
index 0000000000..e6b1940330
--- /dev/null
+++ b/demos/gtk-demo/demos-sources.mak
@@ -0,0 +1,75 @@
+## These should be in the order you want them to appear in the
+## demo app, which means alphabetized by demo title, not filename
+demos_base = \
+ application_demo.c \
+ assistant.c \
+ builder.c \
+ button_box.c \
+ changedisplay.c \
+ clipboard.c \
+ colorsel.c \
+ combobox.c \
+ css_accordion.c \
+ css_basics.c \
+ css_blendmodes.c \
+ css_multiplebgs.c \
+ css_pixbufs.c \
+ css_shadows.c \
+ cursors.c \
+ dialog.c \
+ drawingarea.c \
+ editable_cells.c \
+ entry_buffer.c \
+ entry_completion.c \
+ event_axes.c \
+ expander.c \
+ filtermodel.c \
+ fishbowl.c \
+ foreigndrawing.c \
+ gestures.c \
+ glarea.c \
+ headerbar.c \
+ hypertext.c \
+ iconview.c \
+ iconview_edit.c \
+ images.c \
+ infobar.c \
+ links.c \
+ listbox.c \
+ flowbox.c \
+ list_store.c \
+ markup.c \
+ menus.c \
+ modelbutton.c \
+ offscreen_window.c \
+ offscreen_window2.c \
+ overlay.c \
+ overlay2.c \
+ paint.c \
+ panes.c \
+ pickers.c \
+ pixbufs.c \
+ popover.c \
+ printing.c \
+ revealer.c \
+ rotated_text.c \
+ scale.c \
+ search_entry.c \
+ search_entry2.c \
+ shortcuts.c \
+ sidebar.c \
+ sizegroup.c \
+ spinbutton.c \
+ spinner.c \
+ stack.c \
+ tabs.c \
+ textmask.c \
+ textview.c \
+ textscroll.c \
+ theming_style_classes.c \
+ toolpalette.c \
+ transparent.c \
+ tree_store.c
+
+font_features_demo = font_features.c
+page_setup_demo = pagesetup.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]