diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-13 10:54:40 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-13 10:54:40 +0000 |
commit | 98c676720d5bc5b13c14a4660ed7c04313684e41 (patch) | |
tree | 42f5e2f2c429bc7d8e761fd2f88efccbc4f6b0ea | |
parent | e3a7b062c06a16a3a361c012f6d1161e29df633e (diff) |
Move WITH_SMDI from the Makefiles to be handled by menuselect. It will now be
defined in buildopts.h. Also, remove a few more stray spaces in the gcc commands.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27130 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | Makefile | 13 | ||||
-rw-r--r-- | apps/Makefile | 4 | ||||
-rw-r--r-- | build_tools/cflags.xml | 5 | ||||
-rw-r--r-- | channels/Makefile | 4 |
4 files changed, 9 insertions, 17 deletions
@@ -59,9 +59,6 @@ OVERWRITE=y # Include debug and macro symbols in the executables (-g) and profiling info (-pg) DEBUG=-g3 -# Asterisk SMDI integration -WITH_SMDI=1 - # Staging directory # Files are copied here temporarily during the install process # For example, make DESTDIR=/tmp/asterisk woud put things in @@ -365,7 +362,7 @@ ifeq ($(OSARCH),SunOS) endif ifeq ($(MAKETOPLEVEL),$(MAKELEVEL)) - CFLAGS+=$(TOPDIR_CFLAGS) $(ASTCFLAGS) + CFLAGS+=$(TOPDIR_CFLAGS)$(ASTCFLAGS) endif # This is used when generating the doxygen documentation @@ -487,7 +484,7 @@ include/asterisk/buildopts.h: menuselect.makeopts @rm -f $@.tmp stdtime/libtime.a: - CFLAGS="$(MOD_SUBDIR_CFLAGS) $(ASTCFLAGS)" $(MAKE) -C stdtime libtime.a + CFLAGS="$(MOD_SUBDIR_CFLAGS)$(ASTCFLAGS)" $(MAKE) -C stdtime libtime.a asterisk: include/asterisk/buildopts.h editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a $(OBJS) build_tools/make_build_h > include/asterisk/build.h.tmp @@ -502,9 +499,9 @@ muted: muted.o $(CC) $(AUDIO_LIBS) -o muted muted.o subdirs: - @for x in $(MOD_SUBDIRS); do CFLAGS="$(MOD_SUBDIR_CFLAGS) $(ASTCFLAGS)" $(MAKE) -C $$x || exit 1 ; done - @CFLAGS="$(OTHER_SUBDIR_CFLAGS) $(ASTCFLAGS)" $(MAKE) -C utils - @CFLAGS="$(OTHER_SUBDIR_CFLAGS) $(ASTCFLAGS)" $(MAKE) -C agi + @for x in $(MOD_SUBDIRS); do CFLAGS="$(MOD_SUBDIR_CFLAGS)$(ASTCFLAGS)" $(MAKE) -C $$x || exit 1 ; done + @CFLAGS="$(OTHER_SUBDIR_CFLAGS)$(ASTCFLAGS)" $(MAKE) -C utils + @CFLAGS="$(OTHER_SUBDIR_CFLAGS)$(ASTCFLAGS)" $(MAKE) -C agi clean-depend: @for x in $(SUBDIRS); do $(MAKE) -C $$x clean-depend || exit 1 ; done diff --git a/apps/Makefile b/apps/Makefile index 7b79281bc..ed26d855f 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -13,10 +13,6 @@ MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%.so,$(wildcard app_*.c))) -ifneq ($(WITH_SMDI),) - CFLAGS+=-DWITH_SMDI -endif - # If you have UnixODBC you can use ODBC voicemail # storage # diff --git a/build_tools/cflags.xml b/build_tools/cflags.xml index 03fd36991..c15ca1c42 100644 --- a/build_tools/cflags.xml +++ b/build_tools/cflags.xml @@ -11,10 +11,13 @@ </member> <member name="MALLOC_DEBUG" displayname="Keep Track of Memory Allocations"> </member> + <member name="MTX_PROFILE" displayname="Enable Code Profiling Using TSC Counters"> + </member> <member name="RADIO_RELAX" displayname="Relax DTMF for Radio Applications"> </member> <member name="TRACE_FRAMES" displayname="Trace Frame Allocations"> </member> - <member name="MTX_PROFILE" displayname="Enable Code Profiling Using TSC Counters"> + <member name="WITH_SMDI" displayname="Include SMDI Support"> + <defaultenabled>yes</defaultenabled> </member> </category> diff --git a/channels/Makefile b/channels/Makefile index 0b4ddacc3..b68c0649f 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -44,10 +44,6 @@ ifeq ($(OSARCH),SunOS) SOLINK+=-lrt endif -ifeq ($(WITH_SMDI),1) - CFLAGS+=-DWITH_SMDI -endif - ifeq ($(wildcard h323/libchanh323.a),) MODS:=$(filter-out chan_h323.so,$(MODS)) endif |