mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
8b3708ea8c
Add option to avoid build binaries. When building for platforms like android, you might want to not link any "final" binary, mostly because it requires special link flags or other parts of code that aren't in the C library. https://bugzilla.gnome.org/show_bug.cgi?id=677621
41 lines
594 B
Makefile
41 lines
594 B
Makefile
EXTRA_DIST = README
|
|
|
|
if BUILD_BENCHMARKS
|
|
SUBDIRS_BENCHMARKS = benchmarks
|
|
else
|
|
SUBDIRS_BENCHMARKS =
|
|
endif
|
|
|
|
if BUILD_TESTS
|
|
## SUBDIRS_TESTS = tests testsuite
|
|
## FIXME: write tests from scratch
|
|
SUBDIRS_TESTS =
|
|
if HAVE_CHECK
|
|
SUBDIRS_CHECK = check
|
|
else
|
|
SUBDIRS_CHECK =
|
|
endif
|
|
else
|
|
SUBDIRS_TESTS =
|
|
SUBDIRS_CHECK =
|
|
endif
|
|
|
|
if BUILD_EXAMPLES
|
|
SUBDIRS_EXAMPLES = examples
|
|
else
|
|
SUBDIRS_EXAMPLES =
|
|
endif
|
|
|
|
SUBDIRS = \
|
|
$(SUBDIRS_BENCHMARKS) \
|
|
$(SUBDIRS_CHECK) \
|
|
misc \
|
|
$(SUBDIRS_TESTS) \
|
|
$(SUBDIRS_EXAMPLES)
|
|
|
|
# These are all the possible subdirs
|
|
DIST_SUBDIRS = \
|
|
benchmarks \
|
|
check \
|
|
examples \
|
|
misc
|