]> git.draconx.ca Git - aspectbin.git/blobdiff - examples/Makefile.am
Add an example program which uses glade.
[aspectbin.git] / examples / Makefile.am
index 88a41d41dead0c25d127a9d8d0b8f4c633ebc7b7..1ac8dd4b7b3bd4f0af3e6d58c55e06c73559a8b5 100644 (file)
@@ -6,3 +6,11 @@ simplebuttons_SOURCES = simplebuttons.c
 simplebuttons_CFLAGS  = $(GTK_CFLAGS)
 simplebuttons_LDFLAGS = $(GTK_LIBS)
 simplebuttons_LDADD   = $(top_builddir)/libaspectbin.la
+
+if BUILD_LIBGLADE
+noinst_PROGRAMS     += glade_simple
+glade_simple_SOURCES = glade_simple.c
+glade_simple_CFLAGS  = $(GTK_CFLAGS) $(LIBGLADE_CFLAGS)
+glade_simple_LDFLAGS = $(GTK_LIBS)   $(LIBGLADE_LIBS) -static
+glade_simple_LDADD   = $(top_builddir)/libaspectbin.la
+endif