]> Pileus Git - ~andy/gtk/commitdiff
Move widget-factory to demos/
authorMatthias Clasen <mclasen@redhat.com>
Thu, 9 Feb 2012 13:45:40 +0000 (08:45 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Feb 2012 13:45:40 +0000 (08:45 -0500)
Lets install this, for the benefit of artists everywhere.

configure.ac
demos/Makefile.am
demos/widget-factory/Makefile.am [new file with mode: 0644]
demos/widget-factory/widget-factory.c [moved from tests/widget-factory.c with 100% similarity]
demos/widget-factory/widget-factory.ui [moved from tests/widget-factory.ui with 100% similarity]
tests/Makefile.am

index 649fbaaa9b6447aab766350bb6507dfe63dc8aef..75761d532283251a8ab94174605489f73f88a3eb 100644 (file)
@@ -1748,6 +1748,7 @@ demos/Makefile
 demos/gtk-demo/Makefile
 demos/gtk-demo/geninclude.pl
 demos/pixbuf-demo/Makefile
+demos/widget-factory/Makefile
 examples/Makefile
 tests/Makefile
 tests/a11y/Makefile
index 254458d6c5fef5bda30c37a1f65a540512298cee..85bf0b4e67c729d0150ed5ac16910f2f93b5861a 100644 (file)
@@ -1,6 +1,6 @@
 ## Makefile.am for gtk+/demos
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = gtk-demo pixbuf-demo
+SUBDIRS = gtk-demo widget-factory pixbuf-demo
 
 -include $(top_srcdir)/git.mk
diff --git a/demos/widget-factory/Makefile.am b/demos/widget-factory/Makefile.am
new file mode 100644 (file)
index 0000000..93bb927
--- /dev/null
@@ -0,0 +1,20 @@
+include $(top_srcdir)/Makefile.decl
+
+bin_PROGRAMS = gtk3-widget-factory
+
+gtk3_widget_factory_SOURCES = \
+       widget-factory.c
+
+gtk3_widget_factory_DEPENDENCIES = \
+       $(top_builddir)/gtk/libgtk-3.la
+
+gtk3_widget_factory_CPPFLAGS = \
+       -I$(top_srcdir)                 \
+       $(GTK_DEBUG_FLAGS)              \
+       $(GTK_DEP_CFLAGS)
+
+gtk3_widget_factory_LDADD = \
+       $(top_builddir)/gdk/libgdk-3.la \
+       $(top_builddir)/gtk/libgtk-3.la
+
+EXTRA_DIST += widget-factory.ui
index 9652b41ff28ba759b823e505deae53bee70f1258..6c1c1d854efbee281f700efc9d8ff4e51c904eae 100644 (file)
@@ -121,7 +121,6 @@ noinst_PROGRAMS =  $(TEST_PROGS)    \
        testpixbuf-save                 \
        testpixbuf-color                \
        testpixbuf-scale                \
-       widget-factory                  \
        testgmenu                       \
        testlogout
 
@@ -238,7 +237,6 @@ testanimation_DEPENDENCIES = $(TEST_DEPS)
 testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
 testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
 testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
-widget_factory_DEPENDENCIES = $(TEST_DEPS)
 testgmenu_DEPENDENCIES = $(TEST_DEPS)
 testlogout_DEPENDENCIES = $(TEST_DEPS)
 
@@ -339,7 +337,6 @@ testanimation_LDADD = $(LDADDS)
 testpixbuf_save_LDADD = $(LDADDS)
 testpixbuf_color_LDADD = $(LDADDS)
 testpixbuf_scale_LDADD = $(LDADDS)
-widget_factory_LDADD = $(LDADDS)
 testgmenu_LDADD = $(LDADDS)
 testlogout_LDADD = $(LDADDS)
 
@@ -522,8 +519,6 @@ testpixbuf_color_SOURCES = testpixbuf-color.c
 
 testpixbuf_save_SOURCES = testpixbuf-save.c
 
-widget_factory_SOURCES = widget-factory.c
-
 
 EXTRA_DIST +=                  \
        gradient1.png           \
@@ -545,8 +540,7 @@ EXTRA_DIST +=                       \
        merge-2.ui              \
        merge-3.ui              \
        gnome-textfile.png      \
-       makefile.msc            \
-       widget-factory.ui
+       makefile.msc
 
 
 -include $(top_srcdir)/git.mk