diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2001-11-08 18:21:26 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2001-11-08 18:21:26 +0000 |
commit | d454340c7de8ad923350e33223ebb14832446ff3 (patch) | |
tree | 9fd3197da11c959dcb9a4907fd1ee3926a4f38aa /Makefile | |
parent | a0403d948f135cc288eba6969d1df6473ba7dcbf (diff) |
Version 0.1.1 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@25 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -23,7 +23,10 @@ KFLAGS+=$(shell [ -f $(KINCLUDES)/linux/modversions.h ] && echo "-DMODVERSIONS - # # Features # -KFLAGS+=-DCONFIG_ZAPATA_NET +# Uncomment -DCONFIG_ZAPATA_NET to enable PPP, CiscoHDLC, and Frame Relay +# support. +# +#KFLAGS+=-DCONFIG_ZAPATA_NET KFLAGS+=-DDEFAULT_TONE_ZONE=$(DEFAULTZONE) KFLAGS+=-DTORMENTA_BASE=$(BASEADDR) @@ -32,7 +35,8 @@ 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 wct1xxp.o +MODULES=zaptel.o tor2.o torisa.o tigerjet.o wcfxo.o +MODULES+=$(shell if [ -f wct1xxp.c ]; then echo wct1xxp.o; fi) PRIMARY=tigerjet #PRIMARY=torisa @@ -58,6 +62,7 @@ tigerjet.o: tigerjet.c tigerjet.h zaptel.h wcfxo.o: wcfxo.c zaptel.h gcc $(KFLAGS) -c wcfxo.c + wct1xxp.o:wct1xxp.c gcc $(KFLAGS) -c wct1xxp.c @@ -144,6 +149,9 @@ install: all devices if ! grep "post-install tor2" $(MODCONF); then \ echo "post-install tor2 /sbin/ztcfg" >> $(MODCONF); \ fi + if ! grep "post-install wcfxo" $(MODCONF); then \ + echo "post-install wcfxo /sbin/ztcfg" >> $(MODCONF); \ + fi /sbin/depmod -a [ -f /etc/zaptel.conf ] || install -m 644 zaptel.conf.sample /etc/zaptel.conf |