#
#	this command file builds [307,31], the distribution uic for
#	the RSX/IAS tools.  The files are built into the current
#	directory, with the input files found on /src, /rsx and /doc
#	of the same disk
#
ar xv /rsx/extra.w
get /rsx/bspawn.tcs >t.w; ar xv t.w
get /rsx/fell.tcs >t.w; ar xv t.w fel.mac
ar xv /rsx/rlib.w >temp
ar p minprim.mar >minprim.mac
ar p minlib.mar >minlib.mac
ar x prim.m
ar x lib.m
ratp1 - prim.r >x <<!
define(TIME_ZONE,"PST")
!
ratp2 x >primpst.ff; rm x
ar xv lib.r | find .r | ch "%?*$" "ratp1 & | ratp2" | sh -v >lib.ff
ar t lib.r | rm
rm <temp
get /rsx/fc.tcs >t.w; ar xv t.w >temp
ratp1 - fc.r >x <<!
define(FORT_COMP,F4P)
define(COMP_NAME,3HF4P)
!
ratp2 x >fcf4p.ff; rm x
ratp1 - fc.r >x <<!
define(FORT_COMP,FOR)
define(COMP_NAME,3HFOR)
!
ratp2 x >fcfor.ff; rm x
rm <temp
get /rsx/ld.tcs >t.w; ar xv t.w >temp
ratp1 - ld.r >x <<!
define(FLOAT_PT,YES)
!
ratp2 x >ldfp.ff; rm x
ratp1 - ld.r >x <<!
define(FLOAT_PT,NO)
!
ratp2 x >ldnofp.ff; rm x
rm <temp
get /src/acat.tcs >t.w; ar xv t.w >temp; rc -rv acat.r; rm <temp
get /src/admin.tcs >t.w; ar xv t.w >temp; rc -rv admin.r; rm <temp
get /src/alist.tcs >t.w; ar xv t.w >temp; rc -rv alist.r; rm <temp
get /src/apropos.tcs >t.w; ar xv t.w >temp; rc -rv apropos.r; rm <temp
get /src/ar.tcs >t.w; ar xv t.w >temp; rc -rv ar.r; rm <temp
get /src/args.tcs >t.w; ar xv t.w >temp; rc -rv args.r; rm <temp
get /src/asam.tcs >t.w; ar xv t.w >temp; rc -rv asam.r; rm <temp
get /src/asplit.tcs >t.w; ar xv t.w >temp; rc -rv asplit.r; rm <temp
get /src/axref.tcs >t.w; ar xv t.w >temp; rc -rv axref.r; rm <temp
get /src/banner.tcs >t.w; ar xv t.w >temp; rc -rv banner.r; rm <temp
ar x t.w bigchar
get /src/bargraph.tcs >t.w; ar xv t.w >temp; rc -rv bargraph.r; rm <temp
get /src/box.tcs >t.w; ar xv t.w >temp; rc -rv box.r; rm <temp
get /src/cat.tcs >t.w; ar xv t.w >temp; rc -rv cat.r; rm <temp
get /src/ccnt.tcs >t.w; ar xv t.w >temp; rc -rv ccnt.r; rm <temp
get /src/ch.tcs >t.w; ar xv t.w >temp; rc -rv ch.r; rm <temp
get /src/cmp.tcs >t.w; ar xv t.w >temp; rc -rv cmp.r; rm <temp
get /src/comm.tcs >t.w; ar xv t.w >temp; rc -rv comm.r; rm <temp
get /src/cpress.tcs >t.w; ar xv t.w >temp; rc -rv cpress.r; rm <temp
get /src/crt.tcs >t.w; ar xv t.w >temp; rc -rv crt.r; rm <temp
get /src/crypt.tcs >t.w; ar xv t.w >temp; rc -rv crypt.r; rm <temp
get /src/date.tcs >t.w; ar xv t.w >temp; rc -rv date.r; rm <temp
get /src/dc.tcs >t.w; ar xv t.w >temp; rc -rv dc.r; rm <temp
get /src/delta.tcs >t.w; ar xv t.w >temp; rc -rv delta.r
ratp1 - delta.r >x <<!
define(DO_PAGING,)
!
ratp2 x >pdelta.f; rm x
rm <temp
get /src/detab.tcs >t.w; ar xv t.w >temp; rc -rv detab.r; rm <temp
get /src/diff.tcs >t.w; ar xv t.w >temp; rc -rv diff.r; rm <temp
get /src/echo.tcs >t.w; ar xv t.w >temp; rc -rv echo.r; rm <temp
get /src/ed.tcs >t.w; ar xv t.w >temp
ratp1 - ed.r >x <<!
define(DO_PAGING,)
!
ratp2 x >ed.f; rm x
rm <temp
ar x t.w ed.hlp
get /src/entab.tcs >t.w; ar xv t.w >temp; rc -rv entab.r; rm <temp
get /src/expand.tcs >t.w; ar xv t.w >temp; rc -rv expand.r; rm <temp
get /src/fb.tcs >t.w; ar xv t.w >temp; rc -rv fb.r; rm <temp
get /src/fd.tcs >t.w; ar xv t.w >temp; rc -rv fd.r; rm <temp
get /src/field.tcs >t.w; ar xv t.w >temp; rc -rv field.r; rm <temp
get /src/find.tcs >t.w; ar xv t.w >temp; rc -rv find.r; rm <temp
get /src/form.tcs >t.w; ar xv t.w >temp; rc -rv form.r; rm <temp
get /src/format.tcs >t.w; ar xv t.w >temp; rc -rv format.r; rm <temp
get /src/get.tcs >t.w; ar xv t.w >temp; rc -rv get.r; rm <temp
get /src/grep.tcs >t.w; ar xv t.w >temp; rc -rv grep.r; rm <temp
get /src/incl.tcs >t.w; ar xv t.w >temp; rc -rv incl.r; rm <temp
get /src/intro.tcs >t.w; ar xv t.w >temp; rc -rv intro.r; rm <temp
get /src/isam.tcs >t.w; ar xv t.w >temp; rc -rv isam.r; rm <temp
get /src/kwic.tcs >t.w; ar xv t.w >temp; rc -rv kwic.r; rm <temp
get /src/lam.tcs >t.w; ar xv t.w >temp; rc -rv lam.r; rm <temp
get /src/lcnt.tcs >t.w; ar xv t.w >temp; rc -rv lcnt.r; rm <temp
get /src/ll.tcs >t.w; ar xv t.w >temp; rc -rv ll.r; rm <temp
get /src/ls.tcs >t.w; ar xv t.w >temp; rc -rv ls.r; rm <temp
get /src/macro.tcs >t.w; ar xv t.w >temp; rc -rv macro.r; rm <temp
get /src/man.tcs >t.w; ar xv t.w >temp; rc -rv man.r; rm <temp
get /src/mcol.tcs >t.w; ar xv t.w >temp; rc -rv mcol.r; rm <temp
get /src/mv.tcs >t.w; ar xv t.w >temp; rc -rv mv.r; rm <temp
get /src/number.tcs >t.w; ar xv t.w >temp; rc -rv number.r; rm <temp
get /src/os.tcs >t.w; ar xv t.w >temp; rc -rv os.r; rm <temp
get /src/pack.tcs >t.w; ar xv t.w >temp; rc -rv pack.r; rm <temp
get /src/pl.tcs >t.w; ar xv t.w >temp; rc -rv pl.r; rm <temp
get /src/pr.tcs >t.w; ar xv t.w >temp; rc -rv pr.r; rm <temp
get /src/printf.tcs >t.w; ar xv t.w >temp; rc -rv printf.r; rm <temp
get /src/prlabl.tcs >t.w; ar xv t.w >temp; rc -rv prlabl.r; rm <temp
get /src/pwd.tcs >t.w; ar xv t.w >temp; rc -rv pwd.r; rm <temp
get /src/rar.tcs >t.w; ar xv t.w >temp; rc -rv rar.r; rm <temp
get /src/ratfor.tcs >t.w; ar xv t.w >temp
ratp1 ratp1d ratfor.r | ratp2 >ratp1.f
rm <temp
get /src/ratp2.tcs >t.w; ar xv t.w >temp; rc -rv ratp2.r; rm <temp
get /src/rc.tcs >t.w; ar xv t.w >temp; rc -rv rc.r; rm <temp
get /src/rev.tcs >t.w; ar xv t.w >temp; rc -rv rev.r; rm <temp
get /src/rm.tcs >t.w; ar xv t.w >temp; rc -rv rm.r; rm <temp
get /src/ruler.tcs >t.w; ar xv t.w >temp; rc -rv ruler.r; rm <temp
get /src/sched.tcs >t.w; ar xv t.w >temp; rc -rv sched.r; rm <temp
get /src/sedit.tcs >t.w; ar xv t.w >temp; rc -rv sedit.r; rm <temp
get /src/sepfor.tcs >t.w; ar xv t.w >temp; rc -rv sepfor.r; rm <temp
get /src/sh.tcs >t.w; ar xv t.w >temp; ratp1 shdef sh.r | ratp2 >sh.f
ratp1 hshdef sh.r | ratp2 >hsh.f
ratp1 movhshdef sh.r | ratp2 >movhsh.ff; rm <temp
get /src/sleep.tcs >t.w; ar xv t.w >temp; rc -rv sleep.r; rm <temp
get /src/sort.tcs >t.w; ar xv t.w >temp; rc -rv sort.r; rm <temp
get /src/spell.tcs >t.w; ar xv t.w >temp; rc -rv spell.r; rm <temp
get /src/split.tcs >t.w; ar xv t.w >temp; rc -rv split.r; rm <temp
get /src/tail.tcs >t.w; ar xv t.w >temp; rc -rv tail.r; rm <temp
get /src/tee.tcs >t.w; ar xv t.w >temp; rc -rv tee.r; rm <temp
get /src/tr.tcs >t.w; ar xv t.w >temp; rc -rv tr.r; rm <temp
get /src/tsort.tcs >t.w; ar xv t.w >temp; rc -rv tsort.r; rm <temp
get /src/ttt.tcs >t.w; ar xv t.w >temp; rc -rv ttt.r; rm <temp
get /src/txtrpl.tcs >t.w; ar xv t.w >temp; rc -rv txtrpl.r; rm <temp
ar x t.w pf fmtpf
get /src/ul.tcs >t.w; ar xv t.w >temp; rc -rv ul.r; rm <temp
get /src/uniq.tcs >t.w; ar xv t.w >temp; rc -rv uniq.r; rm <temp
get /src/unrot.tcs >t.w; ar xv t.w >temp; rc -rv unrot.r; rm <temp
get /src/wc.tcs >t.w; ar xv t.w >temp; rc -rv wc.r; rm <temp
get /src/wcnt.tcs >t.w; ar xv t.w >temp; rc -rv wcnt.r; rm <temp
get /src/xch.tcs >t.w; ar xv t.w >temp; rc -rv xch.r; rm <temp
get /src/xfind.tcs >t.w; ar xv t.w >temp; rc -rv xfind.r; rm <temp
get /src/xref.tcs >t.w; ar xv t.w >temp; rc -rv xref.r; rm <temp
get /rsx/addr.tcs >t.w; ar xv t.w >temp; rc -rv addr.r; rm <temp
get /rsx/chd.tcs >t.w; ar xv t.w >temp; rc -rv chd.r; rm <temp
get /rsx/lsd.tcs >t.w; ar xv t.w >temp; rc -rv lsd.r; rm <temp
get /rsx/mcrbck.tcs >t.w; ar xv t.w >temp; rc -rv mcrbck.r; rm <temp
get /rsx/mkd.tcs >t.w; ar xv t.w >temp; rc -rv mkd.r; rm <temp
get /rsx/mubld.tcs >t.w; ar xv t.w >temp; rc -rv mubld.r; rm <temp
get /rsx/objfix.tcs >t.w; ar xv t.w >temp; rc -rv objfix.r; rm <temp
get /rsx/prd.tcs >t.w; ar xv t.w >temp; rc -rv prd.r; rm <temp
get /rsx/whereis.tcs >t.w; ar xv t.w >temp; rc -rv whereis.r; rm <temp
rm t.w temp
cat /doc/sect1 >sect1
cat /doc/sect2 >sect2
cat /doc/sect3 >sect3
cat /doc/sect4 >sect4
cat /doc/mpath >mpath
format /doc/mintro.frm >mintro
cat /src/smalldict >dict
