summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.am34
-rw-r--r--examples/application1/Makefile.am19
-rw-r--r--examples/application10/Makefile.am48
-rw-r--r--examples/application2/Makefile.am30
-rw-r--r--examples/application3/Makefile.am30
-rw-r--r--examples/application4/Makefile.am31
-rw-r--r--examples/application5/Makefile.am45
-rw-r--r--examples/application6/Makefile.am47
-rw-r--r--examples/application7/Makefile.am47
-rw-r--r--examples/application8/Makefile.am48
-rw-r--r--examples/application9/Makefile.am48
-rw-r--r--examples/bp/Makefile.am32
12 files changed, 0 insertions, 459 deletions
diff --git a/examples/Makefile.am b/examples/Makefile.am
deleted file mode 100644
index ae6d51ca03..0000000000
--- a/examples/Makefile.am
+++ /dev/null
@@ -1,34 +0,0 @@
-SUBDIRS = \
- bp \
- application1 application2 application3 \
- application4 application5 application6 \
- application7 application8 application9 \
- application10
-
-AM_CPPFLAGS = \
- -I$(top_srcdir) \
- -I$(top_srcdir)/gdk \
- -I$(top_builddir)/gdk \
- -DGDK_DISABLE_DEPRECATED \
- -DGTK_DISABLE_DEPRECATED \
- $(GTK_DEBUG_FLAGS) \
- $(GTK_DEP_CFLAGS)
-
-LDADD = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-noinst_PROGRAMS = \
- hello-world \
- window-default \
- plugman \
- sunny \
- action-namespace \
- grid-packing \
- drawing \
- builder \
- search-bar
-
-EXTRA_DIST = builder.ui
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application1/Makefile.am b/examples/application1/Makefile.am
deleted file mode 100644
index 4f7c7f4fca..0000000000
--- a/examples/application1/Makefile.am
+++ /dev/null
@@ -1,19 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application10/Makefile.am b/examples/application10/Makefile.am
deleted file mode 100644
index 47b7a11edf..0000000000
--- a/examples/application10/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- exampleappprefs.c exampleappprefs.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- prefs.ui \
- gears-menu.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application2/Makefile.am b/examples/application2/Makefile.am
deleted file mode 100644
index 7f2a64c0fc..0000000000
--- a/examples/application2/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- resources.c
-
-BUILT_SOURCES = resources.c
-
-resources.c: exampleapp.gresource.xml window.ui
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-EXTRA_DIST = \
- window.ui \
- exampleapp.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application3/Makefile.am b/examples/application3/Makefile.am
deleted file mode 100644
index 7f2a64c0fc..0000000000
--- a/examples/application3/Makefile.am
+++ /dev/null
@@ -1,30 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- resources.c
-
-BUILT_SOURCES = resources.c
-
-resources.c: exampleapp.gresource.xml window.ui
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-EXTRA_DIST = \
- window.ui \
- exampleapp.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application4/Makefile.am b/examples/application4/Makefile.am
deleted file mode 100644
index 9515304ecf..0000000000
--- a/examples/application4/Makefile.am
+++ /dev/null
@@ -1,31 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- resources.c
-
-BUILT_SOURCES = resources.c
-
-resources.c: exampleapp.gresource.xml window.ui app-menu.ui
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- exampleapp.gresource.xml
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application5/Makefile.am b/examples/application5/Makefile.am
deleted file mode 100644
index b5f35ca1e1..0000000000
--- a/examples/application5/Makefile.am
+++ /dev/null
@@ -1,45 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml window.ui app-menu.ui
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application6/Makefile.am b/examples/application6/Makefile.am
deleted file mode 100644
index e043cd1074..0000000000
--- a/examples/application6/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- exampleappprefs.c exampleappprefs.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- prefs.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application7/Makefile.am b/examples/application7/Makefile.am
deleted file mode 100644
index e043cd1074..0000000000
--- a/examples/application7/Makefile.am
+++ /dev/null
@@ -1,47 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- exampleappprefs.c exampleappprefs.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- prefs.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application8/Makefile.am b/examples/application8/Makefile.am
deleted file mode 100644
index 47b7a11edf..0000000000
--- a/examples/application8/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- exampleappprefs.c exampleappprefs.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- prefs.ui \
- gears-menu.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/application9/Makefile.am b/examples/application9/Makefile.am
deleted file mode 100644
index 47b7a11edf..0000000000
--- a/examples/application9/Makefile.am
+++ /dev/null
@@ -1,48 +0,0 @@
-GTK_CFLAGS = \
- -I$(top_srcdir) \
- $(GTK_DEP_CFLAGS)
-
-GTK_LIBS = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(GTK_DEP_LIBS)
-
-
-noinst_PROGRAMS = exampleapp
-
-exampleapp_CFLAGS = $(GTK_CFLAGS)
-exampleapp_LDADD = $(GTK_LIBS)
-exampleapp_SOURCES = \
- main.c \
- exampleapp.c exampleapp.h \
- exampleappwin.c exampleappwin.h \
- exampleappprefs.c exampleappprefs.h \
- resources.c
-
-BUILT_SOURCES = \
- resources.c \
- gschemas.compiled
-
-resources.c: exampleapp.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/exampleapp.gresource.xml)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/exampleapp.gresource.xml \
- --target=$@ --sourcedir=$(srcdir) --generate-source
-
-gsettings_SCHEMAS = \
- org.gtk.exampleapp.gschema.xml
-
-@GSETTINGS_RULES@
-
-gschemas.compiled: org.gtk.exampleapp.gschema.xml
- $(GLIB_COMPILE_SCHEMAS) .
-
-EXTRA_DIST = \
- window.ui \
- app-menu.ui \
- prefs.ui \
- gears-menu.ui \
- exampleapp.gresource.xml \
- org.gtk.exampleapp.gschema.xml
-
-CLEANFILES = \
- gschemas.compiled
-
--include $(top_srcdir)/git.mk
diff --git a/examples/bp/Makefile.am b/examples/bp/Makefile.am
deleted file mode 100644
index 72dff40bc2..0000000000
--- a/examples/bp/Makefile.am
+++ /dev/null
@@ -1,32 +0,0 @@
-AM_CPPFLAGS = \
- -DSRCDIR=\"$(abs_srcdir)\" \
- -I$(top_srcdir) \
- -I$(top_srcdir)/gdk \
- -I$(top_builddir)/gdk \
- $(GTK_DEBUG_FLAGS) \
- $(GTK_DEP_CFLAGS)
-
-LDADD = \
- $(top_builddir)/gtk/libgtk-4.la \
- $(top_builddir)/gdk/libgdk-4.la \
- $(GTK_DEP_LIBS)
-
-noinst_PROGRAMS = bloatpad
-
-
-bloatpad_SOURCES = bloatpad.c
-nodist_bloatpad_SOURCES = bloatpad-gresources.c
-
-resource_files = \
- bloatpad.gresources.xml \
- gtk/menus.ui \
- gtk/help-overlay.ui
-
-bloatpad-gresources.c: $(resource_files)
- $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
-
-CLEANFILES = bloatpad-gresources.c
-
-EXTRA_DIST = $(resource_files)
-
--include $(top_srcdir)/git.mk