- fixes issues related to exclude_modules

git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1709 8eb893ce-cfd4-0310-b710-fb5ebe64c474
sayer/1.4-spce2.6
Raphael Coeffic 17 years ago
parent 6645ff9af7
commit 9695cdd7e7

@ -33,7 +33,6 @@ CPPFLAGS += -D_DEBUG \
#LIBSPANDSP_STATIC = yes
#LIBSPANDSP_LDIR = /usr/local/lib/
# compile with sample rate conversion from secret rabbit code?
# (see http://www.mega-nerd.com/SRC/)
#
@ -63,6 +62,8 @@ spandsp_defs=1
export spandsp_defs
CPPFLAGS += -DUSE_SPANDSP -D__STDC_LIMIT_MACROS
endif
else
override exclude_modules += g722
endif
ifdef USE_LIBSAMPLERATE
@ -160,7 +161,7 @@ ifeq ($(OS), darwin)
LDFLAGS += -L/opt/local/lib
endif
override exclude_modules += binrpcctrl mp3 examples py_sems
override exclude_modules += binrpcctrl ivr examples py_sems
else
LDFLAGS+= -fPIC -ldl -lsocket -lnsl -lpthread
TARGET=solaris
@ -272,7 +273,7 @@ export USE_SPANDSP LIBSPANDSP_STATIC LIBSPANDSP_LDIR
export USE_LIBSAMPLERATE
export WITH_ZRTP
export USE_MONITORING
export exclude_modules
endif # ifeq ($(makefile_defs, 1)
mk-install-dirs: $(DESTDIR)$(cfg-target) \

@ -5,12 +5,12 @@ COREPATH = $(DSMPATH)/../../core
include $(COREPATH)/../Makefile.defs
ifneq ($(USE_MONITORING), yes)
exclude_modules ?= mod_monitoring mod_mysql mod_aws
override exclude_modules += mod_monitoring mod_mysql mod_aws
else
exclude_modules ?= mod_mysql mod_aws
override exclude_modules += mod_mysql mod_aws
endif
modules ?= $(filter-out $(subst ;, ,$(exclude_modules))\
modules = $(filter-out $(subst ;, ,$(exclude_modules))\
$(wildcard Makefile*) lib CMakeLists.txt, \
$(wildcard *) )

@ -24,7 +24,7 @@ clean:
.PHONY: modules
modules:
$(MAKE) -C $(PLUGIN_DIR) $(MAKECMDGOALS)
cd $(PLUGIN_DIR); $(MAKE) modules
.PHONY: deps
deps: $(DEPS)

@ -1,8 +1,5 @@
include ../../Makefile.defs
exclude_modules ?= g722
#echo
modules = $(filter-out $(subst ;, ,$(exclude_modules)) \
$(wildcard Makefile*) CMakeLists.txt, \
$(wildcard *) )

Loading…
Cancel
Save