disable unused plugins with tv featuring
[platform/upstream/gstreamer.git] / gst-libs / gst / Makefile.am
1
2 if USE_OPENGL
3 GL_DIR = gl
4 endif
5 if USE_GLES2
6 GL_DIR = gl
7 endif
8
9 if USE_WAYLAND
10 WAYLAND_DIR=wayland
11 endif
12
13 if TV_PROFILE
14 SUBDIRS = codecparsers mpegts $(WAYLAND_DIR)
15 else
16 SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
17          insertbin mpegts base video $(GL_DIR) $(WAYLAND_DIR)
18 endif
19
20 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
21
22 if TV_PROFILE
23 DIST_SUBDIRS = codecparsers mpegts wayland
24 else
25 DIST_SUBDIRS = uridownloader adaptivedemux interfaces gl basecamerabinsrc \
26         codecparsers insertbin mpegts wayland base video
27 endif
28
29 #dependencies
30 video: base
31
32 adaptivedemux: uridownloader
33
34 if TV_PROFILE
35 INDEPENDENT_SUBDIRS = \
36         codecparsers mpegts $(WAYLAND_DIR)
37 else
38 INDEPENDENT_SUBDIRS = \
39         interfaces basecamerabinsrc codecparsers insertbin uridownloader \
40         mpegts base $(GL_DIR) $(WAYLAND_DIR)
41 endif
42
43 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
44
45 independent-subdirs: $(INDEPENDENT_SUBDIRS)
46
47 $(INDEPENDENT_SUBDIRS):
48         $(MAKE) -C $@
49
50 all-recursive: independent-subdirs