summaryrefslogtreecommitdiff
path: root/vms/build_end.com
diff options
context:
space:
mode:
Diffstat (limited to 'vms/build_end.com')
-rw-r--r--vms/build_end.com21
1 files changed, 21 insertions, 0 deletions
diff --git a/vms/build_end.com b/vms/build_end.com
new file mode 100644
index 000000000..103302270
--- /dev/null
+++ b/vms/build_end.com
@@ -0,0 +1,21 @@
+$ 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