summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2001-11-09 17:58:41 +0000
committermarkster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2001-11-09 17:58:41 +0000
commitc7560004aaa6726490d908eaaedcac62e3118701 (patch)
tree7a075db2dab71fbe7b4f3d62e98ade20d771e23b /Makefile
parent38bed60f5d8d4c0d75854538a9f905bfd33ec54f (diff)
Version 0.1.2 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@28 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index cf6ec60..4b45c64 100755
--- a/Makefile
+++ b/Makefile
@@ -35,10 +35,10 @@ MODCONF=$(shell if [ -f /etc/modules.conf ]; then echo /etc/modules.conf; else e
TZOBJS=zonedata.lo tonezone.lo
LIBTONEZONE=libtonezone.so.1.0
-MODULES=zaptel.o tor2.o torisa.o tigerjet.o wcfxo.o
+MODULES=zaptel.o tor2.o torisa.o wcfxsusb.o wcfxo.o
MODULES+=$(shell if [ -f wct1xxp.c ]; then echo wct1xxp.o; fi)
-PRIMARY=tigerjet
+PRIMARY=wcfxsusb
#PRIMARY=torisa
#PRIMARY=wcfxo
@@ -57,8 +57,8 @@ zaptel.o: zaptel.c zaptel.h digits.h
torisa.o: torisa.c zaptel.h torisa.h
gcc $(KFLAGS) -c torisa.c
-tigerjet.o: tigerjet.c tigerjet.h zaptel.h
- gcc $(KFLAGS) -c tigerjet.c
+wcfxsusb.o: wcfxsusb.c wcfxsusb.h zaptel.h
+ gcc $(KFLAGS) -c wcfxsusb.c
wcfxo.o: wcfxo.c zaptel.h
gcc $(KFLAGS) -c wcfxo.c
@@ -133,15 +133,15 @@ install: all devices
mv -f $(MODCONF) $(MODCONF).bak
cat $(MODCONF).bak | grep -v "alias char-major-250" | \
grep -v "post-install torisa /sbin/ztcfg" | \
- grep -v "post-install tigerjet /sbin/ztcfg" > $(MODCONF)
+ grep -v "post-install wcfxsusb /sbin/ztcfg" > $(MODCONF)
if ! grep "options torisa" $(MODCONF); then \
echo "options torisa base=$(BASEADDR)" >> $(MODCONF); \
fi
if ! grep "alias char-major-196" $(MODCONF); then \
echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \
fi
- if ! grep "post-install tigerjet" $(MODCONF); then \
- echo "post-install tigerjet /sbin/ztcfg" >> $(MODCONF); \
+ if ! grep "post-install wcfxsusb" $(MODCONF); then \
+ echo "post-install wcfxsusb /sbin/ztcfg" >> $(MODCONF); \
fi
if ! grep "post-install torisa" $(MODCONF); then \
echo "post-install torisa /sbin/ztcfg" >> $(MODCONF); \
@@ -156,6 +156,7 @@ install: all devices
[ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf
clean:
+ rm -f torisatool makefw tor2fw.h
rm -f *.o ztcfg tzdriver sethdlc
rm -f $(TZOBJS) $(LIBTONEZONE) *.lo
rm -f gendigits tones.h