miniobject: free qdata array when the last qdata is removed
[platform/upstream/gstreamer.git] / Makefile.am
index e76f6cd..b2223ca 100644 (file)
@@ -1,14 +1,11 @@
-DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
-
 # note: keep in sync with configure.ac
 ACLOCAL_AMFLAGS = -I m4 -I common/m4
 
 aclocaldir = $(datadir)/aclocal
-aclocal_DATA = gst-element-check-@GST_API_VERSION@.m4
+aclocal_DATA = gst-element-check-1.0.m4
 
 SUBDIRS = pkgconfig \
        gst libs plugins tests \
-       docs \
        po \
        m4 \
        common \
@@ -21,27 +18,19 @@ endif
 # These are all the possible subdirs
 DIST_SUBDIRS = pkgconfig \
        gst libs plugins tools tests \
-       docs \
        po \
        m4 \
        common \
        data
 
-# include before EXTRA_DIST for win32 assignment
-include $(top_srcdir)/common/win32.mak
-
 EXTRA_DIST = \
-       gst-element-check.m4 \
+       gst-element-check-1.0.m4 \
        configure.ac autogen.sh depcomp \
        MAINTAINERS ABOUT-NLS RELEASE gstreamer.doap \
        scripts/gst-uninstalled \
        $(shell find "$(top_srcdir)" -type f -name meson.build ! -path "$(top_srcdir)/gstreamer-*" ) \
-       gst/gstenumtypes.c.template gst/gstenumtypes.h.template \
-       meson_options.txt config.h.meson  \
-       gst/parse/gen_lex.py.in gst/parse/gen_grammar.py.in \
-       $(win32)
-
-CLEANFILES = gst-element-check-@GST_API_VERSION@.m4
+       meson_options.txt \
+       gst/parse/gen_lex.py.in gst/parse/gen_grammar.py.in
 
 DISTCLEANFILES = _stdint.h
 
@@ -143,16 +132,7 @@ check-enum-gettypes: $(top_builddir)/gst/gstenumtypes.h
 
 include $(top_srcdir)/common/coverage/lcov.mak
 
-# Do not run the check-exports test in case any option which causes the API to
-# change has been used
-if !GST_DISABLE_REGISTRY
-CHECK_EXPORTS = check-exports
-endif
-
-check: $(CHECK_EXPORTS) check-enum-gettypes
-
-gst-element-check-@GST_API_VERSION@.m4: gst-element-check.m4
-       $(AM_V_GEN)cp $(srcdir)/gst-element-check.m4 gst-element-check-@GST_API_VERSION@.m4
+check: check-enum-gettypes
 
 # cruft: plugins that have been merged or moved or renamed
 
@@ -202,9 +182,8 @@ CRUFT_DIRS = \
        $(top_builddir)/tests/examples/queue \
        $(top_builddir)/tests/examples/typefind \
        $(top_builddir)/gst/tmp-introspect* \
-       $(top_builddir)/libs/gst/*/tmp-introspect* \
-       $(top_srcdir)/docs/plugins/tmpl
+       $(top_builddir)/libs/gst/*/tmp-introspect*
 
 include $(top_srcdir)/common/cruft.mak
 
-all-local: gst-element-check-@GST_API_VERSION@.m4 check-cruft
+all-local: check-cruft