res_http_media_cache.c: Compare unaltered MIME types.
[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 ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
23   LIBS+= -lres_monitor.so
24 endif
25
26 $(call MOD_ADD_C,chan_iax2,$(wildcard iax2/*.c))
27 iax2/parser.o: _ASTCFLAGS+=$(call get_menuselect_cflags,MALLOC_DEBUG)
28
29 $(call MOD_ADD_C,chan_sip,$(wildcard sip/*.c))
30 $(call MOD_ADD_C,chan_pjsip,$(wildcard pjsip/*.c))
31 $(call MOD_ADD_C,chan_dahdi,$(wildcard dahdi/*.c) sig_analog.c sig_pri.c sig_ss7.c)
32
33 chan_dahdi.o: _ASTCFLAGS+=$(call get_menuselect_cflags,LOTS_OF_SPANS)
34 chan_mgcp.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
35 chan_unistim.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
36 chan_phone.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
37 chan_sip.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
38
39 $(call MOD_ADD_C,chan_oss,console_video.c vgrabbers.c console_board.c)