audio examples. fix the makefile
authorStefan Sauer <ensonic@users.sf.net>
Thu, 27 Oct 2011 07:42:36 +0000 (09:42 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Thu, 27 Oct 2011 07:42:36 +0000 (09:42 +0200)
tests/examples/audio/Makefile.am

index f41b3e4..0b8d10a 100644 (file)
@@ -1,12 +1,17 @@
+if HAVE_GTK
+GTK_EXAMPLES = audiomix
+else
+GTK_EXAMPLES =
+endif
+
+noinst_PROGRAMS = testchannels $(GTK_EXAMPLES)
 
-noinst_PROGRAMS = testchannels
 testchannels_SOURCES = testchannels.c
 testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
 testchannels_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-$(GST_MAJORMINOR).la \
                      $(GST_LIBS)
 
 if HAVE_GTK
-noinst_PROGRAMS = audiomix
 audiomix_SOURCES = audiomix.c
 audiomix_CFLAGS = $(GST_CFLAGS) $(GTK_CFLAGS) -D_GNU_SOURCE
 audiomix_LDADD = $(GST_LIBS) $(GTK_LIBS) $(LIBM)