tests: conditionally compile the streams example
[platform/upstream/gstreamer.git] / tests / examples / Makefile.am
1 if GST_DISABLE_LOADSAVE
2 GST_LOADSAVE_DIRS = 
3 else
4 GST_LOADSAVE_DIRS = xml typefind
5 endif
6
7 if GST_DISABLE_PARSE
8 GST_PARSE_DIRS = 
9 else
10 GST_PARSE_DIRS = launch
11 endif
12
13 # adapter test needs sys/times.h and unistd.h
14 if HAVE_SYS_TIMES_H_AND_UNISTD_H
15   ADAPTER_TEST_DIR = adapter
16 else
17   ADAPTER_TEST_DIR =
18 endif
19
20 # streams test needs pthreads
21 if HAVE_PTHREAD_H
22   STREAMS_TEST_DIR = streams
23 else
24   STREAMS_TEST_DIR =
25 endif
26
27 always_dirs = \
28         controller \
29         helloworld \
30         manual     \
31         metadata   \
32         queue      \
33         stepping
34
35 #appreader
36 #cutter
37 #events
38 #helloworld2
39 #launch
40 #manual
41 #mixer
42 #pingpong
43 #plugins
44 #pwg
45 #queue2
46 #queue3
47 #queue4
48 #retag
49 #thread
50
51 SUBDIRS =                               \
52         $(always_dirs)                  \
53         $(ADAPTER_TEST_DIR)             \
54         $(STREAMS_TEST_DIR)             \
55         $(GST_PARSE_DIRS)               \
56         $(GST_LOADSAVE_DIRS)
57
58 DIST_SUBDIRS = $(always_dirs) adapter streams xml typefind launch