plugin_LTLIBRARIES = libgstossaudio.la
-libgstossaudio_la_SOURCES = gstossaudio.c \
- gstosselement.c \
- gstossmixer.c \
- gstosssink.c \
+libgstossaudio_la_SOURCES = gstossaudio.c \
+ gstosshelper.c \
+ gstosssink.c \
gstosssrc.c
-libgstossaudio_la_CFLAGS = $(GST_CFLAGS)
-libgstossaudio_la_LIBADD = $(top_builddir)/gst-libs/gst/libgstinterfaces-@GST_MAJORMINOR@.la
-libgstossaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
-
-noinst_HEADERS = gstosssink.h \
- gstosssrc.h \
- gstosselement.h\
- gstossmixer.h
-
-noinst_PROGRAMS = oss_probe
-
-oss_probe_SOURCES = oss_probe.c
-oss_probe_CFLAGS = $(GST_CFLAGS)
-oss_probe_LDADD = $(GLIB_LIBS)
+libgstossaudio_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
+libgstossaudio_la_LIBADD = \
+ $(GST_PLUGINS_BASE_LIBS) \
+ -lgstaudio-$(GST_API_VERSION) \
+ $(GST_BASE_LIBS) \
+ $(GST_LIBS)
+libgstossaudio_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
+noinst_HEADERS = common.h \
+ gstosssink.h \
+ gstosssrc.h \
+ gstosshelper.h \
+ gstossdmabuffer.h