build: declare dependency from gl on allocators
[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 SUBDIRS = uridownloader adaptivedemux interfaces basecamerabinsrc codecparsers \
18          insertbin mpegts base video audio player allocators $(GL_DIR) $(WAYLAND_DIR) \
19          $(OPENCV_DIR)
20
21 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
22 DIST_SUBDIRS = uridownloader adaptivedemux interfaces gl basecamerabinsrc \
23         codecparsers insertbin mpegts wayland opencv base video audio player allocators
24
25 #dependencies
26 video, audio: base
27 gl: allocators
28
29 adaptivedemux: uridownloader
30
31 INDEPENDENT_SUBDIRS = \
32         interfaces basecamerabinsrc codecparsers insertbin uridownloader \
33         mpegts base player allocators $(GL_DIR) $(WAYLAND_DIR) $(OPENCV_DIR)
34
35 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
36
37 independent-subdirs: $(INDEPENDENT_SUBDIRS)
38
39 $(INDEPENDENT_SUBDIRS):
40         $(MAKE) -C $@
41
42 all-recursive: independent-subdirs