[zaptel-commits] trunk r1120 - /trunk/Makefile

zaptel-commits at lists.digium.com zaptel-commits at lists.digium.com
Mon Jun 19 15:06:41 MST 2006


Author: mattf
Date: Mon Jun 19 17:06:41 2006
New Revision: 1120

URL: http://svn.digium.com/view/zaptel?rev=1120&view=rev
Log:
Add b410p target to Makefile

Modified:
    trunk/Makefile

Modified: trunk/Makefile
URL: http://svn.digium.com/view/zaptel/trunk/Makefile?rev=1120&r1=1119&r2=1120&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Mon Jun 19 17:06:41 2006
@@ -285,6 +285,15 @@
 
 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 @@
 	rm -f fxotune
 	rm -f core
 	rm -f ztcfg-shared fxstest
+	rm -rf misdn*
+	rm -rf mISDNuser*
 	rm -f fw2h vpm450m_fw.h
 
 FORCE:



More information about the zaptel-commits mailing list