:	command file to create the source code control system (sccs)
:	$1 = {fpp | nofpp}	for floating point hardware or not.
echo SCCS
if $1x != x goto parm
echo nofpp assumed
goto nofpp
: perror
echo "usage - sh sccs.rc {fpp | nofpp}"
exit
: parm
if $1 = fpp goto sccs
if $1 != nofpp goto perror
: nofpp
= f -f
: sccs
chdir /usr/source/sccsutil1
cc -c $f -O dsize.c
cc -c -O alloc.c\
bufrd.c\
bufwrt.c\
cat.c\
cindex.c\
clean.c\
copy.c\
dblgtr.c\
dname.c\
equal.c\
exists.c\
exit1.c\
exit2.c\
fatal.c\
getchr.c\
getl.c\
getldr.c\
getlnm.c\
gt.c >  /dev/null
chdir ../sccsutil2
as - -o putchr.o putchr.s
cc -c -O \
move.c\
msg2.c\
patoi.c\
putl.c\
pwldir.c\
remove.c\
rename.c\
same.c\
setsig.c\
size.c\
sname.c\
strf.c\
substr.c\
xcreat.c\
xlink.c\
xopen.c\
xpipe.c\
xwrite.c > /dev/null
chdir ../sccscommon
cc -c -O \
ctlrec.c\
dohist.c\
dofile.c\
sinit.c\
wrtrec.c\
dor.c\
dohead.c\
rdrec.c\
inbuf.c\
dtcvt.c\
permiss.c\
rdmod.c\
dorelt.c\
rwpfile.c\
outbuf.c\
dodelt.c\
dolist.c\
auxf.c\
delstr.c > /dev/null
chdir ..
ar r ulib.a \
sccscommon/dodelt.o\
sccscommon/dofile.o\
sccscommon/dohead.o\
sccscommon/dohist.o\
sccscommon/dolist.o\
sccscommon/dor.o\
sccscommon/dorelt.o\
sccscommon/dtcvt.o\
sccscommon/permiss.o\
sccscommon/rdmod.o\
sccscommon/rdrec.o\
sccscommon/rwpfile.o\
sccscommon/sinit.o\
sccscommon/wrtrec.o\
sccscommon/auxf.o\
sccscommon/ctlrec.o\
sccscommon/delstr.o\
sccscommon/inbuf.o\
sccscommon/outbuf.o\
sccsutil2/pwldir.o \
sccsutil1/alloc.o \
sccsutil1/getl.o \
sccsutil2/putl.o \
sccsutil1/bufrd.o \
sccsutil1/bufwrt.o \
sccsutil2/rename.o \
sccsutil2/remove.o \
sccsutil2/xwrite.o\
sccsutil2/xcreat.o > /dev/null 
ar r ulib.a \
sccsutil2/xopen.o \
sccsutil2/xpipe.o \
sccsutil2/xlink.o \
sccsutil1/dname.o \
sccsutil2/setsig.o \
sccsutil1/fatal.o \
sccsutil1/exit2.o \
sccsutil2/msg2.o \
sccsutil1/clean.o \
sccsutil1/copy.o \
sccsutil1/dblgtr.o \
sccsutil1/dsize.o \
sccsutil1/equal.o \
sccsutil1/exit1.o \
sccsutil1/getchr.o \
sccsutil1/getldr.o \
sccsutil1/getlnm.o \
sccsutil2/move.o \
sccsutil2/patoi.o \
sccsutil2/same.o \
sccsutil2/size.o \
sccsutil2/sname.o \
sccsutil1/exists.o \
sccsutil1/cindex.o \
sccsutil2/substr.o \
sccsutil1/cat.o\
sccsutil1/gt.o\
sccsutil2/strf.o\
sccsutil2/putchr.o > /dev/null
rm -f sccsutil1/*.o sccsutil2/*.o sccscommon/*.o > /dev/null
chdir sccscmds
cc -O -s admin.c ../ulib.a
mv -f a.out /usr/bin/admin
cc -O -s chghist.c ../ulib.a
mv -f a.out /usr/bin/chghist
cc -O -s $f delta.c ../ulib.a
mv -f a.out /usr/bin/delta
cc -O -s get.c ../ulib.a
mv -f a.out /usr/bin/get
cc -O -s help.c ../ulib.a
mv -f a.out /usr/bin/help
cc -O -s prt.c ../ulib.a
mv -f a.out /usr/bin/prt
cc -O -s rmdel.c ../ulib.a
mv -f a.out /usr/bin/rmdel
cc -O -s what.c ../ulib.a
mv -f a.out /usr/bin/what
cc -O -s reform.c
mv -f a.out /usr/bin/reform
cp sccs.hf /usr/lib/sccs.hf
rm ../ulib.a
chown bin /usr/lib/sccs.hf
chmod 644 /usr/lib/sccs.hf
chdir /usr/bin
chown bin admin chghist delta get help prt rmdel what reform
chmod 755 admin chghist delta get help prt rmdel what reform
