X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=12cb59a8ca4fb4ea1e026ba15946cc053b6c1483;hb=795ec802a99d8cbc6f8b686b9ec939de79d238c1;hp=d773bc68a38089e7e0a27c889536967cc298371b;hpb=4eb2d088afb94d2fb623a5b307ec5471d2559873;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/Makefile.am b/Makefile.am index d773bc6..12cb59a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,56 +1,82 @@ -if USE_GCONFTOOL -GCONF_DIR=gconf -else -GCONF_DIR= -endif +DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc -if BUILD_EXTERNAL -EXT_DIR=ext -else -EXT_DIR= -endif +ALWAYS_SUBDIRS = \ + gst sys ext \ + tests \ + docs \ + po \ + common \ + m4 \ + pkgconfig -if BUILD_EXAMPLES -EXAMPLES_DIR=examples -else -EXAMPLES_DIR= -endif +SUBDIRS = $(ALWAYS_SUBDIRS) -SUBDIRS=gst-libs \ - gst sys $(EXT_DIR) \ - $(EXAMPLES_DIR) \ - tools \ - $(GCONF_DIR) \ - testsuite \ - po \ - common \ - m4 \ - pkgconfig +DIST_SUBDIRS = $(ALWAYS_SUBDIRS) -DIST_SUBDIRS=ext gst-libs \ - gst sys \ - examples \ - tools \ - gconf \ - testsuite \ - po \ - common \ - m4 \ - pkgconfig +EXTRA_DIST = \ + depcomp \ + AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \ + ChangeLog gst-plugins-good.doap autogen.sh \ + $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/$(PACKAGE_TARNAME)-*" ) \ + meson_options.txt -EXTRA_DIST=gst-plugins.spec depcomp \ - AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \ - ChangeLog autogen.sh +DISTCLEANFILES = _stdint.h -DISTCLEANFILES=_stdint.h +noinst_HEADERS = \ + gst-libs/gst/gettext.h \ + gst-libs/gst/gst-i18n-plugin.h \ + gst-libs/gst/glib-compat-private.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) "*** Still leftover enumtypes or marshal files in the tarball. Please make sure those are not disted." && false ) +ACLOCAL_AMFLAGS = -I m4 -I common/m4 include $(top_srcdir)/common/release.mak include $(top_srcdir)/common/po.mak + +check-valgrind: + $(MAKE) -C tests/check check-valgrind + +if HAVE_GST_CHECK +check-torture: + $(MAKE) -C tests/check torture +build-checks: + $(MAKE) -C tests/check build-checks +else +check-torture: + true +build-checks: + true +endif + +include $(top_srcdir)/common/coverage/lcov.mak + +# cruft: plugins that have been merged or moved or renamed + +CRUFT_FILES = \ + $(top_builddir)/gst-plugins-good.spec \ + $(top_builddir)/win32/common/config.h-new \ + $(top_builddir)/common/shave \ + $(top_builddir)/common/shave-libtool \ + $(top_builddir)/docs/plugins/xml/plugin-shout2send.xml \ + $(top_builddir)/ext/pulse/.libs/libgstpulse.so \ + $(top_builddir)/ext/soup/.libs/libgstsouphttpsrc.so \ + $(top_builddir)/gst/median/.libs/*.{so,dll,DLL,dylib} \ + $(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} \ + $(top_builddir)/sys/directsound/.libs/libgstdirectsoundsink.{dll,DLL} \ + $(top_builddir)/sys/oss4/.libs/libgstoss4audio.so \ + $(top_builddir)/sys/waveform/.libs/libgstwaveformsink.{dll,DLL} + +CRUFT_DIRS = \ + $(top_srcdir)/docs/plugins/tmpl \ + $(top_srcdir)/gst/median \ + $(top_srcdir)/gst/qtdemux \ + $(top_srcdir)/gst/quicktime \ + $(top_srcdir)/ext/annodex \ + $(top_srcdir)/tests/examples/pulse + +include $(top_srcdir)/common/cruft.mak + +all-local: check-cruft