stasic.c: Fix printf format type mismatches with arguments.
[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 $(call MOD_ADD_C,chan_sip,$(wildcard sip/*.c))
28 $(call MOD_ADD_C,chan_pjsip,$(wildcard pjsip/*.c))
29 $(call MOD_ADD_C,chan_dahdi,$(wildcard dahdi/*.c) sig_analog.c sig_pri.c sig_ss7.c)
30 $(call MOD_ADD_C,chan_misdn,misdn_config.c misdn/isdn_lib.c misdn/isdn_msg_parser.c)
31
32 chan_dahdi.o: _ASTCFLAGS+=$(call get_menuselect_cflags,LOTS_OF_SPANS)
33 chan_mgcp.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
34 chan_unistim.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
35 chan_phone.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
36 chan_sip.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
37
38 chan_misdn.o: _ASTCFLAGS+=-Imisdn
39 misdn_config.o: _ASTCFLAGS+=-Imisdn
40 misdn/isdn_lib.o: _ASTCFLAGS+=-Wno-strict-aliasing
41
42 $(call MOD_ADD_C,chan_oss,console_video.c vgrabbers.c console_board.c)