summaryrefslogtreecommitdiff
path: root/dviware/beebe/src/vms/00make.com
blob: a6db68b1b6bbfd2227bae563c75a109d328ca0dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
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