annotate lib/swig/swigwin-2.0.11/vms/scripts/compil_cparse.com @ 2260:eab43c3d7767

Using new tokenizer in Items.cpp initialize function
author Grumpy7
date Thu, 06 Mar 2014 00:41:04 +0100
parents b3009adc0e2f
children
rev   line source
1899
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
1 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
2 $! Generated by genbuild.py
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
3 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
4 $ libname = "swig_root:[vms.o_alpha]swig.olb"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
5 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
6 $ set default SWIG_ROOT:[SOURCE.CPARSE]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
7 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
8 $ idir := swig_root:[source.swig]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
9 $ idir = idir + ",swig_root:[source.doh.include]"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
10 $ idir = idir + ",swig_root:[source.include]"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
11 $ idir = idir + ",swig_root:[source.preprocessor]"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
12 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
13 $ iflags = "/include=(''idir', sys$disk:[])"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
14 $ oflags = "/object=swig_root:[vms.o_alpha]
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
15 $ cflags = "''oflags'''iflags'''dflags'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
16 $ cxxflags = "''oflags'''iflags'''dflags'"
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
17 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
18 $ call make swig_root:[vms.o_alpha]cscanner.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 "cc ''cflags'" cscanner.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 $ call make swig_root:[vms.o_alpha]parser.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 "cc ''cflags'" parser.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 $ call make swig_root:[vms.o_alpha]templ.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 "cc ''cflags'" templ.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 $ call make swig_root:[vms.o_alpha]util.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25 "cc ''cflags'" util.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 $ exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 $MAKE: SUBROUTINE !SUBROUTINE TO CHECK DEPENDENCIES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 $ V = 'F$Verify(0)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 $! P1 = What we are trying to make
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32 $! P2 = Command to make it
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 $! P3 = Source file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34 $! P4 - P8 What it depends on
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36 $ modname = f$parse(p3,,,"name")
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37 $ set noon
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38 $ set message/nofacility/noident/noseverity/notext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 $ libr/lis=swig_root:[vms]swiglib.tmp/full/width=132/only='modname' 'libname'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 $ set message/facility/ident/severity/text
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41 $ on error then exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 $ open/read swigtmp swig_root:[vms]swiglib.tmp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43 $! skip header
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 $ read/end=module_not_found swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 $ modfound = 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57 $ Time = f$cvtime(f$extract(49, 20, r))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58 $ goto end_search_module
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59 $ module_not_found:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 $ modfound = 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 $ end_search_module:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63 $ close swigtmp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 $ delete swig_root:[vms]swiglib.tmp;*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 $ if modfound .eq. 0 then $ goto Makeit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 $! Time = F$CvTime(F$File(P1,"RDT"))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 $arg=3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70 $Loop:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
71 $ Argument = P'arg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
72 $ If Argument .Eqs. "" Then Goto Exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
73 $ El=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
74 $Loop2:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
75 $ File = F$Element(El," ",Argument)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
76 $ If File .Eqs. " " Then Goto Endl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
77 $ AFile = ""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
78 $Loop3:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
79 $ OFile = AFile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
80 $ AFile = F$Search(File)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
81 $ If AFile .Eqs. "" .Or. AFile .Eqs. OFile Then Goto NextEl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
82 $ If F$CvTime(F$File(AFile,"RDT")) .Ges. Time Then Goto Makeit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
83 $ Goto Loop3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
84 $NextEL:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
85 $ El = El + 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
86 $ Goto Loop2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
87 $EndL:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
88 $ arg=arg+1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
89 $ If arg .Le. 8 Then Goto Loop
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
90 $ Goto Exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
91 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
92 $Makeit:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
93 $ VV=F$VERIFY(1)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
94 $ 'P2' 'P3'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
95 $ VV='F$Verify(VV)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
96 $Exit:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
97 $ If V Then Set Verify
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
98 $ENDSUBROUTINE