Implement flags for AGI in the channel structure so taht "show channels" and
[asterisk/asterisk.git] / pbx / Makefile
1 #
2 # Asterisk -- A telephony toolkit for Linux.
3
4 # Makefile for PBX modules
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=pbx
15 MENUSELECT_CATEGORY=PBX
16 MENUSELECT_DESCRIPTION=PBX Modules
17
18 all: _all
19
20 include $(ASTTOPDIR)/Makefile.moddir_rules
21
22 ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
23   LIBS+= -lres_ael_share.so -lres_monitor.so
24 endif
25
26 clean::
27         rm -f ael/*.o
28
29 dundi-parser.o: dundi-parser.h
30 dundi-parser.o: ASTCFLAGS+=-I.
31
32 pbx_gtkconsole.o: ASTCFLAGS+=-Wno-strict-prototypes
33
34 $(if $(filter pbx_dundi,$(EMBEDDED_MODS)),modules.link,pbx_dundi.so): dundi-parser.o