aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-06 18:14:52 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2001-03-06 18:14:52 +0000
commitc43fe99fe03d3d87973e7c874f870c437af65988 (patch)
tree210424d3006195d63dde3c59725383d9ae1878fa
parentec33332c72b93fcc02277965802a6f776010ecf4 (diff)
Version 0.1.7 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@234 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xchannels/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/channels/Makefile b/channels/Makefile
index a9d78aaf4..c31d3df28 100755
--- a/channels/Makefile
+++ b/channels/Makefile
@@ -22,6 +22,11 @@ CFLAGS+=$(shell [ ! -f /usr/include/linux/if_wanpipe.h ] && echo " -DOLD_SANGOMA
CFLAGS+=#-DVOFRDUMPER
+ZAPDIR=/usr/lib
+CHANNEL_LIBS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "chan_tor.so")
+
+CFLAGS+=$(shell [ -f $(ZAPDIR)/libzap.a ] && echo "-I$(ZAPDIR)")
+
all: $(CHANNEL_LIBS)
clean:
@@ -34,8 +39,8 @@ clean:
# rm -f libiax.a
# $(AR) cr libiax.a libiax.o
-#chan_iax.so: chan_iax.o libiax.a
-# $(CC) -shared -Xlinker -x -o $@ $< -L. -liax
+chan_tor.so: chan_tor.o
+ $(CC) -shared -Xlinker -x -o $@ $< -lzap -ltonezone
#chan_modem.so : chan_modem.o
# $(CC) -rdynamic -shared -Xlinker -x -o $@ $<