aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools/prep_moduledeps
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-16 16:17:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-06-16 16:17:43 +0000
commit1fdf1962e91d3577a40a8fedf85540f3bedf236e (patch)
tree7c63656e4c28b1abffd628690ab0151d75d64712 /build_tools/prep_moduledeps
parent02ea98e80cf5c98b7fae54cfdb7eaa88bd439cb9 (diff)
add support for setting the CFLAGS for voicemail storage options in menuselect
Thanks to kpfleming for the Makefile magic :) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@34492 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools/prep_moduledeps')
-rwxr-xr-xbuild_tools/prep_moduledeps10
1 files changed, 9 insertions, 1 deletions
diff --git a/build_tools/prep_moduledeps b/build_tools/prep_moduledeps
index 457bcb99a..1a131cb43 100755
--- a/build_tools/prep_moduledeps
+++ b/build_tools/prep_moduledeps
@@ -39,15 +39,21 @@ process_dir() {
get_description ${file}
desc=${TDESC}
echo -e "\t\t<member name=\"${fname%%.c}\" displayname=\"${desc}\">"
- awk -f build_tools/get_moduledeps ${file}
+ awk -f build_tools/get_moduleinfo ${file}
echo -e "\t\t</member>"
done
echo -e "\t</category>"
+
+ for file in ${dir}/${prefix}*.c
+ do
+ awk -f build_tools/get_makeopts ${file} >> .makeoptstmp
+ done
}
echo "<?xml version="1.0"?>"
echo
echo "<menu>"
+rm -f .makeoptstmp
process_dir apps app APPS Applications
process_dir cdr cdr CDR "Call Detail Recording"
process_dir channels chan CHANNELS "Channel Drivers"
@@ -58,4 +64,6 @@ process_dir pbx pbx PBX "PBX Modules"
process_dir res res RES "Resource Modules"
cat build_tools/cflags.xml
cat sounds/sounds.xml
+cat .makeoptstmp
+rm -f .makeoptstmp
echo "</menu>"