streamsynchronizer: Don't unref the parent in the event function
[platform/upstream/gst-plugins-base.git] / Makefile.am
index 29c5f2b..b045c16 100644 (file)
@@ -6,48 +6,85 @@ else
 SUBDIRS_EXT =
 endif
 
-if BUILD_EXAMPLES
-SUBDIRS_EXAMPLES = examples
-else
-SUBDIRS_EXAMPLES =
-endif
-
-if HAVE_CHECK
-SUBDIRS_CHECK = check
-else
-SUBDIRS_CHECK =
-endif
-
 SUBDIRS =                      \
+       pkgconfig               \
        gst-libs                \
        gst sys $(SUBDIRS_EXT)  \
-       $(SUBDIRS_EXAMPLES)     \
        tools                   \
-       $(SUBDIRS_CHECK)        \
+       tests                   \
        docs                    \
        po                      \
        common                  \
-       m4                      \
-       pkgconfig
+       m4
 
 DIST_SUBDIRS =                         \
-       check                   \
+       pkgconfig               \
        docs                    \
        gst-libs                \
        gst sys ext             \
-       examples                \
        tools                   \
+       tests                   \
        po                      \
        common                  \
-       m4                      \
-       pkgconfig
+       m4
+
+# include before EXTRA_DIST for win32 assignment
+include $(top_srcdir)/common/win32.mak
 
 EXTRA_DIST = \
        gst-plugins-base.spec depcomp \
        AUTHORS COPYING COPYING.LIB NEWS README RELEASE REQUIREMENTS \
-       ChangeLog autogen.sh
+       ChangeLog gst-plugins-base.doap autogen.sh $(win32)
 
 DISTCLEANFILES = _stdint.h
 
+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
+
+WIN32_COPY = \
+       $(top_builddir)/gst-libs/gst/*/*-enumtypes.[ch] \
+       $(top_builddir)/_stdint.h
+
+win32-update:
+       for f in $(WIN32_COPY); do cp -v $$f win32/common; done; \
+       for f in win32/common/*-enumtypes.c; do \
+         echo "Indenting $$f"; \
+         gst-indent $$f; gst-indent $$f; \
+       done
+       cp -v $(top_builddir)/win32/common/config.h-new \
+           $(top_srcdir)/win32/common/config.h
+
+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)/gst-libs/gst/audio/testchannels \
+       $(top_builddir)/tests/examples/audio/testchannels \
+       $(top_builddir)/tests/examples/volume/volume \
+       $(top_builddir)/tools/gst-discoverer
+
+CRUFT_DIRS = \
+       $(top_srcdir)/sys/v4l \
+       $(top_srcdir)/tests/examples/v4l
+
+include $(top_srcdir)/common/cruft.mak
+
+all-local: check-cruft