home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
rtsi.com
/
2014.01.www.rtsi.com.tar
/
www.rtsi.com
/
OS9
/
OSK
/
TELECOM
/
rzsz_3_24_src.lzh
/
Make.OS9
< prev
next >
Wrap
Text File
|
1993-11-07
|
3KB
|
127 lines
REVISION = 3
EDITION = 24
ARCHIVE = rzsz_$(REVISION)_$(EDITION)
CC = cc $(CFLAGS)
ZFLAGS = $(TUNEFLAGS) -dMD2 -dMD=2 -dREADCHECK -dCANBREAK
OBJS = rbsb.r zm.r zmr.r crctab.r os9.r
SRC = rz.c sz.c rbsb.c zm.c zmr.c crctab.c crc.c minirb.c zmodem.h os9.h \
os9.c Make.OS9 Make.UNIX
DOC = mailer.rz rz.doc sz.doc README Readme.OS9 Notes.CoCo
OTHER = gz zupl.t crc.doc minirb.doc
EXE = CMDS/rz CMDS/sz
all:
@echo "Please type one of the following:"
@echo " make osk For OS-9/68000 version"
@echo " make coco For CoCo OS-9/6809 Level 2 version"
@echo " make lha_src For lha format source archive"
@echo " make ar_src For ar format source archive"
@echo " make lha_osk For lha format OSK executable archive"
@echo " make ar_osk For ar format OSK executable archive"
@echo " make lha_coco For lha format CoCo executable archive"
@echo " make ar_coco For ar format CoCo executable archive"
# Target for CoCo OS-9 Level 2
# TBXSIZE and HOWMANY can be fine tuned for optimum performance.
#
# We'd like to set the REV byte in the module header to $(REVISION), but
# there is no nice automatic way to do that on the CoCo.
coco:
make "CFLAGS=-dOS9 -dm6809" "TUNEFLAGS=-dTXBSIZE=8192 -dHOWMANY=255" rz
attr /dd/CMDS/rz pe e
make "CFLAGS=-dOS9 -dm6809" "TUNEFLAGS=-dTXBSIZE=8192 -dHOWMANY=255" sz
attr /dd/CMDS/sz pe e
# Target to OS-9/68000
# TBXSIZE and HOWMANY can be fine tuned for optimum performance.
# /dd/LIB/signal.r is the signal routines from Blars C Library
osk:
make "LIB=/dd/LIB/signal.r" "TUNEFLAGS=-dTXBSIZE=32768 -dHOWMANY=255" \
"CFLAGS=-dOS9 -q -t=/R0" rz
fixmod rz -x -ua800$(REVISION)
attr rz -x -pe -e
@make "LIB=/dd/LIB/signal.r" "TUNEFLAGS=-dTXBSIZE=32768 -dHOWMANY=255" \
"CFLAGS=-dOS9 -q -t=/R0" sz
fixmod sz -x -ua800$(REVISION)
attr sz -x -pe -e
lha_src:
-del $(ARCHIVE)_src.lzh
lha -ar $(ARCHIVE)_src $(SRC) $(DOC) $(OTHER)
# Assumes Executables are up to date
lha_osk:
-del $(EXE)
copy /dd/CMDS/rz CMDS/rz
copy /dd/CMDS/sz CMDS/sz
-del $(ARCHIVE)_OSK.lzh
lha -ar $(ARCHIVE)_OSK $(EXE) $(DOC)
# Assumes Executables are up to date
lha_coco:
-del $(EXE)
copy /dd/CMDS/rz CMDS/rz
copy /dd/CMDS/sz CMDS/sz
-del $(ARCHIVE)_CoCo.lzh
lha -ar $(ARCHIVE)_CoCo $(EXE) $(DOC)
ar_src:
-del $(ARCHIVE)_src.ar
ar -u $(ARCHIVE)_src $(SRC) $(DOC) $(OTHER)
# Assumes Executables are up to date
ar_osk:
-del $(EXE)
copy /dd/CMDS/rz CMDS/rz
copy /dd/CMDS/sz CMDS/sz
-del $(ARCHIVE)_OSK.ar
ar -u $(ARCHIVE)_OSK $(EXE) $(DOC)
# Assumes Executables are up to date
ar_coco:
-del $(EXE)
copy /dd/CMDS/rz CMDS/rz
copy /dd/CMDS/sz CMDS/sz
-del $(ARCHIVE)_CoCo.ar
ar -u $(ARCHIVE)_CoCo $(EXE) $(DOC)
rz: rz.r $(OBJS)
$(CC) rz.r $(OBJS) -e=$(EDITION) $(LIB) -f=rz -m=6k
sz: sz.r $(OBJS)
$(CC) sz.r $(OBJS) -e=$(EDITION) $(LIB) -f=sz -m=6k
rz.r: rz.c zmodem.h os9.h
$(CC) -r $(ZFLAGS) rz.c
sz.r: sz.c zmodem.h os9.h
$(CC) -r $(ZFLAGS) sz.c
rbsb.r:rbsb.c zmodem.h os9.h
$(CC) -r $(ZFLAGS) rbsb.c
zm.r: zm.c zmodem.h os9.h
$(CC) -r $(ZFLAGS) zm.c
zmr.r: zmr.c zmodem.h os9.h
$(CC) -r $(ZFLAGS) zmr.c
crctab.r: crctab.c
$(CC) -r $(ZFLAGS) crctab.c
os9.r: os9.c
$(CC) -r os9.c