Skip to content
Snippets Groups Projects
Commit 117d3fd9 authored by Sean Bright's avatar Sean Bright
Browse files

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
parent d9f72c18
No related branches found
No related tags found
No related merge requests found
...@@ -940,7 +940,7 @@ menuselect/nmenuselect: menuselect/makeopts ...@@ -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 ...@@ -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 @@ ...@@ -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?=.. ...@@ -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
......
<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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment