[asterisk-commits] qwell: branch qwell/pjproject-cleanup r380734 - /team/qwell/pjproject-cleanup...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jan 31 15:36:41 CST 2013


Author: qwell
Date: Thu Jan 31 15:36:38 2013
New Revision: 380734

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=380734
Log:
Only include build.mak if we're building everything.

Modified:
    team/qwell/pjproject-cleanup/res/Makefile

Modified: team/qwell/pjproject-cleanup/res/Makefile
URL: http://svnview.digium.com/svn/asterisk/team/qwell/pjproject-cleanup/res/Makefile?view=diff&rev=380734&r1=380733&r2=380734
==============================================================================
--- team/qwell/pjproject-cleanup/res/Makefile (original)
+++ team/qwell/pjproject-cleanup/res/Makefile Thu Jan 31 15:36:38 2013
@@ -76,12 +76,14 @@
 pjproject/build.mak: pjproject/aconfigure
 	(cd pjproject && CFLAGS="-fPIC $(_ASTCFLAGS)" ./configure --build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) --disable-floating-point --disable-sound --disable-oss --disable-speex-aec --disable-l16-codec --disable-gsm-codec --disable-g722-codec --disable-g7221-codec --disable-speex-codec --disable-ilbc-codec --disable-g711-codec)
 
+ifneq ($(findstring $(MAKECMDGOALS),all),)
 -include pjproject/build.mak
+endif
 
 .PHONY: FORCE
 FORCE:
 
-$(PJ_LIB_FILES): pjproject/build.mak FORCE
+$(PJ_LIB_FILES): FORCE
 	$(MAKE) -C $(patsubst %/lib/,%,$(dir $@))/build/ ../lib/$(notdir $@)
 
 res_rtp_asterisk.o: $(PJ_LIB_FILES)




More information about the asterisk-commits mailing list