# MMS description file to maintain DISTN sub-directory for # VMS software tools distribution # Macros used SRCDIR = [-.src] VMSDIR = [-.vms] DOCDIR = [-.doc] # Default action to take on tcs files .default : get $< >t.w ! get latest version ar xv t.w >temp ! crack archive ratp1 $*.r >t.x ! pre-process source to FORTRAN ratp2 t.x >$*.f ! ... rm ratdef toolgen.com : $(VMSDIR)extra.w ; ar x $(VMSDIR)extra.w # Dependencies for FORTRAN sources forts : srcf vmsf @ ! null action line srcf : acat.f admin.f alist.f apropos.f ar.f args.f asam.f asplit.f axref.f \ banner.f bargraph.f box.f cat.f ccnt.f ch.f cmp.f comm.f \ cpress.f crt.f crypt.f date.f dc.f delta.f detab.f diff.f \ echo.f ed.f entab.f expand.f fb.f fd.f field.f find.f form.f \ format.f get.f grep.f incl.f intro.f isam.f kwic.f lam.f \ lcnt.f ll.f ls.f macro.f man.f mcol.f mv.f number.f \ os.f pack.f pl.f pr.f printf.f prlabl.f pwd.f \ rar.f rat77.f ratfor.f ratp1.f ratp2.f \ rc.f rev.f rm.f ruler.f sched.f sedit.f \ sepfor.f sh.f sleep.f sort.f spell.f split.f tail.f tee.f \ tr.f tsort.f ttt.f txtrpl.f ul.f uniq.f unrot.f wc.f \ wcnt.f xch.f xfind.f xref.f \ biged.f e.f d.f hsh.f esh.f @ ! null action line acat.f : $(SRCDIR)acat.tcs ratdef admin.f : $(SRCDIR)admin.tcs ratdef alist.f : $(SRCDIR)alist.tcs ratdef apropos.f : $(SRCDIR)apropos.tcs ratdef ar.f : $(SRCDIR)ar.tcs ratdef args.f : $(SRCDIR)args.tcs ratdef asam.f : $(SRCDIR)asam.tcs ratdef asplit.f : $(SRCDIR)asplit.tcs ratdef axref.f : $(SRCDIR)axref.tcs ratdef banner.f : $(SRCDIR)banner.tcs ratdef bargraph.f : $(SRCDIR)bargraph.tcs ratdef box.f : $(SRCDIR)box.tcs ratdef cat.f : $(SRCDIR)cat.tcs ratdef ccnt.f : $(SRCDIR)ccnt.tcs ratdef ch.f : $(SRCDIR)ch.tcs ratdef cmp.f : $(SRCDIR)cmp.tcs ratdef comm.f : $(SRCDIR)comm.tcs ratdef cpress.f : $(SRCDIR)cpress.tcs ratdef crt.f : $(SRCDIR)crt.tcs ratdef crypt.f : $(SRCDIR)crypt.tcs ratdef date.f : $(SRCDIR)date.tcs ratdef dc.f : $(SRCDIR)dc.tcs ratdef delta.f : $(SRCDIR)delta.tcs ratdef detab.f : $(SRCDIR)detab.tcs ratdef diff.f : $(SRCDIR)diff.tcs ratdef echo.f : $(SRCDIR)echo.tcs ratdef ed.f : $(SRCDIR)ed.tcs ratdef biged.f : $(SRCDIR)ed.tcs ratdef get $(SRCDIR)ed.tcs >t.w ar xv t.w >temp ratp1 bigeddef ed.r >t.x ratp2 t.x >biged.f rm t.w ar xv t.w >temp ratp1 edef ed.r >t.x ratp2 t.x >e.f rm t.w ar xv t.w >temp ratp1 ddef ls.r >t.x ratp2 t.x >d.f rm t.w ar xv t.w >temp ratp1 rat77d ratfor.r >t.x ratp2 t.x >rat77.f rm t.w ar xv t.w >temp ratp1 ratford ratfor.r >t.x ratp2 t.x >ratfor.f rm t.w ar xv t.w >temp ratp1 ratp1d ratfor.r >t.x ratp2 t.x >ratp1.f rm t.w ar xv t.w >temp ratp1 shdef sh.r >t.x ratp2 t.x >sh.f rm t.w ar xv t.w >temp ratp1 hshdef sh.r >t.x ratp2 t.x >hsh.f rm t.w ar xv t.w >temp ratp1 eshdef sh.r >t.x ratp2 t.x >esh.f rm sect1 sect2 : $(DOCDIR)sect2 ; cat $(DOCDIR)sect2 >sect2 sect3 : $(DOCDIR)sect3 ; cat $(DOCDIR)sect3 >sect3 sect4 : $(DOCDIR)sect4 ; cat $(DOCDIR)sect4 >sect4 mpath : $(DOCDIR)mpath ; cat $(DOCDIR)mpath >mpath mintro : $(DOCDIR)mintro.frm ; format $(DOCDIR)mintro.frm >mintro # Dependencies for the ratfor library rlib : mars ffs @ ! null action line mars : pmars lmars @ ! null action line pmars : cctype.mar @ ! null action line cctype.mar : $(VMSDIR)rlib.w ar x $(VMSDIR)rlib.w prim.m ar x prim.m rm prim.m lmars : chcopy.mar @ ! null action line chcopy.mar : $(VMSDIR)rlib.w ar x $(VMSDIR)rlib.w lib.m ar x lib.m rm lib.m ffs : prim.ff lib.ff @ ! null action line prim.ff : $(VMSDIR)rlib.w ratdef ar xv $(VMSDIR)rlib.w >temp ratp1 prim.r >t.x ratp2 t.x >prim.ff rm temp ar xv lib.r >temp1 ar x lnedit.w ch temp2 ".w" ".r" echo "$ set verify" >mms.com ch >mms.com "%?*$" "$ ratp1 & >t.x@n$ ratp2 t.x >>lib.ff" echo "$ set noverify" >>mms.com rm lib.ff @mms ar t lnedit.w >>temp1 rm t.w ar x t.w bigchar rm t.w ed.hlp : $(SRCDIR)ed.tcs get $(SRCDIR)ed.tcs >t.w ar x t.w ed.hlp rm t.w pf : $(SRCDIR)txtrpl.tcs get $(SRCDIR)txtrpl.tcs >t.w ar x t.w pf rm t.w fmtpf : $(SRCDIR)txtrpl.tcs get $(SRCDIR)txtrpl.tcs >t.w ar x t.w fmtpf rm t.w dict : $(SRCDIR)largedict cat $(SRCDIR)largedict >dict compile.com : ffs ls .ff >temp ch compile.com "%?*." "$ fortran/noop/nolist/object=&obj &" rm temp assemble.com : mars ls .mar >temp ch assemble.com "%" "$ macro/nolist/object " rm temp library.com : echo "$ libr/create rlib.olb *.obj" >library.com fbuild.com : forts ls ".f$" >temp ch fbuild.com "%{[!.]+}{.f}" "$ @@build/out=nla0: $1" rm temp startup.cmd : template.ed startup.ml pack -8 temp ch startup.cmd "@t+" "," ch t.ed ed temp ch directory.cmd "@t+" "," ch t.ed ed temp ch hispmt.cmd "@t+" "," ch t.ed ed temp ch lnedit.cmd "@t+" "," ch t.ed ed temp ch pattern.cmd "@t+" "," ch t.ed ed temp ch rawpmt.cmd "@t+" "," ch t.ed ed temp ch spawn.cmd "@t+" "," ch t.ed ed temp ch rest.cmd "@t+" "," ch t.ed ed toolgen.doc