X-Git-Url: https://git.draconx.ca/gitweb/aspectbin.git/blobdiff_plain/bbda4fee7164bffd88a627c8ed4c60c22f0fad5c..HEAD:/examples/Makefile.am diff --git a/examples/Makefile.am b/examples/Makefile.am index 4667bbd..1ac8dd4 100644 --- a/examples/Makefile.am +++ b/examples/Makefile.am @@ -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