c4f02a18c78117631b7769a8cce66e39906588fc
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
1 if USE_WAYLAND
2 WAYLAND_DIR=wayland
3 endif
4
5 if USE_OPENCV
6 OPENCV_DIR=opencv
7 endif
8
9 if TV_PROFILE
10 SUBDIRS = codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
11 else
12 SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
13          insertbin mpegts audio sctp player isoff webrtc $(WAYLAND_DIR) \
14          $(OPENCV_DIR)
15 endif
16
17 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
18 if TV_PROFILE
19 DIST_SUBDIRS = codecparsers mpegts wayland sctp webrtc
20 else
21 DIST_SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc \
22         codecparsers insertbin mpegts wayland opencv audio player isoff sctp webrtc
23 endif
24
25 adaptivedemux: uridownloader
26
27 if TV_PROFILE
28 INDEPENDENT_SUBDIRS = \
29         codecparsers mpegts sctp webrtc $(WAYLAND_DIR)
30 else
31 INDEPENDENT_SUBDIRS = \
32         interfaces basecamerabinsrc codecparsers insertbin uridownloader \
33         mpegts player isoff sctp webrtc $(WAYLAND_DIR) $(OPENCV_DIR)
34 endif
35
36 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
37
38 independent-subdirs: $(INDEPENDENT_SUBDIRS)
39
40 $(INDEPENDENT_SUBDIRS):
41         $(MAKE) -C $@
42
43 all-recursive: independent-subdirs