diff options
author | Richard Levitte <levitte@openssl.org> | 2010-01-29 12:02:54 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2010-01-29 12:02:54 +0000 |
commit | d023b4e2ddc9c5209016e9e5911f71ba7dc22642 (patch) | |
tree | b73b44a581b6fe94d13ebc10c4292fbc89189fc2 | |
parent | fa79cc9c239a64d5318bfecb0365a20cf477ac56 (diff) |
The previous take went wrong, try again.
-rw-r--r-- | crypto/install.com | 16 | ||||
-rwxr-xr-x | makevms.com | 17 |
2 files changed, 16 insertions, 17 deletions
diff --git a/crypto/install.com b/crypto/install.com index 3717677849..ad3e4d48c7 100644 --- a/crypto/install.com +++ b/crypto/install.com @@ -41,6 +41,7 @@ $ IF F$PARSE("WRK_SSLINCLUDE:") .EQS. "" THEN - CREATE/DIR/LOG WRK_SSLINCLUDE: $ $ SDIRS := ,- + _'ARCH',- OBJECTS,- MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,WHRLPOOL,- DES,AES,RC2,RC4,RC5,IDEA,BF,CAST,CAMELLIA,SEED,- @@ -49,8 +50,8 @@ $ SDIRS := ,- EVP,ASN1,PEM,X509,X509V3,CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP,- UI,KRB5,- STORE,CMS,PQUEUE,TS,JPAKE -$ EXHEADER_ := crypto.h,opensslv.h,opensslconf.h,ebcdic.h,symhacks.h,- - ossl_typ.h +$ EXHEADER_ := crypto.h,opensslv.h,ebcdic.h,symhacks.h,ossl_typ.h +$ EXHEADER__'ARCH' := opensslconf.h $ EXHEADER_OBJECTS := objects.h,obj_mac.h $ EXHEADER_MD2 := md2.h $ EXHEADER_MD4 := md4.h @@ -117,13 +118,14 @@ $ IF D .EQS. "," THEN GOTO LOOP_SDIRS_END $ tmp = EXHEADER_'D' $ IF D .EQS. "" $ THEN -$ ! If we don't find a file in the source directory, it's most -$ ! probably generated for each architecture -$ ! (opensslconf.h, for example) -$ IF F$SEARCH("''tmp'") .EQS. "" THEN tmp = "[-.''ARCH'.CRYPTO]''tmp'" $ COPY 'tmp' WRK_SSLINCLUDE: /LOG $ ELSE -$ COPY [.'D']'tmp' WRK_SSLINCLUDE: /LOG +$ IF D .EQS. "_''ARCH'" +$ THEN +$ COPY [-.'ARCH'.CRYPTO]'tmp' WRK_SSLINCLUDE: /LOG +$ ELSE +$ COPY [.'D']'tmp' WRK_SSLINCLUDE: /LOG +$ ENDIF $ ENDIF $ SET FILE/PROT=WORLD:RE WRK_SSLINCLUDE:'tmp' $ GOTO LOOP_SDIRS diff --git a/makevms.com b/makevms.com index 529eba9f33..ecaf67cacd 100755 --- a/makevms.com +++ b/makevms.com @@ -457,7 +457,7 @@ $! $! Copy All The ".H" Files From The [.CRYPTO] Directory Tree. $! $ SDIRS := ,- - 'ARCH',- + _'ARCH',- OBJECTS,- MD2,MD4,MD5,SHA,MDC2,HMAC,RIPEMD,WHRLPOOL,- DES,AES,RC2,RC4,RC5,IDEA,BF,CAST,CAMELLIA,SEED,MODES,- @@ -465,7 +465,8 @@ $ SDIRS := ,- BUFFER,BIO,STACK,LHASH,RAND,ERR,- EVP,ASN1,PEM,X509,X509V3,CONF,TXT_DB,PKCS7,PKCS12,COMP,OCSP,UI,KRB5,- STORE,CMS,PQUEUE,TS,JPAKE -$ EXHEADER_ := crypto.h,opensslv.h,opensslconf.h,ebcdic.h,symhacks.h,ossl_typ.h +$ EXHEADER_ := crypto.h,opensslv.h,ebcdic.h,symhacks.h,ossl_typ.h +$ EXHEADER__'ARCH' := opensslconf.h $ EXHEADER_OBJECTS := objects.h,obj_mac.h $ EXHEADER_MD2 := md2.h $ EXHEADER_MD4 := md4.h @@ -529,17 +530,13 @@ $ IF D .EQS. "," THEN GOTO LOOP_SDIRS_END $ tmp = EXHEADER_'D' $ IF D .EQS. "" $ THEN -$ ! If we don't find a file in the source directory, it's most -$ ! probably generated for each architecture -$ ! (opensslconf.h, for example) -$ IF F$SEARCH("[.CRYPTO]''tmp'") .EQS. "" -$ THEN +$ COPY [.CRYPTO]'tmp' SYS$DISK:[.INCLUDE.OPENSSL] !/LOG +$ ELSE +$ IF D .EQS. "_''ARCH'" THEN $ COPY [.'ARCH'.CRYPTO]'tmp' SYS$DISK:[.INCLUDE.OPENSSL] !/LOG $ ELSE -$ COPY [.CRYPTO]'tmp' SYS$DISK:[.INCLUDE.OPENSSL] !/LOG +$ COPY [.CRYPTO.'D']'tmp' SYS$DISK:[.INCLUDE.OPENSSL] !/LOG $ ENDIF -$ ELSE -$ COPY [.CRYPTO.'D']'tmp' SYS$DISK:[.INCLUDE.OPENSSL] !/LOG $ ENDIF $ GOTO LOOP_SDIRS $ LOOP_SDIRS_END: |