diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2002-03-15 15:18:52 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2002-03-15 15:18:52 +0000 |
commit | cc758a980dca142a3cba4a1b24ca77c8e7b8f31f (patch) | |
tree | c96f54e8769b6bf0a74a009554d6e0ab2091263d /Makefile | |
parent | e74e47f18060530b9b66742e2e8509cab388c4ac (diff) |
Version 0.1.6 from FTP
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@67 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 38 |
1 files changed, 30 insertions, 8 deletions
@@ -23,13 +23,25 @@ KFLAGS+=$(shell [ -f $(KINCLUDES)/linux/modversions.h ] && echo "-DMODVERSIONS - # # Features # -# Uncomment -DCONFIG_ZAPATA_NET to enable PPP, CiscoHDLC, and Frame Relay +# Uncomment -DCONFIG_ZAPATA_NET to enable SyncPPP, CiscoHDLC, and Frame Relay # support. # -#KFLAGS+=-DCONFIG_ZAPATA_NET -KFLAGS+=-DDEFAULT_TONE_ZONE=$(DEFAULTZONE) +#KFLAGS+=-DCONFIG_ZAPATA_NET +# +# Uncomment for Generic PPP support (i.e. ZapRAS) +# +#KFLAGS+=-DCONFIG_ZAPATA_PPP +# +# ISA Defaults can be set here. +# KFLAGS+=-DTORMENTA_BASE=$(BASEADDR) +KFLAGS+=-DDEFAULT_TONE_ZONE=$(DEFAULTZONE) +# +# Uncomment if you have an SMP kernel +# +#KFLAGS+=-D__SMP__ + KFLAGS+=-DSTANDALONE_ZAPATA CFLAGS+=-DSTANDALONE_ZAPATA @@ -37,20 +49,21 @@ 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 wcfxsusb.o wcfxo.o wcfxs.o +MODULES=zaptel.o tor2.o torisa.o wcusb.o wcfxsusb.o wcfxo.o wcfxs.o \ + ztdynamic.o ztd-eth.o MODULES+=$(shell if [ -f wct1xxp.c ]; then echo wct1xxp.o; fi) ZTTOOL=$(shell if [ -f /usr/include/newt.h ]; then echo zttool; fi) #PRIMARY=wcfxsusb PRIMARY=torisa #PRIMARY=wcfxo -all: $(MODULES) ztcfg torisatool makefw $(ZTTOOL) sethdlc +all: $(MODULES) ztcfg torisatool fxstest makefw $(ZTTOOL) sethdlc devel: tor2ee tests: patgen pattest -tor2.o: tor2.c tor2-hw.h tor.h tor2fw.h +tor2.o: tor2.c tor2-hw.h tor.h tor2fw.h zaptel.h gcc $(KFLAGS) -c tor2.c zaptel.o: zaptel.c zaptel.h digits.h @@ -59,18 +72,27 @@ zaptel.o: zaptel.c zaptel.h digits.h torisa.o: torisa.c zaptel.h torisa.h gcc $(KFLAGS) -c torisa.c +wcusb.o: wcusb.c wcusb.h zaptel.h + gcc $(KFLAGS) -c wcusb.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 -wct1xxp.o:wct1xxp.c +wct1xxp.o:wct1xxp.c zaptel.h gcc $(KFLAGS) -c wct1xxp.c -wcfxs.o:wcfxs.c +wcfxs.o:wcfxs.c zaptel.h gcc $(KFLAGS) -c wcfxs.c +ztdynamic.o: ztdynamic.c zaptel.h + gcc $(KFLAGS) -c ztdynamic.c + +ztd-eth.o: ztd-eth.c zaptel.h + gcc $(KFLAGS) -c ztd-eth.c + tor2ee.o: tor2-hw.h tor2ee: tor2ee.o |