-filterdir = $(libdir)/gst
+# FIXME:
+# need to get gstbufferstore.[ch] into its own lib, preferrably
+# libs/gst/buifferstore
+# This requires building libs/gst before this dir, which we currently don't
+# do.
-filter_LTLIBRARIES = libgstelements.la
+plugin_LTLIBRARIES = libgstelements.la
+AS_LIBTOOL_LIB = libgstelements
-if HAVE_LIBGHTTP
-GSTHTTPSRC=gsthttpsrc.c
+EXTRA_DIST = $(as_libtool_EXTRA_DIST)
+noinst_DATA = $(as_libtool_noinst_DATA_files)
+
+# FIXME:
+# Disable multifilesrc on Windows, cause it uses mmap excessively
+# and I don't feel like fixing it yet. See also the disablement
+# in gstelements.c.
+if AS_LIBTOOL_WIN32
+multifilesrc =
+pipefilter =
else
-GSTHTTPSRC=
+multifilesrc = gstmultifilesrc.c
+pipefilter = gstpipefilter.c
endif
-libgstelements_la_DEPENDENCIES = ../libgst.la
+libgstelements_la_DEPENDENCIES = ../libgstreamer-@GST_MAJORMINOR@.la
libgstelements_la_SOURCES = \
- gstelements.c \
gstfakesrc.c \
- gstidentity.c \
gstfakesink.c \
- gstdisksrc.c \
- gstasyncdisksrc.c \
- gstfdsrc.c \
- gstaudiosink.c \
- gstaudiosrc.c \
+ gstfilesrc.c \
+ gstidentity.c \
+ gstelements.c \
+ gsttee.c
+
+# FIXME 0.9: mentioned by po/POTFILES.in, so we include them here --
+# this is a short-term hack, really we should just decide the fate of
+# these files above, then this will be unnecessary
+EXTRA_DIST += \
+ gstaggregator.c \
+ gstbufferstore.c \
+ gstfilesink.c \
gstfdsink.c \
+ gstfdsrc.c \
+ gstmd5sink.c \
+ gstmultifilesrc.c \
gstpipefilter.c \
- gstqueue.c \
- gsttee.c \
- gsttypefind.c \
- gstsinesrc.c \
- $(GSTHTTPSRC)
+ gstshaper.c \
+ gststatistics.c \
+ gsttypefindelement.c
+
+
+libgstelements_la_CFLAGS = $(GST_OBJ_CFLAGS)
+libgstelements_la_LIBADD = $(GST_OBJ_LIBS) \
+ $(top_builddir)/gst/base/libgstbase-@GST_MAJORMINOR@.la \
+ $(top_builddir)/gst/libgstreamer-@GST_MAJORMINOR@.la
+libgstelements_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) $(as_libtool_LDFLAGS)
noinst_HEADERS = \
- gstfakesrc.h \
- gstidentity.h \
+ gstaggregator.h \
+ gstbufferstore.h \
gstfakesink.h \
- gstdisksrc.h \
- gstasyncdisksrc.h \
- gstfdsrc.h \
- gsthttpsrc.h \
- gstaudiosink.h \
- gstaudiosrc.h \
+ gstfakesrc.h \
gstfdsink.h \
+ gstfdsrc.h \
+ gstfilesink.h \
+ gstfilesrc.h \
+ gstidentity.h \
+ gstmd5sink.h \
+ gstmultifilesrc.h \
gstpipefilter.h \
- gstqueue.h \
+ gstshaper.h \
+ gststatistics.h \
gsttee.h \
- gsttypefind.h \
- gstsinesrc.h
+ gsttypefindelement.h
+
+install-data-local: as-libtool-install-data-local
+
+uninstall-local: as-libtool-uninstall-local
-CFLAGS += -O2 -Wall
+include $(top_srcdir)/common/as-libtool.mak
-libgstelements_la_LIBADD = $(GHTTP_LIBS)
-libgstelements_la_LDFLAGS = -version-info $(GSTREAMER_LIBVERSION)