diff options
author | Bodo Möller <bodo@openssl.org> | 1999-04-29 21:52:08 +0000 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 1999-04-29 21:52:08 +0000 |
commit | e5f3045fbf6394f2f587d1312cf3525da04d3032 (patch) | |
tree | 8aefa6fcebbe06029407054d1e0b0cbf4535fb06 /crypto | |
parent | 9f5f32c9b07e72ef8598cc5449ad4f63d9a76ee5 (diff) | |
download | openssl-e5f3045fbf6394f2f587d1312cf3525da04d3032.tar.gz |
Support INSTALL_PREFIX for packagers.
Submitted by:
Reviewed by:
PR:
Diffstat (limited to 'crypto')
35 files changed, 141 insertions, 71 deletions
diff --git a/crypto/Makefile.ssl b/crypto/Makefile.ssl index 8e7a74bf62..38013619ab 100644 --- a/crypto/Makefile.ssl +++ b/crypto/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc INCLUDE= -I. -I../include INCLUDES= -I.. -I../../include CFLAG= -g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP= /usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -85,7 +87,7 @@ libs: @for i in $(SDIRS) ;\ do \ (cd $$i; echo "making libs in crypto/$$i..."; \ - $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' AR='${AR}' lib ); \ + $(MAKE) CC='$(CC)' CFLAG='${CFLAG}' INSTALL_PREFIX='${INSTALL_PREFIX}' INSTALLTOP='${INSTALLTOP}' PEX_LIBS='${PEX_LIBS}' EX_LIBS='${EX_LIBS}' AR='${AR}' lib ); \ done; tests: @@ -98,8 +100,8 @@ tests: install: @for i in $(EXHEADER) ;\ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; @for i in $(SDIRS) ;\ do \ diff --git a/crypto/asn1/Makefile.ssl b/crypto/asn1/Makefile.ssl index ca58b47fa8..d8bfdf56bc 100644 --- a/crypto/asn1/Makefile.ssl +++ b/crypto/asn1/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -88,8 +90,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/bf/Makefile.ssl b/crypto/bf/Makefile.ssl index 4627425def..f23fb54494 100644 --- a/crypto/bf/Makefile.ssl +++ b/crypto/bf/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -78,8 +80,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/bio/Makefile.ssl b/crypto/bio/Makefile.ssl index 9193b06a1b..824b7c9079 100644 --- a/crypto/bio/Makefile.ssl +++ b/crypto/bio/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -60,8 +62,8 @@ links: install: @for i in $(EXHEADER); \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/bn/Makefile.ssl b/crypto/bn/Makefile.ssl index 59506f7f35..d4163662ac 100644 --- a/crypto/bn/Makefile.ssl +++ b/crypto/bn/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -119,8 +121,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; exptest: diff --git a/crypto/buffer/Makefile.ssl b/crypto/buffer/Makefile.ssl index 298a30f08b..f89eb53915 100644 --- a/crypto/buffer/Makefile.ssl +++ b/crypto/buffer/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/cast/Makefile.ssl b/crypto/cast/Makefile.ssl index df4a8f6df4..0319b7f08d 100644 --- a/crypto/cast/Makefile.ssl +++ b/crypto/cast/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -81,8 +83,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/comp/Makefile.ssl b/crypto/comp/Makefile.ssl index 4927a1d820..7f62a12b5b 100644 --- a/crypto/comp/Makefile.ssl +++ b/crypto/comp/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -55,8 +57,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/conf/Makefile.ssl b/crypto/conf/Makefile.ssl index c134a3503a..fe8688d17c 100644 --- a/crypto/conf/Makefile.ssl +++ b/crypto/conf/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -53,8 +55,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/des/Makefile.ssl b/crypto/des/Makefile.ssl index f709906c78..28dba7ab47 100644 --- a/crypto/des/Makefile.ssl +++ b/crypto/des/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -110,8 +112,8 @@ install: installs installs: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/dh/Makefile.ssl b/crypto/dh/Makefile.ssl index 01391d6716..878d6054a9 100644 --- a/crypto/dh/Makefile.ssl +++ b/crypto/dh/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/dsa/Makefile.ssl b/crypto/dsa/Makefile.ssl index e4fa42026b..b7cb72afb1 100644 --- a/crypto/dsa/Makefile.ssl +++ b/crypto/dsa/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/err/Makefile.ssl b/crypto/err/Makefile.ssl index 2d92aed72b..2823a3e390 100644 --- a/crypto/err/Makefile.ssl +++ b/crypto/err/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/evp/Makefile.ssl b/crypto/evp/Makefile.ssl index 237f4c2471..dec91bdc31 100644 --- a/crypto/evp/Makefile.ssl +++ b/crypto/evp/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -79,8 +81,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/hmac/Makefile.ssl b/crypto/hmac/Makefile.ssl index b1f87764f1..6452328542 100644 --- a/crypto/hmac/Makefile.ssl +++ b/crypto/hmac/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/idea/Makefile.ssl b/crypto/idea/Makefile.ssl index 99103c4ddf..3bd3e53ef4 100644 --- a/crypto/idea/Makefile.ssl +++ b/crypto/idea/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/lhash/Makefile.ssl b/crypto/lhash/Makefile.ssl index 33e4739174..ef769ca84c 100644 --- a/crypto/lhash/Makefile.ssl +++ b/crypto/lhash/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/md2/Makefile.ssl b/crypto/md2/Makefile.ssl index ec23630c5f..6cc3c4ef58 100644 --- a/crypto/md2/Makefile.ssl +++ b/crypto/md2/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/md5/Makefile.ssl b/crypto/md5/Makefile.ssl index ea03dabb22..e27cfca0b0 100644 --- a/crypto/md5/Makefile.ssl +++ b/crypto/md5/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -76,8 +78,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/mdc2/Makefile.ssl b/crypto/mdc2/Makefile.ssl index dbc1b9d28b..4d2277a03b 100644 --- a/crypto/mdc2/Makefile.ssl +++ b/crypto/mdc2/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/objects/Makefile.ssl b/crypto/objects/Makefile.ssl index 9e9595e78c..941aaed46e 100644 --- a/crypto/objects/Makefile.ssl +++ b/crypto/objects/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -55,8 +57,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pem/Makefile.ssl b/crypto/pem/Makefile.ssl index 0742a0ce85..288f30f8c5 100644 --- a/crypto/pem/Makefile.ssl +++ b/crypto/pem/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -53,8 +55,8 @@ links: $(EXHEADER) install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pkcs12/Makefile.ssl b/crypto/pkcs12/Makefile.ssl index f1c4eaed8e..cc7b756ae6 100644 --- a/crypto/pkcs12/Makefile.ssl +++ b/crypto/pkcs12/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -58,8 +60,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/pkcs7/Makefile.ssl b/crypto/pkcs7/Makefile.ssl index accb1abdbc..921061bbd3 100644 --- a/crypto/pkcs7/Makefile.ssl +++ b/crypto/pkcs7/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -54,8 +56,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rand/Makefile.ssl b/crypto/rand/Makefile.ssl index 2d79441457..cdaaa150b6 100644 --- a/crypto/rand/Makefile.ssl +++ b/crypto/rand/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc2/Makefile.ssl b/crypto/rc2/Makefile.ssl index a536950752..542397d69a 100644 --- a/crypto/rc2/Makefile.ssl +++ b/crypto/rc2/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc4/Makefile.ssl b/crypto/rc4/Makefile.ssl index c3a699ea10..0c6637e63a 100644 --- a/crypto/rc4/Makefile.ssl +++ b/crypto/rc4/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -80,8 +82,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rc5/Makefile.ssl b/crypto/rc5/Makefile.ssl index 08afc7be97..d0161d13ce 100644 --- a/crypto/rc5/Makefile.ssl +++ b/crypto/rc5/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -78,8 +80,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/ripemd/Makefile.ssl b/crypto/ripemd/Makefile.ssl index 72738c2efb..5997402ca6 100644 --- a/crypto/ripemd/Makefile.ssl +++ b/crypto/ripemd/Makefile.ssl @@ -8,6 +8,8 @@ CC= cc CPP= $(CC) -E INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -76,8 +78,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/rsa/Makefile.ssl b/crypto/rsa/Makefile.ssl index 0ae35d3373..612caeac92 100644 --- a/crypto/rsa/Makefile.ssl +++ b/crypto/rsa/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -54,8 +56,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/sha/Makefile.ssl b/crypto/sha/Makefile.ssl index f36a9d932b..1477a53089 100644 --- a/crypto/sha/Makefile.ssl +++ b/crypto/sha/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -75,8 +77,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/stack/Makefile.ssl b/crypto/stack/Makefile.ssl index b0291b9b8e..3392b80b9d 100644 --- a/crypto/stack/Makefile.ssl +++ b/crypto/stack/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/txt_db/Makefile.ssl b/crypto/txt_db/Makefile.ssl index dc3af5ab2e..77961b3218 100644 --- a/crypto/txt_db/Makefile.ssl +++ b/crypto/txt_db/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -52,8 +54,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/x509/Makefile.ssl b/crypto/x509/Makefile.ssl index 2adfb08e00..6f3382525c 100644 --- a/crypto/x509/Makefile.ssl +++ b/crypto/x509/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -62,8 +64,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: diff --git a/crypto/x509v3/Makefile.ssl b/crypto/x509v3/Makefile.ssl index 4540325f3b..cf6a9100ff 100644 --- a/crypto/x509v3/Makefile.ssl +++ b/crypto/x509v3/Makefile.ssl @@ -7,6 +7,8 @@ TOP= ../.. CC= cc INCLUDES= -I.. -I../../include CFLAG=-g +INSTALL_PREFIX= +OPENSSLDIR= /usr/local/ssl INSTALLTOP=/usr/local/ssl MAKE= make -f Makefile.ssl MAKEDEPEND= $(TOP)/util/domd $(TOP) @@ -56,8 +58,8 @@ links: install: @for i in $(EXHEADER) ; \ do \ - (cp $$i $(INSTALLTOP)/include/openssl/$$i; \ - chmod 644 $(INSTALLTOP)/include/openssl/$$i ); \ + (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i; \ + chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl/$$i ); \ done; tags: |