ext/taglib/: Remove useless typedefs without new type name. Fixes a warning with...
[platform/upstream/gst-plugins-good.git] / Makefile.am
index 696b60d..17f646c 100644 (file)
@@ -1,37 +1,51 @@
+DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
+
 if USE_GCONFTOOL
-GCONF_DIR=gconf
+GCONF_DIR = gconf
 else
-GCONF_DIR=
+GCONF_DIR =
 endif
 
-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)       \
+       $(GCONF_DIR)
+
+DIST_SUBDIRS =                         \
+       $(ALWAYS_SUBDIRS)       \
+       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 gst-plugins-good.doap autogen.sh \
+       $(win32)
 
-pkgconfigdir = $(libdir)/pkgconfig
-pkgconfig_DATA = gstreamer-libs.pc gstreamer-play.pc
+DISTCLEANFILES = _stdint.h
 
-aclocaldir = $(datadir)/aclocal
-aclocal_DATA = gst-element-check.m4
+noinst_HEADERS = \
+       gst-libs/gst/gettext.h \
+       gst-libs/gst/gst-i18n-plugin.h
 
-SUBDIRS=gst-libs gst sys $(EXT_DIR) $(EXAMPLES_DIR) tools $(GCONF_DIR) testsuite
+ACLOCAL_AMFLAGS = -I m4 -I common/m4
 
-DIST_SUBDIRS=gst-libs gst sys ext examples tools gconf testsuite
+include $(top_srcdir)/common/release.mak
+include $(top_srcdir)/common/po.mak
 
-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 \
-          ChangeLog autogen.sh common m4
+check-valgrind:
+       cd tests/check && make check-valgrind
 
-dist-hook:
-       rm -rf `find $(distdir)/common -name CVS`
-       rm -rf `find $(distdir)/m4 -name CVS`
+check-torture:
+       cd tests/check && make torture