[asterisk-commits] trunk - r7412 /trunk/channels/Makefile
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Dec 9 05:00:51 CST 2005
Author: crichter
Date: Fri Dec 9 05:00:48 2005
New Revision: 7412
URL: http://svn.digium.com/view/asterisk?rev=7412&view=rev
Log:
chan_misdn links against shared mISDNuser libraries now
Modified:
trunk/channels/Makefile
Modified: trunk/channels/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/channels/Makefile?rev=7412&r1=7411&r2=7412&view=diff
==============================================================================
--- trunk/channels/Makefile (original)
+++ trunk/channels/Makefile Fri Dec 9 05:00:48 2005
@@ -83,6 +83,7 @@
ifneq ($(wildcard misdn/chan_misdn_lib.a),)
CHANNEL_LIBS+=chan_misdn.so
+ CFLAGS+=-Imisdn
endif
CFLAGS+=-Wno-missing-prototypes -Wno-missing-declarations
@@ -234,11 +235,10 @@
endif
chan_misdn.so: chan_misdn.o chan_misdn_config.o misdn/chan_misdn_lib.a
- $(CC) -shared -Xlinker -x -o $@ $^ $(MISDNUSER)/i4lnet/libisdnnet.a $(MISDNUSER)/lib/libmISDN.a
-
-chan_misdn_config.o: chan_misdn_config.c
- $(CC) $(CFLAGS) -c chan_misdn_config.c
-
+ $(CC) -shared -Xlinker -x -L/usr/lib -o $@ $^ -lisdnnet -lmISDN
+
+chan_misdn.o: chan_misdn.c
+ $(CC) $(CFLAGS) -DCHAN_MISDN_VERSION=\"0.2.1\" -c $< -o $@
#chan_modem.so : chan_modem.o
# $(CC) -rdynamic -shared -Xlinker -x -o $@ $<
More information about the asterisk-commits
mailing list