Merge "astobj2: Create function to copy weak proxied objects from container."
[asterisk/asterisk.git] / apps / Makefile
1 #
2 # Asterisk -- An open source telephony toolkit.
3 #
4 # Makefile for PBX applications
5 #
6 # Copyright (C) 1999-2006, Digium, Inc.
7 #
8 # This program is free software, distributed under the terms of
9 # the GNU General Public License
10 #
11
12 -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
13
14 MODULE_PREFIX=app
15 MENUSELECT_CATEGORY=APPS
16 MENUSELECT_DESCRIPTION=Applications
17
18 MENUSELECT_OPTS_app_directory:=$(MENUSELECT_OPTS_app_voicemail)
19 ifneq ($(findstring ODBC_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
20   MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_ODBC_STORAGE)
21 endif
22 ifneq ($(findstring IMAP_STORAGE,$(MENUSELECT_OPTS_app_voicemail)),)
23   MENUSELECT_DEPENDS_app_voicemail+=$(MENUSELECT_DEPENDS_IMAP_STORAGE)
24 endif
25
26 all: _all
27
28 include $(ASTTOPDIR)/Makefile.moddir_rules
29
30 $(call MOD_ADD_C,app_confbridge,$(wildcard confbridge/*.c))
31
32 app_confbridge.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
33 app_meetme.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
34 app_minivm.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
35 app_voicemail.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
36 app_while.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
37
38 ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
39   LIBS+= -lres_ael_share.so -lres_monitor.so -lres_speech.so
40   LIBS+= -lres_smdi.so
41 endif