Files
asterisk/apps/Makefile
T

40 lines
1.2 KiB
Makefile
Raw Normal View History

1999-11-13 17:59:36 +00:00
#
2012-10-14 21:45:16 +00:00
# Asterisk -- An open source telephony toolkit.
1999-11-13 17:59:36 +00:00
#
# Makefile for PBX applications
1999-11-13 17:59:36 +00:00
#
# Copyright (C) 1999-2006, Digium, Inc.
1999-11-13 17:59:36 +00:00
#
# This program is free software, distributed under the terms of
# the GNU General Public License
#
-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
2007-12-17 07:25:35 +00:00
MODULE_PREFIX=app
MENUSELECT_CATEGORY=APPS
MENUSELECT_DESCRIPTION=Applications
2007-03-27 23:03:09 +00:00
MENUSELECT_OPTS_app_directory:=$(MENUSELECT_OPTS_app_voicemail)
2006-07-12 22:10:59 +00:00
ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
endif
2006-07-12 22:10:59 +00:00
ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
endif
all: _all
include $(ASTTOPDIR)/Makefile.moddir_rules
2007-11-20 16:12:10 +00:00
2011-04-21 18:11:40 +00:00
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)
2007-11-20 16:12:10 +00:00
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
LIBS+= -lres_features.so -lres_ael_share.so -lres_monitor.so -lres_speech.so
LIBS+= -lres_smdi.so
endif