-bin_PROGRAMS = simplebuttons
+noinst_PROGRAMS = simplebuttons
AM_CPPFLAGS = -I$(top_srcdir)
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