audio examples. fix the makefile

This commit is contained in:
Stefan Sauer 2011-10-27 09:42:36 +02:00
parent 76d455825d
commit 3a3b3a5b3b

View 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)