gst-libs: Fix dependency build
[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 SUBDIRS = adaptivedemux interfaces basecamerabinsrc codecparsers \
14          insertbin uridownloader mpegts base video $(GL_DIR) $(WAYLAND_DIR)
15
16 noinst_HEADERS = gst-i18n-plugin.h gettext.h glib-compat-private.h
17 DIST_SUBDIRS = adaptivedemux interfaces gl basecamerabinsrc codecparsers \
18         insertbin uridownloader mpegts wayland base video
19
20 #dependencies
21 video: base
22
23 adaptivedemux: uridownloader
24
25 INDEPENDENT_SUBDIRS = \
26         interfaces basecamerabinsrc codecparsers insertbin uridownloader \
27         mpegts base $(GL_DIR) $(WAYLAND_DIR)
28
29 .PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
30
31 independent-subdirs: $(INDEPENDENT_SUBDIRS)
32
33 $(INDEPENDENT_SUBDIRS):
34         $(MAKE) -C $@
35
36 all-recursive: independent-subdirs