gst-libs: build independent sub-directories in parallel if make -jN is used
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 29 Mar 2010 09:47:31 +0000 (10:47 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Mon, 29 Mar 2010 09:47:31 +0000 (10:47 +0100)
Build those libraries that don't depend on any other gst-plugins-base
libraries in parallel if make -jN is used.

gst-libs/gst/Makefile.am

index 16114d1..fac48ab 100644 (file)
@@ -28,3 +28,15 @@ cdda: tag
 riff: tag
 
 rtsp: sdp
+
+INDEPENDENT_SUBDIRS = \
+       interfaces tag fft floatcast netbuffer pbutils rtp sdp video app
+
+.PHONY: independent-subdirs $(INDEPENDENT_SUBDIRS)
+
+independent-subdirs: $(INDEPENDENT_SUBDIRS)
+
+$(INDEPENDENT_SUBDIRS):
+       $(MAKE) -C $@
+
+all-recursive: independent-subdirs