]> git.draconx.ca Git - aspectbin.git/blobdiff - examples/Makefile.am
Update .gitignore.
[aspectbin.git] / examples / Makefile.am
index 4667bbd87f980959bbf837452b01cd7198031382..1ac8dd4b7b3bd4f0af3e6d58c55e06c73559a8b5 100644 (file)
@@ -1,6 +1,16 @@
-bin_PROGRAMS = simplebuttons
+noinst_PROGRAMS = simplebuttons
+
+AM_CPPFLAGS = -I$(top_srcdir)
 
 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