1$ vo = 'f$verify(0)' 2$!******************************************************************** 3$! lindner 4$! 3.2 5$! 1993/05/18 15:06:34 6$! /home/mudhoney/GopherSrc/CVS/gopher+/object/compile.com,v 7$! Exp 8$! 9$! Paul Lindner, University of Minnesota CIS. 10$! 11$! Copyright 1991, 1992 by the Regents of the University of Minnesota 12$! see the file "Copyright" in the distribution for conditions of use. 13$!******************************************************************** 14$! MODULE: compile.com 15$! compiling script for VMS 16$!********************************************************************* 17$! Revision History: 18$! compile.com,v 19$! Revision 3.2 1993/05/18 15:06:34 lindner 20$! Fixed CVS/RCS comment leaders... 21$! 22$! Revision 3.1 1993/05/05 18:44:07 lindner 23$! new VMS files 24$! 25$! Revision 1.1 1992/12/31 05:19:12 lindner 26$! Initial revision 27$! 28$! 29$!********************************************************************/ 30$ IF P1 .EQS. "" 31$ THEN 32$ type/nopage sys$input: 33 Usage: 34 @compile UCX 35 @compile WOLLONGONG 36 @compile MULTINET 37 @compile CMUIP 38 @compile NETLIB 39 @compile TCPWARE 40$ exit 41$ ENDIF 42$ IF P2 .EQS. "DEBUG" 43$ THEN 44$ write sys$output "Compiling library with DEBUG..." 45$ debug := "/debug/noopt" 46$ ELSE 47$ debug := "" 48$ ENDIF 49$! 50$ ON CONTROL_Y THEN GOTO CLEANUP 51$ ON ERROR THEN GOTO CLEANUP 52$! 53$ IF P1 .eqs. "TCPWARE" 54$ THEN 55$ write sys$output "Compiling library with UCX emulation..." 56$ transport := "UCX" 57$ ELSE 58$ transport := "''P1'" 59$ ENDIF 60$! 61$ IF f$trnlnm("VAXCMSG") .eqs. "DECC$MSG" .or. - 62 f$trnlnm("DECC$CC_DEFAULT") .eqs. "/DECC" 63$! 64$ THEN 65$ vo1 = f$verify(1) 66$! DECC: 67$ vo1 = 'f$verify(0)' 68$ IF transport .eqs. "UCX" 69$ THEN 70$ vo1 = f$verify(1) 71$ cc := cc/prefix=(all,except=(setlocale))- 72 /warning=(disable=implicitfunc)- 73 /define=('transport'=1,__VMS_CURSES)'debug' 74$ vo1 = 'f$verify(0)' 75$ ELSE 76$ vo1 = f$verify(1) 77$ cc := cc/prefix=(all,except=(connect,gethostbyname,htons,inet_addr,- 78 setsockopt,socket,setlocale))- 79 /warning=(disable=implicitfunc)- 80 /define=('transport'=1,__VMS_CURSES)'debug' 81$ vo1 = 'f$verify(0)' 82$ ENDIF 83$ ELSE 84$ vo1 = f$verify(1) 85$! VAXC: 86$ cc := cc/define=('transport'=1)'debug' 87$ vo1 = 'f$verify(0)' 88$ ENDIF 89$ vo1 = f$verify(1) 90$! 91$ cc compatible.c 92$ cc daarray.c 93$ cc gdgopherdir.c 94$ cc gsgopherobj.c 95$ cc strstring.c 96$ cc util.c 97$ cc blblock.c 98$ cc VIews.c 99$ cc Sockets.c 100$ cc Debug.c 101$ cc url.c 102$ cc fileio.c 103$ cc locale.c 104$! 105$ cc getopt.c 106$! 107$ vg1 = 'f$verify(0)' 108$ IF P2 .eqs. "DEBUG" 109$ THEN 110$ vg1 = f$verify(1) 111$ rename/nolog/noconf *.obj; *.objd 112$ vg1 = 'f$verify(0)' 113$ ENDIF 114$! 115$ CLEANUP: 116$ vo1 = f$verify(vo) 117$exit 118