element: Enforce that elements created by gst_element_factory_create/make() are floating
[platform/upstream/gstreamer.git] / tests / Makefile.am
index c51ee87..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,20 +24,22 @@ 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) \
+       $(SUBDIRS_MISC) \
        $(SUBDIRS_TESTS) \
        $(SUBDIRS_EXAMPLES)
 
 # These are all the possible subdirs
 DIST_SUBDIRS = \
        benchmarks \
-       check
+       check \
+       examples \
+       misc