Merge branch 'tizen_gst_upgrade' into tizen
[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 USE_OPENCV
14 OPENCV_DIR=opencv
15 endif
16
17 if TV_PROFILE
18 SUBDIRS = codecparsers mpegts $(WAYLAND_DIR)
19 else
20 SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
21          insertbin mpegts base video audio player allocators $(GL_DIR) $(WAYLAND_DIR) \
22          $(OPENCV_DIR)
23 endif
24
25 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
26
27 if TV_PROFILE
28 DIST_SUBDIRS = codecparsers mpegts wayland
29 else
30 DIST_SUBDIRS = uridownloader adaptivedemux interfaces gl basecamerabinsrc \
31         codecparsers insertbin mpegts wayland opencv base video audio player allocators
32 endif
33
34 #dependencies
35 video, audio: base
36 gl: allocators
37
38 adaptivedemux: uridownloader
39
40 if TV_PROFILE
41 INDEPENDENT_SUBDIRS = \
42         codecparsers mpegts $(WAYLAND_DIR)
43 else
44 INDEPENDENT_SUBDIRS = \
45         interfaces basecamerabinsrc codecparsers insertbin uridownloader \
46         mpegts base player allocators $(GL_DIR) $(WAYLAND_DIR) $(OPENCV_DIR)
47 endif
48
49 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
50
51 independent-subdirs: $(INDEPENDENT_SUBDIRS)
52
53 $(INDEPENDENT_SUBDIRS):
54         $(MAKE) -C $@
55
56 all-recursive: independent-subdirs