$ vo = 'f$verify(0)' $!******************************************************************** $! wilkinson $! 1.4VMS2 $! 1994/09/20 12:00 $! gopher_root1:[gopher.g2.vms2_13]compile.common,v $! Exp $! $! J.Lance Wilkinson, Penn State University LCS/C&IS. $! $! Copyright 1991, 1992 by the Regents of the University of Minnesota $! see the file "Copyright" in the distribution for conditions of use. $!******************************************************************** $! MODULE: compile.common $! compile script common subroutine for VMS client, server, utiltities $! Expected arguments: P1 - TCP/IP agent to use $! P2 - DEBUG or NODEBUG (optional if P3 unspecified) $! P3 - CLIENT or SERVER or SUPPORT $!********************************************************************* $! Revision History: $! compile.common,v $! Revision 1.4VMS2 1995/09/20 12:00 wilkinson $! Add addional prefix exclusions for DEC C when compiling SERVER code $! $! Revision 1.4VMS1 1995/09/08 10:30 wilkinson $! Eliminate /include option in DEC C which causes /include directories' files $! like string.h to supercede even explicit selections $! $! Revision 1.4VMS 1995/05/25 14:00 wilkinson $! Consolodate VMS/Unix source code for server as well as client $! $! Revision 1.3 1994/08/11 14:25:00 wilkinson $! Try to make CC definition cleaner $! $! Revision 1.2 1994/08/10 15:08:00 wilkinson $! Fix problems with /include $! $! Revision 1.1 1994/08/09 15:45:00 wilkinson $! Initial revision for 2.0VMS-16 $! $!********************************************************************/ $! $ IF P3 .EQS. "SUPPORT" $ THEN $ P1 = "NOTCPIP" $ GOTO DoneTCPIP $ ENDIF $ IF P1 .EQS. "" $ THEN $ type/nopage sys$input: Usage: @compile UCX @compile WOLLONGONG @compile MULTINET $ IF P3 .NES. "SERVER" $ THEN $ type/nopage sys$input: @make CMUIP @make NETLIB @make TCPWARE $ ENDIF $ exit $ ENDIF $ DoneTCPIP: $! $ @[-]make.common 'P1' "''P2'" 'P3' $! $ if debugger .nes. "NODEBUG" $ then $ dbg == "/debug/noopt" $ else $ dbg == "" $ endif $! $ if compiler .eqs. "DEC_C" $ then $ vo1 = f$verify(1) $! DECC/Alpha: $ define/nolog C$USER_INCLUDE 'inc' $ define/nolog DECC$USER_INCLUDE 'inc' $ vo1 = 'f$verify(0)' $ np = "setlocale" $ if option .nes. "UCX" $ then $ np = "''np',connect,gethostbyname,htons,inet_addr,setsockopt,socket" $ if P3 .eqs. "SERVER" then np = "''np',getopt,catopen,catgets" $ if P3 .eqs. "SERVER" then np = "''np',bind,accept,listen,getsockname" $ if P3 .eqs. "SERVER" then np = "''np',getpeername" $ endif $ ccopts == "/prefix=(all,except=(''np'))/warning=(disable=implicitfunc)" $ else $ vo1 = f$verify(1) $! VAXC: $ vo1 = 'f$verify(0)' $ ccopts == "/incl=(''inc')" $ macros == "''macros',__VMS" $ endif $ vo1 = f$verify(1) $ cc == "cc''ccopts'/define=(''macros')''dbg'/obj=''obj'/lis=''lis' .