element: Enforce that elements created by gst_element_factory_create/make() are floating
[platform/upstream/gstreamer.git] / tests / Makefile.am
index 65323dc..9fe291c 100644 (file)
@@ -1,5 +1,14 @@
 EXTRA_DIST = README
 
+# Build misc unless both --disable-examples and --disable-benchmarks were passed
+
+if BUILD_BENCHMARKS
+SUBDIRS_BENCHMARKS = benchmarks
+SUBDIRS_MISC = misc
+else
+SUBDIRS_BENCHMARKS =
+endif
+
 if BUILD_TESTS
 ## SUBDIRS_TESTS = tests testsuite
 ## FIXME: write tests from scratch
@@ -15,17 +24,16 @@ SUBDIRS_CHECK =
 endif
 
 if BUILD_EXAMPLES
-## FIXME: write examples from scratch
-# SUBDIRS_EXAMPLES = examples
-SUBDIRS_EXAMPLES =
+SUBDIRS_EXAMPLES = examples
+SUBDIRS_MISC = misc
 else
 SUBDIRS_EXAMPLES =
 endif
 
 SUBDIRS = \
-       benchmarks      \
+       $(SUBDIRS_BENCHMARKS) \
        $(SUBDIRS_CHECK) \
-       misc            \
+       $(SUBDIRS_MISC) \
        $(SUBDIRS_TESTS) \
        $(SUBDIRS_EXAMPLES)
 
@@ -33,4 +41,5 @@ SUBDIRS = \
 DIST_SUBDIRS = \
        benchmarks \
        check \
+       examples \
        misc