File: compile.com

package info (click to toggle)
gopher 3.0.7sarge2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,264 kB
  • ctags: 1,212
  • sloc: ansic: 13,865; sh: 1,448; makefile: 407
file content (117 lines) | stat: -rw-r--r-- 2,747 bytes parent folder | download | duplicates (11)
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
$ vo = 'f$verify(0)'
$!********************************************************************
$! lindner
$! 3.2
$! 1993/05/18 15:06:34
$! /home/mudhoney/GopherSrc/CVS/gopher+/object/compile.com,v
$! Exp
$!
$! Paul Lindner, University of Minnesota CIS.
$!
$! Copyright 1991, 1992 by the Regents of the University of Minnesota
$! see the file "Copyright" in the distribution for conditions of use.
$!********************************************************************
$! MODULE: compile.com
$! compiling script for VMS
$!*********************************************************************
$! Revision History:
$! compile.com,v
$! Revision 3.2  1993/05/18  15:06:34  lindner
$! Fixed CVS/RCS comment leaders...
$!
$! Revision 3.1  1993/05/05  18:44:07  lindner
$! new VMS files
$!
$! Revision 1.1  1992/12/31  05:19:12  lindner
$! Initial revision
$!
$!
$!********************************************************************/
$ IF P1 .EQS. ""
$ THEN
$    type/nopage sys$input:
     Usage:
	     @compile UCX
	     @compile WOLLONGONG
	     @compile MULTINET
	     @compile CMUIP
             @compile NETLIB
	     @compile TCPWARE
$    exit
$ ENDIF
$ IF P2 .EQS. "DEBUG"
$ THEN
$    write sys$output "Compiling library with DEBUG..."
$    debug := "/debug/noopt"
$ ELSE
$  debug := ""
$ ENDIF
$!
$ ON CONTROL_Y THEN GOTO CLEANUP
$ ON ERROR THEN GOTO CLEANUP
$!
$ IF P1 .eqs. "TCPWARE"
$ THEN
$    write sys$output "Compiling library with UCX emulation..."
$    transport := "UCX"
$ ELSE
$    transport := "''P1'"
$ ENDIF
$!
$ IF f$trnlnm("VAXCMSG") .eqs. "DECC$MSG" .or. -
     f$trnlnm("DECC$CC_DEFAULT") .eqs. "/DECC"
$!
$ THEN
$ vo1 = f$verify(1)
$! DECC:
$ vo1 = 'f$verify(0)'
$  IF transport .eqs. "UCX"
$  THEN
$ vo1 = f$verify(1)
$    cc := cc/prefix=(all,except=(setlocale))-
             /warning=(disable=implicitfunc)-
             /define=('transport'=1,__VMS_CURSES)'debug'
$ vo1 = 'f$verify(0)'
$  ELSE
$ vo1 = f$verify(1)
$    cc := cc/prefix=(all,except=(connect,gethostbyname,htons,inet_addr,-
                                  setsockopt,socket,setlocale))-
             /warning=(disable=implicitfunc)-
             /define=('transport'=1,__VMS_CURSES)'debug'
$ vo1 = 'f$verify(0)'
$  ENDIF
$ ELSE
$ vo1 = f$verify(1)
$! VAXC:
$    cc := cc/define=('transport'=1)'debug'
$ vo1 = 'f$verify(0)'
$ ENDIF
$ vo1 = f$verify(1)
$!
$ cc compatible.c
$ cc daarray.c
$ cc gdgopherdir.c
$ cc gsgopherobj.c
$ cc strstring.c
$ cc util.c
$ cc blblock.c
$ cc VIews.c
$ cc Sockets.c
$ cc Debug.c
$ cc url.c
$ cc fileio.c
$ cc locale.c
$!
$ cc getopt.c
$!
$ vg1 = 'f$verify(0)'
$ IF P2 .eqs. "DEBUG"
$ THEN
$    vg1 = f$verify(1)
$    rename/nolog/noconf *.obj; *.objd
$    vg1 = 'f$verify(0)'
$ ENDIF
$!
$ CLEANUP:
$    vo1 = f$verify(vo)
$exit