git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@4141 626c5289-ae23-0410-ae9c-e8d60b6d4f22
21 lines
596 B
Text
21 lines
596 B
Text
$ set def swig_root:[vms]
|
|
$
|
|
$ file = f$search("swig_root:[vms.o_alpha]*.obj")
|
|
$ newobj = 0
|
|
$ if file .nes. ""
|
|
$ then
|
|
$ v = f$verify(1)
|
|
$ library/replace swig_root:[vms.o_alpha]swig.olb swig_root:[vms.o_alpha]*.obj
|
|
$ delete swig_root:[vms.o_alpha]*.obj;*
|
|
$ v = f$verify(v)
|
|
$ newobj = 1
|
|
$ endif
|
|
$ file = f$search("swig_root:[vms]swig.exe")
|
|
$ if file .eqs. "" .or. newobj
|
|
$ then
|
|
$ v = f$verify(1)
|
|
$ cxxlink/exe=swig_root:[vms]swig.exe -
|
|
/repo=swig_root:[source.modules1_1.cxx_repository] -
|
|
swig_root:[vms.o_alpha]swig.olb/include=swigmain
|
|
$ v = f$verify(v)
|
|
$ endif
|