Category : UNIX Files
Archive   : COH_ZMOD.ZIP
Filename : MAKEFILE

 
Output of file : MAKEFILE contained in archive : COH_ZMOD.ZIP

# Makefile for Unix/Xenix rz and sz programs
# the makefile is not too well tested yet

nothing:
@echo
@echo "Please study the #ifdef's in rbsb.c, rz.c and sz.c,"
@echo "then type 'make system' where system is one of:"
@echo " sysv SYSTEM 5 Unix"
@echo " xenix SYSTEM 3/5 Xenix"
@echo " x386 386 Xenix"
@echo " bsd Berkeley 4.x BSD, and Ultrix"
@echo " cohrz rz for Coherent 3.0.0"
@echo " cohsz sz for Coherent 3.0.0"
@echo

usenet:
shar -f /tmp/rzsz README Makefile zmodem.h zm.c sz.c rz.c rbsb.c \
minirb.c *.1 gz ptest.sh zupl.t

shar:
shar -f /tmp/rzsz1et2 -m 1000000 README Makefile zmodem.h zm.c \
sz.c rz.c rbsb.c minirb.c *.1 gz ptest.sh zupl.t

arc:
rm -f /tmp/rzsz.arc
arc a /tmp/rzsz README Makefile zmodem.h zm.c sz.c rz.c \
rbsb.c *.1 gz ptest.sh zupl.t minirb.c
chmod og-w /tmp/rzsz.arc
ln /tmp/rzsz.arc /usr/spool/uucppublic
mv /tmp/rzsz.arc /t/yam

zoo:
rm -f /tmp/rzsz.zoo
zoo a /tmp/rzsz README Makefile zmodem.h zm.c sz.c rz.c \
rbsb.c *.1 gz ptest.sh zupl.t minirb.c
chmod og-w /tmp/rzsz.zoo
ln /tmp/rzsz.zoo /usr/spool/uucppublic
mv /tmp/rzsz.zoo /t/yam

.PRECIOUS:rz sz

xenix:
cc -M0 -Ox -K -i -DNFGVMIN -DREADCHECK sz.c -lx -o sz
size sz
-ln sz sb
-ln sz sx
cc -M0 -Ox -K -i rz.c -o rz
size rz
-ln rz rb
-ln rz rx

x386:
cc -Ox rz.c -o rz
size rz
-ln rz rb
-ln rz rx
cc -Ox -DNFGVMIN -DREADCHECK sz.c -lx -o sz
size sz
-ln sz sb
-ln sz sx

sysv:
cc -O rz.c -o rz
size rz
-ln rz rb
-ln rz rx
cc -DSVR2 -O -DNFGVMIN sz.c -o sz
size sz
-ln sz sb
-ln sz sx

bsd:
cc -DV7 -O rz.c -o rz
size rz
-ln rz rb
-ln rz rx
cc -DV7 -O -DNFGVMIN sz.c -o sz
-size sz
-ln sz sb
-ln sz sx

cohrz:
cc -O -DV7 rz.c -o rz

cohsz:
cc -O -DV7 -DONEREAD sz.c -o sz

sz: nothing
sb: nothing
rz: nothing
rb: nothing