summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-06-19 22:06:41 +0000
committermattf <mattf@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2006-06-19 22:06:41 +0000
commit2ff653b9bde59270e9c475c7576cbafde895283b (patch)
treeace57d71596609f40102194a19f586635646f55a /Makefile
parent0b7ea6d2b0933f8d5230dec6200efa41a6e6c0a2 (diff)
Add b410p target to Makefile
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@1120 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3119ad3..da22bb0 100644
--- a/Makefile
+++ b/Makefile
@@ -286,6 +286,15 @@ fxsdump: LDFLAGS+=-lm
stackcheck: checkstack $(BUILDVER)
./checkstack *.o
+b410p:
+ @wget -V >/dev/null || (echo "You need wget in order to install the drivers" ; false)
+ [ -f misdn-b410p.tar.bz ] || wget ftp://ftp.digium.com/pub/zaptel/b410p/misdn-b410p.tar.gz
+ tar -zxf misdn-b410p.tar.gz
+ $(MAKE) -C misdn install
+ [ -f mISDNuser.tar.gz ] || wget ftp://ftp.digium.com/pub/zaptel/b410p/mISDNuser.tar.gz
+ tar -zxf mISDNuser.tar.gz
+ $(MAKE) -C mISDNuser install
+
$(UTILS): %: %.o
$(CC) $(CFLAGS) -o $@ $< $(LDFLAGS)
@@ -438,6 +447,8 @@ endif
rm -f fxotune
rm -f core
rm -f ztcfg-shared fxstest
+ rm -rf misdn*
+ rm -rf mISDNuser*
rm -f fw2h vpm450m_fw.h
FORCE: