diff options
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 |