diff options
Diffstat (limited to 'dviware/beebe/src/vms/00make.com')
-rw-r--r-- | dviware/beebe/src/vms/00make.com | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/dviware/beebe/src/vms/00make.com b/dviware/beebe/src/vms/00make.com new file mode 100644 index 0000000000..a6db68b1b6 --- /dev/null +++ b/dviware/beebe/src/vms/00make.com @@ -0,0 +1,71 @@ +$ !===================================================================== +$ ! Makefile for files in directory [.TEX.DVI] +$ ! +$ ! Since VMS C is a separately licensed (and expensive) product, many +$ ! PLOT79 sites will not have it. In order to make it possible to use +$ ! the software in this directory, we try to link using the +$ ! NON-shareable C run-time library, VAXCRTL.OLB, instead of the +$ ! shareable version (which might be VMS release-dependent). Also, we +$ ! set the default file protection for .OBJ and .EXE files created by +$ ! this command procedure to values which EXCLUDE delete permission. +$ ! That way, clean-up by [--]00CLEAN.COM will never remove these files. +$ ! +$ ! [24-Nov-86] +$ !===================================================================== +$ save_prot = f$environment("PROTECTION") +$ on control_y then - + goto done +$ if f$search("sys$share:vaxcrtl.olb") .nes. "" then - + CLIB :== [--]unixclib.olb/library,sys$share:vaxcrtl.olb/library +$ if f$search("sys$share:vaxcrtl.olb") .eqs. "" then - + CLIB :== [--]unixclib.olb/library,[]cc.opt/option +$ set protection=(s:re,o:re,g:re,w:re)/default +$ if f$search("sys$system:vaxc.exe") .nes. "" then goto HAVEC +$ write sys$output "No C compiler available" +$ goto more +$ HAVEC: +$ ccom cp +$ ccom dvi* +$ ccom echoall +$ ccom lptops +$ ccom macjet +$ ccom macprx +$ ccom texidx +$ ccom tosprx +$ ccom vaxvms +$ ccom wsltex +$ MORE: +$ ! +$ ! PLT:UNIXCLIB contains replacements for standard Unix +$ ! routines which VMS C does not have. +$ if f$search("[--]unixclib.olb") .eqs. "" then - + library /create [--]unixclib.olb +$ set file /protection=(w:rwe) [--]unixclib.olb +$ library [--]unixclib.olb vaxvms.obj.0 +$ set file /protection=(w:re) [--]unixclib.olb +$ ! +$ link /nomap/exec=[--] CP,'CLIB' +$ link /nomap/exec=[--] DVIALW,'CLIB' +$ link /nomap/exec=[--] DVIBIT,'CLIB' +$ link /nomap/exec=[--] DVICAN,'CLIB' +$ ! DVIGD not of interest outside Utah +$ ! link /nomap/exec=[--] DVIGD,'CLIB' +$ link /nomap/exec=[--] DVIIMP,'CLIB' +$ link /nomap/exec=[--] DVIJEP,'CLIB' +$ link /nomap/exec=[--] DVIJET,'CLIB' +$ link /nomap/exec=[--] DVIM72,'CLIB' +$ link /nomap/exec=[--] DVIMAC,'CLIB' +$ link /nomap/exec=[--] DVIMPI,'CLIB' +$ link /nomap/exec=[--] DVIO72,'CLIB' +$ link /nomap/exec=[--] DVIOKI,'CLIB' +$ link /nomap/exec=[--] DVIPRX,'CLIB' +$ link /nomap/exec=[--] DVITOS,'CLIB' +$ link /nomap/exec=[--] ECHOALL,'CLIB' +$ link /nomap/exec=[--] LPTOPS,'CLIB' +$ link /nomap/exec=[--] MACJET,'CLIB' +$ link /nomap/exec=[--] MACPRX,'CLIB' +$ link /nomap/exec=[--] TEXIDX,'CLIB' +$ link /nomap/exec=[--] TOSPRX,'CLIB' +$ link /nomap/exec=[--] WSLTEX,'CLIB' +$ done: +$ set protection=('save_prot') /default |