-if HAVE_CHECK
+if HAVE_GST_CHECK
SUBDIRS_CHECK = check
else
SUBDIRS_CHECK =
endif
-SUBDIRS = icles \
- $(SUBDIRS_CHECK)
+if BUILD_EXAMPLES
+SUBDIRS_EXAMPLES = examples
+else
+SUBDIRS_EXAMPLES =
+endif
+
+SUBDIRS = $(SUBDIRS_CHECK) $(SUBDIRS_EXAMPLES) files icles
-DIST_SUBDIRS = icles \
- check
+DIST_SUBDIRS = check examples files icles