diff options
-rw-r--r-- | packages/vms/Makefile.am | 22 | ||||
-rwxr-xr-x | packages/vms/batch_compile.com | 7 | ||||
-rwxr-xr-x | packages/vms/defines.com | 78 |
3 files changed, 17 insertions, 90 deletions
diff --git a/packages/vms/Makefile.am b/packages/vms/Makefile.am index 7172a0d32..b6f093984 100644 --- a/packages/vms/Makefile.am +++ b/packages/vms/Makefile.am @@ -1,5 +1,17 @@ -EXTRA_DIST = batch_compile.com build_vms.com config-vms.h defines.com \ - hpssl_alpha.opt hpssl_ia64.opt hpssl_vax.opt readme curlmsg.msg \ - curlmsg_vms.h curlmsg.h curlmsg.sdl openssl_alpha.opt openssl_ia64.opt \ - openssl_vax.opt openssl_ssl_alpha.opt openssl_ssl_ia64.opt ldap.opt \ - openssl_ssl_vax.opt +EXTRA_DIST = build_vms.com \ + config-vms.h \ + curlmsg.h \ + curlmsg.msg \ + curlmsg.sdl \ + curlmsg_vms.h \ + hpssl_alpha.opt \ + hpssl_ia64.opt \ + hpssl_vax.opt \ + ldap.opt \ + openssl_alpha.opt \ + openssl_ia64.opt \ + openssl_vax.opt \ + openssl_ssl_alpha.opt \ + openssl_ssl_ia64.opt \ + openssl_ssl_vax.opt \ + readme diff --git a/packages/vms/batch_compile.com b/packages/vms/batch_compile.com deleted file mode 100755 index 0bacb6149..000000000 --- a/packages/vms/batch_compile.com +++ /dev/null @@ -1,7 +0,0 @@ -$ proc = f$environment( "procedure") -$ devdir = f$parse( proc,,,"DEVICE") + f$parse( proc,,,"DIRECTORY") -$ set def 'devdir' -$ define CURL_BUILD_NOHPSSL true -$ @defines -$ @build_vms -$ exit diff --git a/packages/vms/defines.com b/packages/vms/defines.com deleted file mode 100755 index aafebe593..000000000 --- a/packages/vms/defines.com +++ /dev/null @@ -1,78 +0,0 @@ -$! $Id$ -$! DEFINES.COM -$! Define where to look for the curl include directory, where to put the -$! exes and objects, and the openssl stuff. If you have hp's SSL product -$! installed you won't need these openssl, libssl and libcrypto defines. -$! -$! Be cautioned, though. If you build using these defines at the process -$! level and then try to build against hp's SSL product, you will need to -$! deassign the openssl logical at the process level or the link will most -$! probably fail, or define CURL_BUILD_NOHPSSL to anything. -$! -$! 8-FEB-2005, MSK, changed the openssl, libssl and libcrypto defines -$! to not override previously defined logicals. -$! -$ proc = f$environment( "PROCEDURE") -$ thisdev = f$parse( proc,,,"DEVICE") -$ thisdir = f$parse( proc,,,"DIRECTORY") - ".PACKAGES.VMS]" -$ newdir = f$parse( proc,,,"DEVICE") + f$parse( proc,,,"DIRECTORY") -$ exedir = newdir - "]" -$! -$ arch = f$getsyi("ARCH_TYPE") -$ if ( arch .eq. 1) -$ then -$ exedir = exedir + ".VAX]" -$ ssldir = "VAX" -$ else -$ if ( arch .eq. 2) -$ then -$ exedir = exedir + ".AXP]" -$ ssldir = "AXP" -$ else -$ exedir = exedir + ".IA64]" -$ ssldir = "IA64" -$ endif -$ endif -$ def/nolog exedir 'exedir' -$ def/nolog objdir 'exedir' -$ def/nolog lisdir 'exedir' -$! -$ def/nolog curl 'THISDEV''THISDIR'.INCLUDE.CURL] -$ def/nolog libsrc 'THISDEV''THISDIR'.LIB] -$ def/nolog curlsrc 'THISDEV''THISDIR'.SRC] -$! -$! If you're going to build against an OpenSSL dist, you'll want to define -$! the following logicals to point to the dist location. -$! -$ if ( f$trnlnm( "openssl") .eqs. "") -$ then -$ def/nolog openssl 'THISDEV'[OPENSSL.OPENSSL-0_9_7E.INCLUDE.OPENSSL] -$ endif -$ if ( f$trnlnm( "libssl") .eqs. "") -$ then -$ def/nolog libssl 'THISDEV'[OPENSSL.OPENSSL-0_9_7E.'ssldir'.EXE.SSL]LIBSSL.OLB -$ endif -$ if ( f$trnlnm( "libcrypto") .eqs. "") -$ then -$ def/nolog libcrypto 'THISDEV'[OPENSSL.OPENSSL-0_9_7E.'ssldir'.EXE.CRYPTO]LIBCRYPTO.OLB -$ endif -$! -$! If you have hp's SSL product installed, and you still want to build -$! against an OpenSSL distribution, you'll need to define the following -$! logical. The CURL_BUILD_NOHPSSL logical is used by BUILD_VMS.COM. -$! -$ def/nolog CURL_BUILD_NOHPSSL true -$! -$! The curl code has some mixed up includes where a user include is done -$! with <> and a system include is done with "". Define a broader include -$! path to make the compile work "right". -$! -$ def/nolog decc$system_include libsrc:,curlsrc: -$! -$! The build_vms.com checks to see if the curl_defines_done logical is -$! defined. If it isn't it will invoke this procedure. If it is, and -$! you change something in here, you'll have to run the procedure yourself. -$! -$ def/nolog curl_defines_done true -$! -$ exit |