From: Stefan Sauer Date: Thu, 27 Oct 2011 07:42:36 +0000 (+0200) Subject: audio examples. fix the makefile X-Git-Tag: 1.19.3~511^2~6555^2~386 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3a3b3a5b3bb8d6c79e63c062f97a87c5ef4c1d6b;p=platform%2Fupstream%2Fgstreamer.git audio examples. fix the makefile --- diff --git a/tests/examples/audio/Makefile.am b/tests/examples/audio/Makefile.am index f41b3e4..0b8d10a 100644 --- a/tests/examples/audio/Makefile.am +++ b/tests/examples/audio/Makefile.am @@ -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)