Nico Baggus updated build script for VMS
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Feb 2003 22:28:19 +0000 (22:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Feb 2003 22:28:19 +0000 (22:28 +0000)
build_vms.com

index 12f27b8d3dc011ceddbbd1c0260c2691bf45fb31..6513e492508f478be10b7cbb1f478c4918fbd14c 100755 (executable)
@@ -1,69 +1,69 @@
-$!\r
-$\r
-$      on control_y then goto Common_Exit!\r
-$      orig = f$environment("DEFAULT")\r
-$      loc  = f$environment("PROCEDURE")\r
-$      def = f$parse("X.X;1",loc) - "X.X;1"\r
-$\r
-$      set def 'def'\r
-$      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"\r
-$      if p1 .eqs. "DEBUG" then cc_qual = cc_qual + "/LIST/MACHINE/DEBUG"\r
-$      msg_qual = ""\r
-$      call build "[.lib]" "*.c"\r
-$      call build "[.src]" "*.c"\r
-$      call build "[.src]" "*.msg"\r
+$!
+$
+$      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_7/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
-$\r
-$\r
-$      goto Common_Exit\r
-$build:        subroutine\r
-$      set noon\r
-$      set default 'p1'\r
-$      search = p2\r
-$      reset = f$search("reset")\r
-$      if f$search("CURL.OLB") .eqs. ""\r
-$      then\r
-$              LIB/CREATE/OBJECT CURL.OLB\r
-$      endif\r
-$      reset = f$search("reset",1)\r
-$Loop:\r
-$      file = f$search(search,1)\r
-$      if file .eqs. "" then goto EndLoop\r
-$              obj = f$search(f$parse(".OBJ;",file),2)\r
-$              if (obj .nes. "")\r
-$              then\r
-$                      if (f$cvtime(f$file(file,"rdt")) .gts. f$cvtime(f$file(obj,"rdt")))\r
-$                      then\r
-$                              call compile 'file'\r
-$                              lib/object curl.OLB 'f$parse(".obj;",file)'\r
-$                      else\r
-$!                             write sys$output "File: ''file' is up to date"\r
-$                      endif\r
-$              else\r
-$!                     write sys$output "Object for file: ''file' does not exist"\r
-$                      call compile 'file'\r
-$                      lib/object curl.OLB 'f$parse(".obj;",file)'\r
-$              endif\r
-$      goto Loop\r
-$EndLoop:\r
-$      purge\r
-$      set def 'def'\r
-$      endsubroutine   ! Build\r
-$\r
-$compile:      subroutine\r
-$      set noon\r
-$      file = p1\r
-$      qual = p2+p3+p4+p5+p6+p7+p8\r
-$      typ = f$parse(file,,,"TYPE") - "."\r
-$      cmd_c = "CC "+cc_qual\r
-$      cmd_msg = "MESSAGE "+msg_qual\r
-$      x = cmd_'typ'\r
-$      'x' 'file'\r
-$      ENDSUBROUTINE   ! Compile\r
-$\r
-$Common_Exit:\r
-$      set default 'orig'\r
-$      exit\r
+               [-.openssl-0_9_7.axp.exe.ssl]libssl/lib, -
+               [-.openssl-0_9_7.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