diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-16 00:09:26 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-16 00:09:26 +0000 |
commit | 6c0eafbb1395d426a72a74538e0b2a95e8344ca6 (patch) | |
tree | 2a5f80b80fc76086a2602b812c2a182d00f961b7 /Build/source/libs/curl/build_vms.com | |
parent | 70f7efeb5c9965a63a4143ad1c1f473585dc364c (diff) |
libs 1
git-svn-id: svn://tug.org/texlive/trunk@1483 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/curl/build_vms.com')
-rwxr-xr-x | Build/source/libs/curl/build_vms.com | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/Build/source/libs/curl/build_vms.com b/Build/source/libs/curl/build_vms.com new file mode 100755 index 00000000000..644d2a64334 --- /dev/null +++ b/Build/source/libs/curl/build_vms.com @@ -0,0 +1,69 @@ +$! +$ +$ on control_y then goto Common_Exit! +$ orig = f$environment("DEFAULT") +$ loc = f$environment("PROCEDURE") +$ def = f$parse("X.X;1",loc) - "X.X;1" +$ +$ set def 'def' +$ cc_qual = "/define=HAVE_CONFIG_H=1/include=(""../include/"",""../"",""../../openssl-0_9_6c/include/"")" +$ if p1 .eqs. "LISTING" then cc_qual = cc_qual + "/LIST/MACHINE" +$ if p1 .eqs. "DEBUG" then cc_qual = cc_qual + "/LIST/MACHINE/DEBUG" +$ msg_qual = "" +$ call build "[.lib]" "*.c" +$ call build "[.src]" "*.c" +$ call build "[.src]" "*.msg" +$ link /exe=curl.exe [.src]curl/lib/include=main,[.lib]curl/lib, - + [-.openssl-0_9_6c.axp.exe.ssl]libssl/lib, - + [-.openssl-0_9_6c.axp.exe.crypto]libcrypto/lib +$ +$ +$ goto Common_Exit +$build: subroutine +$ set noon +$ set default 'p1' +$ search = p2 +$ reset = f$search("reset") +$ if f$search("CURL.OLB") .eqs. "" +$ then +$ LIB/CREATE/OBJECT CURL.OLB +$ endif +$ reset = f$search("reset",1) +$Loop: +$ file = f$search(search,1) +$ if file .eqs. "" then goto EndLoop +$ obj = f$search(f$parse(".OBJ;",file),2) +$ if (obj .nes. "") +$ then +$ if (f$cvtime(f$file(file,"rdt")) .gts. f$cvtime(f$file(obj,"rdt"))) +$ then +$ call compile 'file' +$ lib/object curl.OLB 'f$parse(".obj;",file)' +$ else +$! write sys$output "File: ''file' is up to date" +$ endif +$ else +$! write sys$output "Object for file: ''file' does not exist" +$ call compile 'file' +$ lib/object curl.OLB 'f$parse(".obj;",file)' +$ endif +$ goto Loop +$EndLoop: +$ purge +$ set def 'def' +$ endsubroutine ! Build +$ +$compile: subroutine +$ set noon +$ file = p1 +$ qual = p2+p3+p4+p5+p6+p7+p8 +$ typ = f$parse(file,,,"TYPE") - "." +$ cmd_c = "CC "+cc_qual +$ cmd_msg = "MESSAGE "+msg_qual +$ x = cmd_'typ' +$ 'x' 'file' +$ ENDSUBROUTINE ! Compile +$ +$Common_Exit: +$ set default 'orig' +$ exit |