dect
/
asterisk
Archived
13
0
Fork 0

Add the programs in utils/ to menuselect.

Nothing in utils/ is now built by default except for astcanary.

Review: https://reviewboard.asterisk.org/r/353/


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@225440 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
seanbright 2009-10-22 19:33:32 +00:00
parent ebf4490c90
commit 193a169598
4 changed files with 44 additions and 4 deletions

View File

@ -940,7 +940,7 @@ menuselect/nmenuselect: menuselect/makeopts
menuselect/makeopts: makeopts
+$(MAKE_MENUSELECT) makeopts
menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml configure
menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(dir)/*.c) $(wildcard $(dir)/*.cc)) build_tools/cflags.xml build_tools/cflags-devmode.xml sounds/sounds.xml build_tools/embed_modules.xml utils/utils.xml configure
@echo "Generating input for menuselect ..."
@echo "<?xml version=\"1.0\"?>" > $@
@echo >> $@
@ -951,6 +951,7 @@ menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(di
@if [ "${AST_DEVMODE}" = "yes" ]; then \
cat build_tools/cflags-devmode.xml >> $@; \
fi
@cat utils/utils.xml >> $@
@cat build_tools/embed_modules.xml >> $@
@cat sounds/sounds.xml >> $@
@echo "</menu>" >> $@

View File

@ -23,6 +23,4 @@
-- Convert all usage of the signal(2) system API to the more portable sigaction(2) system API.
-- Make the applications in utils/ selectable in menuselect and turn off muted by default. Probably others too.
-- Find options and arguments in Asterisk which specify a time period in seconds or milliseconds and convert them to use the new ast_app_parse_timelen() function.

View File

@ -27,7 +27,7 @@ ASTTOPDIR?=..
# changes are made to ast_expr2.y or ast_expr2.fl (or the corresponding .c files),
# as a regression test. Others (mere mortals?) need not bother, but they are
# more than welcome to play! The regression test itself is in expr2.testinput.
ALL_UTILS:=astman smsq stereorize streamplayer muted hashtest2 hashtest astcanary refcounter aelparse conf2ael
ALL_UTILS:=$(MENUSELECT_UTILS)
UTILS:=$(ALL_UTILS)
LIBS += $(BKTR_LIB) # astobj2 with devmode uses backtrace

41
utils/utils.xml Normal file
View File

@ -0,0 +1,41 @@
<category name="MENUSELECT_UTILS" displayname="Utilities" positive_output="yes">
<member name="aelparse">
<defaultenabled>no</defaultenabled>
</member>
<member name="astcanary">
<defaultenabled>yes</defaultenabled>
</member>
<member name="astman">
<defaultenabled>no</defaultenabled>
</member>
<member name="check_expr">
<defaultenabled>no</defaultenabled>
</member>
<member name="check_expr2">
<defaultenabled>no</defaultenabled>
</member>
<member name="conf2ael">
<defaultenabled>no</defaultenabled>
</member>
<member name="hashtest">
<defaultenabled>no</defaultenabled>
</member>
<member name="hashtest2">
<defaultenabled>no</defaultenabled>
</member>
<member name="muted">
<defaultenabled>no</defaultenabled>
</member>
<member name="refcounter">
<defaultenabled>no</defaultenabled>
</member>
<member name="smsq">
<defaultenabled>no</defaultenabled>
</member>
<member name="stereorize">
<defaultenabled>no</defaultenabled>
</member>
<member name="streamplayer">
<defaultenabled>no</defaultenabled>
</member>
</category>