diff options
Diffstat (limited to 'apps/Makefile')
-rw-r--r-- | apps/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/Makefile b/apps/Makefile index c772be786..afb12389b 100644 --- a/apps/Makefile +++ b/apps/Makefile @@ -16,7 +16,15 @@ endif SELECTED_MODS:=$(filter-out $(MENUSELECT_APPS),$(patsubst %.c,%,$(wildcard app_*.c))) -MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE) $(MENUSELECT_DEPENDS_EXTENDED_ODBC_STORAGE) +ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_app_voicemail)),) +MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE) +endif +ifneq ($(findstring EXTENDED_ODBC_STORAGE,$(MENUSELECT_app_voicemail)),) +MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_EXTENDED_ODBC_STORAGE) +endif +ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_app_voicemail)),) +MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE) +endif all: _all |