]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gst-plugins-ugly0-10.git/blobdiff - Makefile.am
x264enc: remove leaking "optimization"
[glsdk/gst-plugins-ugly0-10.git] / Makefile.am
index 6c5ae33e77998a73a6d2a360eb93b59dc233d6c1..08ceae8f854e9493f3eb5eb75b63b5d703768517 100644 (file)
@@ -1,52 +1,48 @@
-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
+SUBDIRS = \
+       gst-libs gst ext docs m4 tests common pkgconfig po
 
-if BUILD_EXAMPLES
-EXAMPLES_DIR=examples
-else
-EXAMPLES_DIR=
-endif
+# include before EXTRA_DIST for win32 assignment
+include $(top_srcdir)/common/win32.mak
+       
+EXTRA_DIST = \
+       gst-plugins-ugly.spec depcomp \
+       AUTHORS COPYING NEWS README RELEASE REQUIREMENTS \
+       ChangeLog gst-plugins-ugly.doap autogen.sh \
+       $(win32)
+       
 
-all-local: gstreamer-libs-@GST_MAJORMINOR@.pc gstreamer-play-@GST_MAJORMINOR@.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc gst-element-check-@GST_MAJORMINOR@.m4
+DISTCLEANFILES = _stdint.h
 
-gstreamer-libs-@GST_MAJORMINOR@.pc: gstreamer-libs.pc gstreamer-libs.pc.in
-       cp gstreamer-libs.pc gstreamer-libs-@GST_MAJORMINOR@.pc
-gstreamer-play-@GST_MAJORMINOR@.pc: gstreamer-play.pc gstreamer-play.pc.in
-       cp gstreamer-play.pc gstreamer-play-@GST_MAJORMINOR@.pc
-gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-libs-uninstalled.pc gstreamer-libs-uninstalled.pc.in
-       cp gstreamer-libs-uninstalled.pc gstreamer-libs-@GST_MAJORMINOR@-uninstalled.pc
-gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc: gstreamer-play-uninstalled.pc gstreamer-play-uninstalled.pc.in
-       cp gstreamer-play-uninstalled.pc gstreamer-play-@GST_MAJORMINOR@-uninstalled.pc
-gst-element-check-@GST_MAJORMINOR@.m4: gst-element-check.m4
-       cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_MAJORMINOR@.m4
+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
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = \
-       gstreamer-libs-@GST_MAJORMINOR@.pc \
-       gstreamer-play-@GST_MAJORMINOR@.pc
+win32-update:
+       cp $(top_builddir)/win32/common/config.h-new \
+           $(top_builddir)/win32/common/config.h
 
-aclocaldir = $(datadir)/aclocal
-aclocal_DATA = gst-element-check-@GST_MAJORMINOR@.m4
+include $(top_srcdir)/common/coverage/lcov.mak
 
-SUBDIRS=gst-libs gst sys $(EXT_DIR) $(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite
+# cruft: plugins that have been merged or moved or renamed
 
-DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite
+CRUFT_FILES = \
+       $(top_builddir)/common/shave \
+       $(top_builddir)/common/shave-libtool
 
-EXTRA_DIST=gst-plugins.spec depcomp gst-element-check.m4 \
-           gstreamer-libs.pc.in gstreamer-libs-uninstalled.pc.in \
-           gstreamer-play.pc.in gstreamer-play-uninstalled.pc.in \
-          AUTHORS COPYING README RELEASE REQUIREMENTS \
-          ChangeLog autogen.sh common m4
+include $(top_srcdir)/common/cruft.mak
 
-dist-hook:
-       rm -rf `find $(distdir)/common -name CVS`
-       rm -rf `find $(distdir)/m4 -name CVS`
+all-local: check-cruft