app_directory: add ability to specify configuration file
[asterisk/asterisk.git] / channels / Makefile
1 #
2 # Asterisk -- An open source telephony toolkit.
3 #
4 # Makefile for channel drivers
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=chan
15 MENUSELECT_CATEGORY=CHANNELS
16 MENUSELECT_DESCRIPTION=Channel Drivers
17
18 all: _all
19
20 include $(ASTTOPDIR)/Makefile.moddir_rules
21
22 $(call MOD_ADD_C,chan_iax2,$(wildcard iax2/*.c))
23 iax2/parser.o: _ASTCFLAGS+=$(call get_menuselect_cflags,MALLOC_DEBUG)
24
25 $(call MOD_ADD_C,chan_pjsip,$(wildcard pjsip/*.c))
26 $(call MOD_ADD_C,chan_dahdi,$(wildcard dahdi/*.c) sig_analog.c sig_pri.c sig_ss7.c)
27
28 chan_dahdi.o: _ASTCFLAGS+=$(call get_menuselect_cflags,LOTS_OF_SPANS)
29 chan_unistim.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
30 chan_phone.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
31
32 $(call MOD_ADD_C,console_video.c vgrabbers.c console_board.c)