build: build examples subdirectories in parallel if requested
[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 always_dirs = \
21         controller \
22         helloworld \
23         manual     \
24         metadata   \
25         queue      \
26         stepping \
27         streams
28
29 #appreader
30 #cutter
31 #events
32 #helloworld2
33 #launch
34 #manual
35 #mixer
36 #pingpong
37 #plugins
38 #pwg
39 #queue2
40 #queue3
41 #queue4
42 #retag
43 #thread
44
45 SUBDIRS =                               \
46         $(always_dirs)                  \
47         $(ADAPTER_TEST_DIR)             \
48         $(GST_PARSE_DIRS)               \
49         $(GST_LOADSAVE_DIRS)
50
51 DIST_SUBDIRS = $(always_dirs) adapter xml typefind launch
52
53 include $(top_srcdir)/common/parallel-subdirs.mak