diff options
author | Marty Kuhrt <marty@kuhrt.net> | 2005-02-11 22:42:16 +0000 |
---|---|---|
committer | Marty Kuhrt <marty@kuhrt.net> | 2005-02-11 22:42:16 +0000 |
commit | 73772323c92a38cfd115ac0a82a9e8d80345b9ab (patch) | |
tree | e70b01d822bee78be31626cebf4e83129c62c265 /packages | |
parent | 98389066e2d0529a4239c9878526f5f2aa147f2b (diff) |
rename amigaos.c and nwlib.c if they exist before building
Diffstat (limited to 'packages')
-rwxr-xr-x | packages/vms/build_vms.com | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/vms/build_vms.com b/packages/vms/build_vms.com index 5d4be03fc..853ad263c 100755 --- a/packages/vms/build_vms.com +++ b/packages/vms/build_vms.com @@ -1,3 +1,4 @@ +$! $Id$ $! BUILD_VMS.COM $! $! I've taken the original build_vms.com, supplied by Nico Baggus, if @@ -41,6 +42,7 @@ $! the freeware SDL tool. $! 8-FEB-2005, MSK, merged the two config-vms.h* files into one that uses $! USE_SSLEAY to define if the target has SSL support built $! in. Changed the cc/define parameter accordingly. +$! 11-FEB-2005, MSK, If [--.LIB]AMIGAOS.C and NWLIB.C are there, rename them $! $ on control_y then goto Common_Exit $ ctrl_y = 1556 @@ -114,6 +116,18 @@ $ call MoveIfDiff "CURLMSG.H" "[--.SRC]" $ call MoveIfDiff "CURLMSG.MSG" "[--.SRC]" $ call MoveIfDiff "CURLMSG.SDL" "[--.SRC]" $ call MoveIfDiff "CURLMSG_VMS.H" "[--.SRC]" +$! +$! The [--.LIB]amigaos.c and nwlib.c files aren't needed for the VMS build. +$! If they are there, rename them so the brute force build works right. +$! +$ if f$search( "[--.lib]amigaos.c") .nes. "" +$ then +$ rename [--.lib]amigaos.c .c_not_used +$ endif +$ if f$search( "[--.lib]nwlib.c") .nes. "" +$ then +$ rename [--.lib]nwlib.c .c_not_used +$ endif $ on control_y then goto Common_Exit $! $ call build "[--.lib]" "*.c" "objdir:curllib.olb" |