annotate lib/swig/swigwin-2.0.11/vms/scripts/compil_doh.com @ 2222:66bd74aa9f5e

smk video draw
author Ritor1
date Tue, 18 Feb 2014 19:43:54 +0600
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.DOH.DOH]
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]base.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
19 "cc ''cflags'" base.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
20 $ call make swig_root:[vms.o_alpha]file.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
21 "cc ''cflags'" file.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
22 $ call make swig_root:[vms.o_alpha]fio.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
23 "cc ''cflags'" fio.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
24 $ call make swig_root:[vms.o_alpha]hash.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
25 "cc ''cflags'" hash.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
26 $ call make swig_root:[vms.o_alpha]list.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
27 "cc ''cflags'" list.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
28 $ call make swig_root:[vms.o_alpha]memory.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
29 "cc ''cflags'" memory.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
30 $ call make swig_root:[vms.o_alpha]string.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
31 "cc ''cflags'" string.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
32 $ call make swig_root:[vms.o_alpha]void.obj -
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
33 "cc ''cflags'" void.c
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
34 $ exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
35 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
36 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
37 $MAKE: SUBROUTINE !SUBROUTINE TO CHECK DEPENDENCIES
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
38 $ V = 'F$Verify(0)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
39 $! P1 = What we are trying to make
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
40 $! P2 = Command to make it
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
41 $! P3 = Source file
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
42 $! P4 - P8 What it depends on
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
43 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
44 $ modname = f$parse(p3,,,"name")
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
45 $ set noon
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
46 $ set message/nofacility/noident/noseverity/notext
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
47 $ libr/lis=swig_root:[vms]swiglib.tmp/full/width=132/only='modname' 'libname'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
48 $ set message/facility/ident/severity/text
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
49 $ on error then exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
50 $ open/read swigtmp swig_root:[vms]swiglib.tmp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
51 $! skip header
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
52 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
53 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
54 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
55 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
56 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
57 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
58 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
59 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
60 $ read swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
61 $!
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
62 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
63 $ read/end=module_not_found swigtmp r
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
64 $ modfound = 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
65 $ Time = f$cvtime(f$extract(49, 20, r))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
66 $ goto end_search_module
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
67 $ module_not_found:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
68 $ modfound = 0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
69 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
70 $ end_search_module:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
71 $ close swigtmp
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
72 $ delete swig_root:[vms]swiglib.tmp;*
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
73 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
74 $ if modfound .eq. 0 then $ goto Makeit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
75 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
76 $! Time = F$CvTime(F$File(P1,"RDT"))
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
77 $arg=3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
78 $Loop:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
79 $ Argument = P'arg
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
80 $ If Argument .Eqs. "" Then Goto Exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
81 $ El=0
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
82 $Loop2:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
83 $ File = F$Element(El," ",Argument)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
84 $ If File .Eqs. " " Then Goto Endl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
85 $ AFile = ""
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
86 $Loop3:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
87 $ OFile = AFile
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
88 $ AFile = F$Search(File)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
89 $ If AFile .Eqs. "" .Or. AFile .Eqs. OFile Then Goto NextEl
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
90 $ If F$CvTime(F$File(AFile,"RDT")) .Ges. Time Then Goto Makeit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
91 $ Goto Loop3
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
92 $NextEL:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
93 $ El = El + 1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
94 $ Goto Loop2
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
95 $EndL:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
96 $ arg=arg+1
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
97 $ If arg .Le. 8 Then Goto Loop
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
98 $ Goto Exit
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
99 $
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
100 $Makeit:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
101 $ VV=F$VERIFY(1)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
102 $ 'P2' 'P3'
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
103 $ VV='F$Verify(VV)
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
104 $Exit:
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
105 $ If V Then Set Verify
b3009adc0e2f Adding swig, gitignore, hgignore
Nomad
parents:
diff changeset
106 $ENDSUBROUTINE