dect
/
asterisk
Archived
13
0
Fork 0

Optionally build and install the sample AGIs in the agi/ directory.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@225690 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
seanbright 2009-10-23 16:40:30 +00:00
parent 8f0f7a226d
commit 588db98f08
3 changed files with 20 additions and 2 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 utils/utils.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 agi/agi.xml configure
@echo "Generating input for menuselect ..."
@echo "<?xml version=\"1.0\"?>" > $@
@echo >> $@
@ -952,6 +952,7 @@ menuselect-tree: $(foreach dir,$(filter-out main,$(MOD_SUBDIRS)),$(wildcard $(di
cat build_tools/cflags-devmode.xml >> $@; \
fi
@cat utils/utils.xml >> $@
@cat agi/agi.xml >> $@
@cat build_tools/embed_modules.xml >> $@
@cat sounds/sounds.xml >> $@
@echo "</menu>" >> $@

View File

@ -11,9 +11,12 @@
# the GNU General Public License
#
ASTTOPDIR?=..
-include $(ASTTOPDIR)/menuselect.makeopts
.PHONY: clean all uninstall
AGIS=agi-test.agi eagi-test eagi-sphinx-test jukebox.agi
AGIS=$(MENUSELECT_AGIS)
ifeq ($(OSARCH),SunOS)
LIBS+=-lsocket -lnsl

14
agi/agi.xml Normal file
View File

@ -0,0 +1,14 @@
<category name="MENUSELECT_AGIS" displayname="AGI Samples" positive_output="yes">
<member name="agi-test.agi">
<defaultenabled>no</defaultenabled>
</member>
<member name="eagi-test">
<defaultenabled>no</defaultenabled>
</member>
<member name="eagi-sphinx-test">
<defaultenabled>no</defaultenabled>
</member>
<member name="jukebox.agi">
<defaultenabled>no</defaultenabled>
</member>
</category>