view lib/swig/swigwin-2.0.11/vms/build_end.com @ 2383:342b73a61a60

sub_407A1C - refactoring min-max
author zipi
date Sun, 22 Jun 2014 14:39:50 +0100
parents b3009adc0e2f
children
line wrap: on
line source

$ 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