X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile.am;h=6c9786fe244e5ee1e914254c6307b2fac1bdc6f2;hb=2706a35ebe4b0c44a6c668337be7d5b264da654a;hp=9c4c93bb0207392687f5c0f266ffa101514cc5e5;hpb=6578b08562dca748fcbadb357506a968953628d7;p=platform%2Fupstream%2Fgst-plugins-good.git diff --git a/Makefile.am b/Makefile.am index 9c4c93b..6c9786f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,49 +1,79 @@ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc -if USE_GCONFTOOL -GCONF_DIR = gconf -else -GCONF_DIR = -endif - -if HAVE_CHECK -SUBDIRS_CHECK = check -else -SUBDIRS_CHECK = -endif - ALWAYS_SUBDIRS = \ gst sys ext \ + tests \ docs \ po \ - m4 common + common \ + m4 \ + pkgconfig + +SUBDIRS = $(ALWAYS_SUBDIRS) -SUBDIRS = \ - $(ALWAYS_SUBDIRS) \ - $(SUBDIRS_CHECK) \ - $(GCONF_DIR) +DIST_SUBDIRS = $(ALWAYS_SUBDIRS) -DIST_SUBDIRS = \ - $(ALWAYS_SUBDIRS) \ - check \ - gconf +# include before EXTRA_DIST for win32 assignment +include $(top_srcdir)/common/win32.mak EXTRA_DIST = \ gst-plugins-good.spec depcomp \ AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \ - ChangeLog autogen.sh + ChangeLog gst-plugins-good.doap autogen.sh \ + $(win32) DISTCLEANFILES = _stdint.h noinst_HEADERS = \ gst-libs/gst/gettext.h \ - gst-libs/gst/gst-i18n-plugin.h + gst-libs/gst/gst-i18n-plugin.h \ + gst-libs/gst/glib-compat-private.h + +ACLOCAL_AMFLAGS = -I m4 -I common/m4 include $(top_srcdir)/common/release.mak -# include $(top_srcdir)/common/po.mak +include $(top_srcdir)/common/po.mak check-valgrind: - cd check && make 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: - cd check && make check-torture + true +build-checks: + true +endif + +win32-update: + 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/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} + +CRUFT_DIRS = \ + $(top_srcdir)/docs/plugins/tmpl \ + $(top_srcdir)/gst/median \ + $(top_srcdir)/gst/qtdemux \ + $(top_srcdir)/gst/quicktime \ + $(top_srcdir)/ext/annodex + +include $(top_srcdir)/common/cruft.mak + +all-local: check-cruft