Author: sayer
Date: 2009-05-06 17:34:34 +0200 (Wed, 06 May 2009)
New Revision: 1365
Added:
trunk/config.h.cmake
Modified:
trunk/Makefile.defs
trunk/apps/Makefile
Log:
build monitoring module only if monitoring support enabled
Modified: trunk/Makefile.defs
===================================================================
--- trunk/Makefile.defs 2009-05-06 15:17:33 UTC (rev 1364)
+++ trunk/Makefile.defs 2009-05-06 15:34:34 UTC (rev 1365)
@@ -269,9 +269,10 @@
export bin-target cfg-target modules-target audio-target ser-cfg-target
lib-target
export INSTALL TAR INSTALL-TOUCH INSTALL-CFG INSTALL-BIN INSTALL-MODULES
INSTALL-DOC INSTALL-AUDIO
-export USE_SPANDSP LIBSPANDSP_STATIC LIBSPANDSP_LDIR
+export USE_SPANDSP LIBSPANDSP_STATIC LIBSPANDSP_LDIR
export USE_LIBSAMPLERATE
export WITH_ZRTP
+export USE_MONITORING
endif # ifeq ($(makefile_defs, 1)
Modified: trunk/apps/Makefile
===================================================================
--- trunk/apps/Makefile 2009-05-06 15:17:33 UTC (rev 1364)
+++ trunk/apps/Makefile 2009-05-06 15:34:34 UTC (rev 1365)
@@ -3,7 +3,12 @@
include $(COREPATH)/../Makefile.defs
+ifneq ($(USE_MONITORING), yes)
+exclude_modules ?= mp3 examples py_sems xmlrpc2di gateway monitoring
+else
exclude_modules ?= mp3 examples py_sems xmlrpc2di gateway
+endif
+
modules ?= $(filter-out $(subst ;, ,$(exclude_modules))\
$(wildcard Makefile*) CVS, \
$(wildcard *) examples/tutorial/cc_acc )
Copied: trunk/config.h.cmake (from rev 1264, trunk/core/config.h.cmake)
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev