aboutsummaryrefslogtreecommitdiffstats
path: root/channels
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 17:15:36 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2008-02-05 17:15:36 +0000
commitf45a13e962c4f4c3a5aa463f3a36d81fa2d88d15 (patch)
tree15acbb62c3026fa0497770ee265b2b41acf610a6 /channels
parent5c8647f1ac3d65a8af99927ac7e9a384fe1cf06f (diff)
ensure that components of chan_misdn.so are built using any special build options that the configure script generated (reported by Philipp Kempgen on asterisk-dev)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@102425 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r--channels/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/channels/Makefile b/channels/Makefile
index f5e96c779..9ca05b18b 100644
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -122,6 +122,8 @@ misdn_config.o: ASTCFLAGS+=-Imisdn
misdn/isdn_lib.o: ASTCFLAGS+=-Wno-strict-aliasing
+misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o: ASTCFLAGS+=$(MENUSELECT_OPTS_chan_misdn:%=-D%) $(foreach dep,$(MENUSELECT_DEPENDS_chan_misdn),$(value $(dep)_INCLUDE))
+
$(if $(filter chan_misdn,$(EMBEDDED_MODS)),modules.link,chan_misdn.so): chan_misdn.o misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o
chan_vpb.oo: ASTCFLAGS:=$(filter-out -Wdeclaration-after-statement,$(ASTCFLAGS))