dvbsrc: spell-check
[platform/upstream/gstreamer.git] / Makefile.am
index ae2e7da..153fef5 100644 (file)
-# if USE_GCONFTOOL
-# GCONF_DIR = gconf
-# else
-GCONF_DIR =
-# endif
-
-SUBDIRS =                      \
-       gst sys ext gst-libs    \
-       $(GCONF_DIR)            \
-       m4 common po
-# disabled
-#      $(SUBDIRS_DOCS)
-
-DIST_SUBDIRS =                         \
-       gst sys ext gst-libs    \
-       m4 common po
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+
+SUBDIRS = \
+       gst-libs gst sys ext pkgconfig \
+       m4 common docs tests po tools
+
+DIST_SUBDIRS = \
+       gst gst-libs sys ext pkgconfig \
+       m4 common docs tests po tools
+
+# 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-bad.spec depcomp \
+       AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
+       ChangeLog gst-plugins-bad.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
+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
+
+include $(top_srcdir)/common/coverage/lcov.mak
+
+check: check-exports
+
+# cruft: plugins that have been merged or moved or renamed
+
+CRUFT_FILES = \
+       $(top_builddir)/common/shave \
+       $(top_builddir)/common/shave-libtool \
+       $(top_builddir)/ext/alsaspdif/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/ext/ivorbis/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/ext/jack/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/aacparse/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/amrparse/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/audioparsers/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/flacparse/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/imagefreeze/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/mpeg4videoparse/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/qtmux/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/selector/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/shapewipe/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/valve/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/gst/videoparsers/.libs/libgsth263parse* \
+       $(top_builddir)/gst-libs/gst/baseparse/.libs/libgstbaseparse* \
+       $(top_builddir)/sys/oss4/.libs/*.{so,dll,DLL,dylib} \
+       $(top_builddir)/tests/check/elements/{aac,ac3,amr,flac,mpegaudio,dca}parse \
+       $(top_builddir)/tests/check/elements/autocolorspace \
+       $(top_builddir)/tests/check/elements/capssetter \
+       $(top_builddir)/tests/check/elements/imagefreeze \
+       $(top_builddir)/tests/check/elements/qtmux \
+       $(top_builddir)/tests/check/elements/selector \
+       $(top_builddir)/tests/check/elements/valve \
+       $(top_builddir)/tests/check/pipelines/metadata \
+       $(top_builddir)/tests/examples/jack/jack_client \
+       $(top_builddir)/tests/examples/switch/switcher \
+       $(top_builddir)/tests/icles/output-selector-test \
+       $(top_builddir)/tests/icles/test-oss4 \
+       $(top_builddir)/tests/icles/equalizer-test
+
+CRUFT_DIRS = \
+       $(top_srcdir)/gst/aacparse \
+       $(top_srcdir)/gst/amrparse \
+       $(top_srcdir)/gst/flacparse \
+       $(top_srcdir)/gst/imagefreeze \
+       $(top_srcdir)/gst/invtelecine \
+       $(top_srcdir)/gst/mpeg4videoparse \
+       $(top_srcdir)/gst/qtmux \
+       $(top_srcdir)/gst/selector \
+       $(top_srcdir)/gst/shapewipe \
+       $(top_srcdir)/gst/valve \
+       $(top_srcdir)/gst-libs/gst/baseparse \
+       $(top_srcdir)/tests/examples/shapewipe \
+       $(top_srcdir)/tests/examples/switch \
+       $(top_srcdir)/tests/examples/jack \
+       $(top_srcdir)/ext/alsaspdif \
+       $(top_srcdir)/ext/amrwbenc \
+       $(top_srcdir)/ext/ivorbis \
+       $(top_srcdir)/ext/jack \
+       $(top_srcdir)/ext/metadata \
+       $(top_srcdir)/ext/tarkin \
+       $(top_srcdir)/ext/theora
+
+include $(top_srcdir)/common/cruft.mak
+
+all-local: check-cruft