1 $!========================================================================
3 $! Goo library compile script for VMS.
5 $! Written by Patrick Moreau, Martin P.J. Zinser.
7 $! Copyright 1996-2003 Glyph & Cog, LLC
9 $!========================================================================
11 $ GOO_CXXOBJS = "GString.obj,gmempp.obj,gfile.obj,ghash.obj,glist.obj"
12 $ GOO_CCOBJS = "gmem.obj,parseargs.obj,vms_directory.obj,vms_unix_times.obj"
14 $ if f$extract(1,3,f$getsyi("Version")) .lts. "7.0"
16 $ GOO_CCOBJS = GOO_CCOBJS + ",vms_unlink.obj"
22 $ file = f$element(i, ",",GOO_CXXOBJS)
23 $ if file .eqs. "," then goto COMPILE_CC_LOOP
25 $ name = f$parse(file,,,"NAME")
26 $ call make 'file "CXXCOMP ''name'.cc" -
28 $ goto COMPILE_CXX_LOOP
31 $ file = f$element(j, ",",GOO_CCOBJS)
32 $ if file .eqs. "," then goto COMPILE_END
34 $ name = f$parse(file,,,"NAME")
35 $ call make 'file "CCOMP ''name'.c" -
37 $ goto COMPILE_CC_LOOP
40 $ call make libgoo.olb "lib/cre libgoo.olb ''GOO_CXXOBJS',''GOO_CCOBJS'" *.obj
44 $MAKE: SUBROUTINE !SUBROUTINE TO CHECK DEPENDENCIES
46 $! P1 = What we are trying to make
47 $! P2 = Command to make it
48 $! P3 - P8 What it depends on
50 $ If F$Search(P1) .Eqs. "" Then Goto Makeit
51 $ Time = F$CvTime(F$File(P1,"RDT"))
55 $ If Argument .Eqs. "" Then Goto Exit
58 $ File = F$Element(El," ",Argument)
59 $ If File .Eqs. " " Then Goto Endl
63 $ AFile = F$Search(File)
64 $ If AFile .Eqs. "" .Or. AFile .Eqs. OFile Then Goto NextEl
65 $ If F$CvTime(F$File(AFile,"RDT")) .Ges. Time Then Goto Makeit
72 $ If arg .Le. 8 Then Goto Loop
81 $ If V Then Set Verify