aboutsummaryrefslogtreecommitdiffstats
path: root/apps/Makefile
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 /apps/Makefile
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 'apps/Makefile')
-rw-r--r--apps/Makefile11
1 files changed, 2 insertions, 9 deletions
diff --git a/apps/Makefile b/apps/Makefile
index 4d6f0bb55..740f69993 100644
--- a/apps/Makefile
+++ b/apps/Makefile
@@ -15,17 +15,10 @@ include ../menuselect.makeopts
SELECTED_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c)))
-# If you have UnixODBC you can use ODBC voicemail
-# storage
-#
-# Uncomment to use ODBC storage
-#CFLAGS+=-DUSE_ODBC_STORAGE
-# Uncomment for extended ODBC voicemail storage
-#CFLAGS+=-DEXTENDED_ODBC_STORAGE
-# See doc/README.odbcstorage for more information
-
MODS:=$(patsubst %,%.so,$(SELECTED_MODS))
+app_voicemail.o: CFLAGS+=$(patsubst %,-D%,$(MENUSELECT_app_voicemail))
+
all: $(MODS)
clean-depend: