1999-12-01 05:25:44 +00:00
|
|
|
#
|
2012-10-14 21:47:40 +00:00
|
|
|
# Asterisk -- An open source telephony toolkit.
|
2013-07-23 15:59:32 +00:00
|
|
|
#
|
2005-06-20 17:26:08 +00:00
|
|
|
# Makefile for channel drivers
|
1999-12-01 05:25:44 +00:00
|
|
|
#
|
2006-02-11 17:58:21 +00:00
|
|
|
# Copyright (C) 1999-2006, Digium, Inc.
|
1999-12-01 05:25:44 +00:00
|
|
|
#
|
|
|
|
# This program is free software, distributed under the terms of
|
|
|
|
# the GNU General Public License
|
|
|
|
#
|
2005-06-20 17:26:08 +00:00
|
|
|
|
2007-12-09 21:29:37 +00:00
|
|
|
-include $(ASTTOPDIR)/menuselect.makeopts $(ASTTOPDIR)/menuselect.makedeps
|
2006-06-07 16:03:31 +00:00
|
|
|
|
2007-12-17 07:25:35 +00:00
|
|
|
MODULE_PREFIX=chan
|
|
|
|
MENUSELECT_CATEGORY=CHANNELS
|
|
|
|
MENUSELECT_DESCRIPTION=Channel Drivers
|
2005-11-01 21:53:30 +00:00
|
|
|
|
2006-06-24 19:43:31 +00:00
|
|
|
all: _all
|
1999-12-01 05:25:44 +00:00
|
|
|
|
2006-07-06 21:04:28 +00:00
|
|
|
include $(ASTTOPDIR)/Makefile.moddir_rules
|
2006-02-12 16:52:42 +00:00
|
|
|
|
2007-11-20 16:12:10 +00:00
|
|
|
ifneq ($(findstring $(OSARCH), mingw32 cygwin ),)
|
2015-02-26 04:58:38 +00:00
|
|
|
LIBS+= -lres_monitor.so
|
2007-11-20 16:12:10 +00:00
|
|
|
endif
|
|
|
|
|
2015-04-13 10:28:32 +00:00
|
|
|
$(call MOD_ADD_C,chan_iax2,$(wildcard iax2/*.c))
|
2019-11-08 15:20:13 +00:00
|
|
|
iax2/parser.o: _ASTCFLAGS+=$(call get_menuselect_cflags,MALLOC_DEBUG)
|
|
|
|
|
2015-04-13 10:28:32 +00:00
|
|
|
$(call MOD_ADD_C,chan_sip,$(wildcard sip/*.c))
|
|
|
|
$(call MOD_ADD_C,chan_pjsip,$(wildcard pjsip/*.c))
|
|
|
|
$(call MOD_ADD_C,chan_dahdi,$(wildcard dahdi/*.c) sig_analog.c sig_pri.c sig_ss7.c)
|
|
|
|
$(call MOD_ADD_C,chan_misdn,misdn_config.c misdn/isdn_lib.c misdn/isdn_msg_parser.c)
|
2002-02-16 19:23:59 +00:00
|
|
|
|
2018-08-01 04:54:11 +00:00
|
|
|
chan_dahdi.o: _ASTCFLAGS+=$(call get_menuselect_cflags,LOTS_OF_SPANS)
|
2017-08-02 19:16:43 +00:00
|
|
|
chan_mgcp.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
|
2018-05-07 02:17:34 +00:00
|
|
|
chan_unistim.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
|
|
|
|
chan_phone.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
|
|
|
|
chan_sip.o: _ASTCFLAGS+=$(AST_NO_FORMAT_TRUNCATION)
|
2017-07-28 01:58:22 +00:00
|
|
|
|
2009-07-21 13:28:04 +00:00
|
|
|
chan_misdn.o: _ASTCFLAGS+=-Imisdn
|
|
|
|
misdn_config.o: _ASTCFLAGS+=-Imisdn
|
|
|
|
misdn/isdn_lib.o: _ASTCFLAGS+=-Wno-strict-aliasing
|
2006-07-06 23:18:45 +00:00
|
|
|
|
2015-04-13 10:28:32 +00:00
|
|
|
$(call MOD_ADD_C,chan_oss,console_video.c vgrabbers.c console_board.c)
|