gstreamer/tests/examples/Makefile.am
Wim Taymans fbaa49faf4 tests: conditionally compile the streams example
Detect pthreads.h in configure.ac
Only compile the streams example when pthreads.h is present.

Fixes #585039
2009-06-07 22:20:54 +02:00

58 lines
835 B
Makefile

if GST_DISABLE_LOADSAVE
GST_LOADSAVE_DIRS =
else
GST_LOADSAVE_DIRS = xml typefind
endif
if GST_DISABLE_PARSE
GST_PARSE_DIRS =
else
GST_PARSE_DIRS = launch
endif
# adapter test needs sys/times.h and unistd.h
if HAVE_SYS_TIMES_H_AND_UNISTD_H
ADAPTER_TEST_DIR = adapter
else
ADAPTER_TEST_DIR =
endif
# streams test needs pthreads
if HAVE_PTHREAD_H
STREAMS_TEST_DIR = streams
else
STREAMS_TEST_DIR =
endif
always_dirs = \
controller \
helloworld \
manual \
metadata \
queue \
stepping
#appreader
#cutter
#events
#helloworld2
#launch
#manual
#mixer
#pingpong
#plugins
#pwg
#queue2
#queue3
#queue4
#retag
#thread
SUBDIRS = \
$(always_dirs) \
$(ADAPTER_TEST_DIR) \
$(STREAMS_TEST_DIR) \
$(GST_PARSE_DIRS) \
$(GST_LOADSAVE_DIRS)
DIST_SUBDIRS = $(always_dirs) adapter streams xml typefind launch