-if BUILD_DOCS
-# disabled until it actually works
-# SUBDIRS_DOCS = docs
-SUBDIRS_DOCS =
-else
-SUBDIRS_DOCS =
-endif
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-# if USE_GCONFTOOL
-# GCONF_DIR = gconf
-# else
-GCONF_DIR =
-# endif
+ALWAYS_SUBDIRS = \
+ gst sys ext \
+ tests \
+ docs \
+ po \
+ common \
+ m4 \
+ pkgconfig
-SUBDIRS = \
- gst sys ext \
- $(GCONF_DIR) \
- m4 common
-# disabled
-# $(SUBDIRS_DOCS)
+SUBDIRS = $(ALWAYS_SUBDIRS)
-DIST_SUBDIRS = \
- gst sys ext \
- m4 common
+DIST_SUBDIRS = $(ALWAYS_SUBDIRS)
-# disabled
-# docs
+# include before EXTRA_DIST for win32 assignment
+include $(top_srcdir)/common/win32.mak
EXTRA_DIST = \
- gst-plugins.spec depcomp \
- AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
- ChangeLog autogen.sh
+ gst-plugins-good.spec depcomp \
+ AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
+ ChangeLog gst-plugins-good.doap autogen.sh \
+ $(win32)
DISTCLEANFILES = _stdint.h
-# check that no marshal or enumtypes files are included
-# this in turn ensures that distcheck fails for missing .list files which is currently
-# shadowed when the corresponding .c and .h files are included.
-distcheck-hook:
- @test "x" = "x`find $(distdir) -name \*-enumtypes.[ch]`" && \
- test "x" = "x`find $(distdir) -name \*-marshal.[ch]`" || \
- ( $(ECHO) "*** Leftover enumtypes or marshal files in the tarball." && \
- $(ECHO) "*** Make sure the following files are not disted:" && \
- find $(distdir) -name \*-enumtypes.[ch] && \
- find $(distdir) -name \*-marshal.[ch] && \
- false )
-
-# include $(top_srcdir)/common/release.mak
-# include $(top_srcdir)/common/po.mak
+noinst_HEADERS = \
+ gst-libs/gst/gettext.h \
+ gst-libs/gst/gst-i18n-plugin.h
+
+ACLOCAL_AMFLAGS = -I m4 -I common/m4
+
+include $(top_srcdir)/common/release.mak
+include $(top_srcdir)/common/po.mak
+
+check-valgrind:
+ cd tests/check && make check-valgrind
+
+if HAVE_GST_CHECK
+check-torture:
+ cd tests/check && make torture
+else
+check-torture:
+ true
+endif
+
+win32-update:
+ for f in gst/udp/gstudp-marshal.c \
+ gst/udp/gstudp-marshal.h \
+ gst/udp/gstudp-enumtypes.c \
+ gst/udp/gstudp-enumtypes.h \
+ gst/rtpmanager/gstrtpbin-marshal.c \
+ gst/rtpmanager/gstrtpbin-marshal.h ; do \
+ cp $(top_builddir)/$$f win32/common; done
+ $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
+ $(top_srcdir)/common/gst-indent win32/common/gstudp-marshal.c
+ $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
+ $(top_srcdir)/common/gst-indent win32/common/gstudp-enumtypes.c
+ $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
+ $(top_srcdir)/common/gst-indent gst/rtpmanager/gstrtpbin-marshal.c
+ cp $(top_builddir)/win32/common/config.h-new \
+ $(top_srcdir)/win32/common/config.h
+
+include $(top_srcdir)/common/coverage/lcov.mak
+
+# cruft: plugins that have been merged or moved or renamed
+
+CRUFT_FILES = \
+ $(top_builddir)/common/shave \
+ $(top_builddir)/common/shave-libtool \
+ $(top_builddir)/gst/qtdemux/.libs/*.{so,dll,DLL,dylib} \
+ $(top_builddir)/gst/quicktime/.libs/*.{so,dll,DLL,dylib} \
+ $(top_builddir)/gst/videofilter/.libs/*videoflip.{so,dll,DLL,dylib} \
+ $(top_builddir)/gst/videofilter/.libs/*videobalance.{so,dll,DLL,dylib} \
+ $(top_builddir)/gst/videofilter/.libs/*gamma.{so,dll,DLL,dylib}
+
+CRUFT_DIRS = \
+ $(top_srcdir)/gst/qtdemux \
+ $(top_srcdir)/gst/quicktime
+
+include $(top_srcdir)/common/cruft.mak
+
+all-local: check-cruft