mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@225440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
3
Makefile
3
Makefile
@@ -940,7 +940,7 @@ menuselect/nmenuselect: menuselect/makeopts
|
|||||||
menuselect/makeopts: makeopts
|
menuselect/makeopts: makeopts
|
||||||
+$(MAKE_MENUSELECT) 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 "Generating input for menuselect ..."
|
||||||
@echo "<?xml version=\"1.0\"?>" > $@
|
@echo "<?xml version=\"1.0\"?>" > $@
|
||||||
@echo >> $@
|
@echo >> $@
|
||||||
@@ -951,6 +951,7 @@ menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(di
|
|||||||
@if [ "${AST_DEVMODE}" = "yes" ]; then \
|
@if [ "${AST_DEVMODE}" = "yes" ]; then \
|
||||||
cat build_tools/cflags-devmode.xml >> $@; \
|
cat build_tools/cflags-devmode.xml >> $@; \
|
||||||
fi
|
fi
|
||||||
|
@cat utils/utils.xml >> $@
|
||||||
@cat build_tools/embed_modules.xml >> $@
|
@cat build_tools/embed_modules.xml >> $@
|
||||||
@cat sounds/sounds.xml >> $@
|
@cat sounds/sounds.xml >> $@
|
||||||
@echo "</menu>" >> $@
|
@echo "</menu>" >> $@
|
||||||
|
@@ -23,6 +23,4 @@
|
|||||||
|
|
||||||
-- Convert all usage of the signal(2) system API to the more portable sigaction(2) system API.
|
-- 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.
|
-- 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.
|
||||||
|
@@ -27,7 +27,7 @@ ASTTOPDIR?=..
|
|||||||
# changes are made to ast_expr2.y or ast_expr2.fl (or the corresponding .c files),
|
# 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
|
# 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.
|
# 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)
|
UTILS:=$(ALL_UTILS)
|
||||||
|
|
||||||
LIBS += $(BKTR_LIB) # astobj2 with devmode uses backtrace
|
LIBS += $(BKTR_LIB) # astobj2 with devmode uses backtrace
|
||||||
|
41
utils/utils.xml
Normal file
41
utils/utils.xml
Normal 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>
|
Reference in New Issue
Block a user