webrtcbin: an element that handles the transport aspects of webrtc connections
[platform/upstream/gst-plugins-bad.git] / tests / examples / Makefile.am
1 if USE_UVCH264
2 UVCH264_DIR=uvch264
3 else
4 UVCH264_DIR=
5 endif
6
7 if HAVE_GTK
8 GTK_EXAMPLES=mxf camerabin2 $(UVCH264_DIR)
9 else
10 GTK_EXAMPLES=
11 endif
12
13 if USE_DIRECTFB
14 DIRECTFB_DIR=directfb
15 else
16 DIRECTFB_DIR=
17 endif
18
19 OPENCV_EXAMPLES=opencv
20
21 MATRIXMIX_DIR=audiomixmatrix
22
23 if HAVE_AVFOUNDATION
24 if HAVE_IOS
25 AVSAMPLE_DIR=
26 else
27 AVSAMPLE_DIR=avsamplesink
28 endif
29 else
30 AVSAMPLE_DIR=
31 endif
32
33 if USE_GTK3
34 GTK3_DIR=gtk
35 else
36 GTK3_DIR=
37 endif
38
39 if USE_WAYLAND
40 if HAVE_GTK3
41 WAYLAND_DIR=waylandsink
42 else
43 WAYLAND_DIR=
44 endif
45 else
46 WAYLAND_DIR=
47 endif
48
49 if USE_IPCPIPELINE
50 IPCPIPELINE_DIR=ipcpipeline
51 else
52 IPCPIPELINE_DIR=
53 endif
54
55 if USE_WEBRTC
56 WEBRTC_DIR=webrtc
57 else
58 WEBRTC_DIR=
59 endif
60
61 noinst_PROGRAMS = playout
62
63 playout_SOURCES = playout.c
64 playout_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
65 playout_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS)
66
67 SUBDIRS= codecparsers mpegts $(DIRECTFB_DIR) $(GTK_EXAMPLES) $(OPENCV_EXAMPLES) \
68         $(GTK3_DIR) $(AVSAMPLE_DIR) $(WAYLAND_DIR) $(MATRIXMIX_DIR) \
69         $(IPCPIPELINE_DIR) $(WEBRTC_DIR)
70 DIST_SUBDIRS= codecparsers mpegts camerabin2 directfb mxf opencv uvch264 gtk \
71         avsamplesink waylandsink audiomixmatrix ipcpipeline webrtc
72
73 include $(top_srcdir)/common/parallel-subdirs.mak