Also fix it up a little to not include 'c' file but link to the libs instead.
tests/check/Makefile
tests/examples/Makefile
tests/examples/app/Makefile
+tests/examples/audio/Makefile
tests/examples/dynamic/Makefile
tests/examples/encoding/Makefile
tests/examples/gio/Makefile
libgstaudio_la-multichannel-enumtypes.lo
audio-enumtypes.c
audio-enumtypes.h
-testchannels
+
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la
libgstaudio_@GST_MAJORMINOR@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) $(GST_LT_LDFLAGS)
-noinst_PROGRAMS = testchannels
-testchannels_SOURCES = testchannels.c
-testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
-testchannels_LDADD = $(GST_LIBS)
-
include $(top_srcdir)/common/gst-glib-gen.mak
if HAVE_INTROSPECTION
GIO_SUBDIRS = gio
endif
-SUBDIRS = app dynamic $(FT2_SUBDIRS) $(GIO_SUBDIRS) overlay playrec volume v4l encoding
+SUBDIRS = app audio dynamic $(FT2_SUBDIRS) $(GIO_SUBDIRS) overlay playrec volume v4l encoding
DIST_SUBDIRS = app dynamic gio overlay seek snapshot playrec volume v4l encoding
--- /dev/null
+testchannels
--- /dev/null
+
+noinst_PROGRAMS = testchannels
+testchannels_SOURCES = testchannels.c
+testchannels_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+testchannels_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_MAJORMINOR) $(GST_LIBS)
+
* Boston, MA 02111-1307, USA.
*/
-#include "multichannel.c"
-#include "audio-enumtypes.c"
+#include <gst/audio/multichannel.h>
+#include <gst/audio/audio-enumtypes.h>
gint
main (gint argc, gchar * argv[])