dirty hack of a fix to deal with the fact that chan_vpb changed to chan_vpb.cc
authorRussell Bryant <russell@russellbryant.com>
Thu, 6 Jul 2006 23:51:15 +0000 (23:51 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 6 Jul 2006 23:51:15 +0000 (23:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37276 65c4cc65-6c06-0410-ace0-fbb531ad65f3

Makefile
build_tools/prep_moduledeps

index cf65e04..0305d24 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -900,6 +900,6 @@ mxml/libmxml.a:
 
 makeopts.xml: $(foreach dir,$(MOD_SUBDIRS),$(dir)/*.c) build_tools/cflags.xml sounds/sounds.xml
        @echo "Generating list of available modules ..."
-       @build_tools/prep_moduledeps > $@
+       @build_tools/prep_moduledeps 2>/dev/null > $@
 
 .PHONY: menuselect sounds clean clean-depend dist-clean distclean all _all depend cleantest uninstall _uninstall uninstall-all dont-optimize valgrind $(SUBDIRS_INSTALL) $(SUBDIRS_CLEAN) $(SUBDIRS_CLEAN_DEPEND) $(SUBDIRS_DEPEND) $(SUBDIRS_UNINSTALL) $(SUBDIRS)
index 8454ef9..3111f57 100755 (executable)
@@ -33,12 +33,13 @@ process_dir() {
        displayname=${4}
 
        echo -e "\t<category name=\"MENUSELECT_${catsuffix}\" displayname=\"${displayname}\">"
-       for file in ${dir}/${prefix}*.c
+       for file in `ls ${dir}/${prefix}*.c ${dir}/${prefix}*.cc | sort`
        do
                fname=`basename ${file} .c`
+               fname=`basename ${fname} .cc`
                get_description ${file}
                desc=${TDESC}
-               echo -e "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.so\">"
+               echo -e "\t\t<member name=\"${fname}\" displayname=\"${desc}\" remove_on_change=\"${dir}/${fname}.o ${dir}/${fname}.oo ${dir}/${fname}.so\">"
                awk -f build_tools/get_moduleinfo ${file}
                echo -e "\t\t</member>"
        done