12345678910111213141516171819202122232425262728293031323334353637383940 |
- #
- # Asterisk -- An open source telephony toolkit.
- #
- # Makefile for PBX applications
- #
- # Copyright (C) 1999-2006, Digium, Inc.
- #
- # This program is free software, distributed under the terms of
- # the GNU General Public License
- #
- -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
- MODULE_PREFIX=app
- MENUSELECT_CATEGORY=APPS
- MENUSELECT_DESCRIPTION=Applications
- MENUSELECT_OPTS_app_directory:=$(MENUSELECT_OPTS_app_voicemail)
- ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
- MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
- endif
- ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
- MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
- endif
- all: _all
- include $(ASTTOPDIR)/Makefile.moddir_rules
- clean::
- rm -f confbridge/*.o confbridge/*.i
- $(if $(filter app_confbridge,$(EMBEDDED_MODS)),modules.link,app_confbridge.so): $(subst .c,.o,$(wildcard confbridge/*.c))
- $(subst .c,.o,$(wildcard confbridge/*.c)): _ASTCFLAGS+=$(call MOD_ASTCFLAGS,app_confbridge)
- ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
- LIBS+= -lres_ael_share.so -lres_monitor.so -lres_speech.so
- LIBS+= -lres_smdi.so
- endif
|