1899
|
1 $ set def swig_root:[vms]
|
|
2 $
|
|
3 $ file = f$search("swig_root:[vms.o_alpha]*.obj")
|
|
4 $ newobj = 0
|
|
5 $ if file .nes. ""
|
|
6 $ then
|
|
7 $ v = f$verify(1)
|
|
8 $ library/replace swig_root:[vms.o_alpha]swig.olb swig_root:[vms.o_alpha]*.obj
|
|
9 $ delete swig_root:[vms.o_alpha]*.obj;*
|
|
10 $ v = f$verify(v)
|
|
11 $ newobj = 1
|
|
12 $ endif
|
|
13 $ file = f$search("swig_root:[vms]swig.exe")
|
|
14 $ if file .eqs. "" .or. newobj
|
|
15 $ then
|
|
16 $ v = f$verify(1)
|
|
17 $ cxxlink/exe=swig_root:[vms]swig.exe -
|
|
18 /repo=swig_root:[source.modules1_1.cxx_repository] -
|
|
19 swig_root:[vms.o_alpha]swig.olb/include=swigmain
|
|
20 $ v = f$verify(v)
|
|
21 $ endif
|