use module names, not file names, in menuselect

work around XML parsing bug in menuselect for default sounds package


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32407 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-06-05 20:46:27 +00:00
parent 8a95a1ddc1
commit e856010714
13 changed files with 67 additions and 54 deletions

View File

@@ -11,19 +11,21 @@
# the GNU General Public License
#
MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%.so,$(wildcard func_*.c)))
SELECTED_MODS:=$(filter-out $(MENUSELECT_FUNCS),$(patsubst %.c,%,$(wildcard func_*.c)))
# TODO This check needs to be handled with autoconf
ifeq ($(OSARCH),SunOS)
ifeq ($(shell if [ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]; then echo "OK" ; fi),)
MODS:=$(filter-out func_curl.so,$(MODS))
MODS:=$(filter-out func_curl,$(MODS))
endif
else
ifeq ($(shell if [[ 0x`$(CROSS_COMPILE_BIN)curl-config --vernum` -ge 0x70907 ]]; then echo "OK" ; fi),)
MODS:=$(filter-out func_curl.so,$(MODS))
MODS:=$(filter-out func_curl,$(MODS))
endif
endif
MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
all: $(MODS)
clean-depend: