2 # Asterisk -- An open source telephony toolkit.
4 # Makefile for channel drivers
6 # Copyright (C) 1999-2006, Digium, Inc.
8 # This program is free software, distributed under the terms of
9 # the GNU General Public License
12 -include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
15 MENUSELECT_CATEGORY=CHANNELS
16 MENUSELECT_DESCRIPTION=Channel Drivers
20 include $(ASTTOPDIR)/Makefile.moddir_rules
22 $(call MOD_ADD_C,chan_iax2,$(wildcard iax2/*.c))
23 iax2/parser.o: _ASTCFLAGS+=$(call get_menuselect_cflags,MALLOC_DEBUG)
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)
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)
32 $(call MOD_ADD_C,console_video.c vgrabbers.c console_board.c)