aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-04-29 21:52:08 +0000
committerBodo Möller <bodo@openssl.org>1999-04-29 21:52:08 +0000
commite5f3045fbf6394f2f587d1312cf3525da04d3032 (patch)
tree8aefa6fcebbe06029407054d1e0b0cbf4535fb06
parent9f5f32c9b07e72ef8598cc5449ad4f63d9a76ee5 (diff)
downloadopenssl-e5f3045fbf6394f2f587d1312cf3525da04d3032.tar.gz
Support INSTALL_PREFIX for packagers.
Submitted by: Reviewed by: PR:
-rw-r--r--CHANGES4
-rwxr-xr-xConfigure30
-rw-r--r--INSTALL11
-rw-r--r--Makefile.org26
-rw-r--r--STATUS21
-rw-r--r--apps/Makefile.ssl13
-rw-r--r--crypto/Makefile.ssl8
-rw-r--r--crypto/asn1/Makefile.ssl6
-rw-r--r--crypto/bf/Makefile.ssl6
-rw-r--r--crypto/bio/Makefile.ssl6
-rw-r--r--crypto/bn/Makefile.ssl6
-rw-r--r--crypto/buffer/Makefile.ssl6
-rw-r--r--crypto/cast/Makefile.ssl6
-rw-r--r--crypto/comp/Makefile.ssl6
-rw-r--r--crypto/conf/Makefile.ssl6
-rw-r--r--crypto/des/Makefile.ssl6
-rw-r--r--crypto/dh/Makefile.ssl6
-rw-r--r--crypto/dsa/Makefile.ssl6
-rw-r--r--crypto/err/Makefile.ssl6
-rw-r--r--crypto/evp/Makefile.ssl6
-rw-r--r--crypto/hmac/Makefile.ssl6
-rw-r--r--crypto/idea/Makefile.ssl6
-rw-r--r--crypto/lhash/Makefile.ssl6
-rw-r--r--crypto/md2/Makefile.ssl6
-rw-r--r--crypto/md5/Makefile.ssl6
-rw-r--r--crypto/mdc2/Makefile.ssl6
-rw-r--r--crypto/objects/Makefile.ssl6
-rw-r--r--crypto/pem/Makefile.ssl6
-rw-r--r--crypto/pkcs12/Makefile.ssl6
-rw-r--r--crypto/pkcs7/Makefile.ssl6
-rw-r--r--crypto/rand/Makefile.ssl6
-rw-r--r--crypto/rc2/Makefile.ssl6
-rw-r--r--crypto/rc4/Makefile.ssl6
-rw-r--r--crypto/rc5/Makefile.ssl6
-rw-r--r--crypto/ripemd/Makefile.ssl6
-rw-r--r--crypto/rsa/Makefile.ssl6
-rw-r--r--crypto/sha/Makefile.ssl6
-rw-r--r--crypto/stack/Makefile.ssl6
-rw-r--r--crypto/txt_db/Makefile.ssl6
-rw-r--r--crypto/x509/Makefile.ssl6
-rw-r--r--crypto/x509v3/Makefile.ssl6
-rw-r--r--rsaref/Makefile.ssl6
-rw-r--r--ssl/Makefile.ssl6
-rw-r--r--test/Makefile.ssl2
-rw-r--r--tools/Makefile.ssl10
45 files changed, 216 insertions, 125 deletions
diff --git a/CHANGES b/CHANGES
index 2f674af1c9..574940416c 100644
--- a/CHANGES
+++ b/CHANGES
@@ -5,6 +5,10 @@
Changes between 0.9.2b and 0.9.3
+ *) Support INSTALL_PREFIX for package builders, as proposed by
+ David Harris.
+ [Bodo Moeller]
+
*) New Configure options "threads" and "no-threads". For systems
where the proper compiler options are known (currently Solaris
and Linux), "threads" is the default.
diff --git a/Configure b/Configure
index 7db4330aaf..60fca6ad22 100755
--- a/Configure
+++ b/Configure
@@ -13,10 +13,16 @@ use strict;
my $usage="Usage: Configure [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [rsaref] [no-threads] [no-asm] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] os/compiler[:flags]\n";
# Options:
+#
# --openssldir install OpenSSL in OPENSSLDIR (Default: DIR/ssl if the
# --prefix option is given; /usr/local/ssl otherwise)
# --prefix prefix for the OpenSSL include, lib and bin directories
# (Default: the OPENSSLDIR directory)
+#
+# --install_prefix Additional prefix for package builders (empty by
+# default). This needn't be set in advance, you can
+# just as well use "make INSTALL_PREFIX=/whatever install".
+#
# rsaref use RSAref
# [no-]threads [don't] try to create a library that is suitable for
# multithreaded applications (default is "threads" if we
@@ -248,8 +254,9 @@ my %table=(
my @WinTargets=qw(VC-NT VC-WIN32 VC-WIN16 VC-W31-16 VC-W31-32 VC-MSDOS BC-32
BC-16 CygWin32);
-my $installprefix="";
+my $prefix="";
my $openssldir="";
+my $install_prefix="";
my $no_threads=0;
my $threads=0;
my $no_asm=0;
@@ -321,12 +328,16 @@ foreach (@ARGV)
}
elsif (/^--prefix=(.*)$/)
{
- $installprefix=$1;
+ $prefix=$1;
}
elsif (/^--openssldir=(.*)$/)
{
$openssldir=$1;
}
+ elsif (/^--install.prefix=(.*)$/)
+ {
+ $install_prefix=$1;
+ }
else
{
print STDERR $usage;
@@ -348,14 +359,14 @@ foreach (@ARGV)
my $IsWindows=scalar grep /^$target$/,@WinTargets;
-$openssldir="/usr/local/ssl" if ($openssldir eq "" and $installprefix eq "");
-$installprefix=$openssldir if $installprefix eq "";
+$openssldir="/usr/local/ssl" if ($openssldir eq "" and $prefix eq "");
+$prefix=$openssldir if $prefix eq "";
chop $openssldir if $openssldir =~ /\/$/;
-chop $installprefix if $installprefix =~ /\/$/;
+chop $prefix if $prefix =~ /\/$/;
-$openssldir=$installprefix . "/ssl" if $openssldir eq "";
-$openssldir=$installprefix . "/" . $openssldir if $openssldir !~ /^\//;
+$openssldir=$prefix . "/ssl" if $openssldir eq "";
+$openssldir=$prefix . "/" . $openssldir if $openssldir !~ /^\//;
print "IsWindows=$IsWindows\n";
@@ -457,8 +468,9 @@ while (<IN>)
s/^VERSION=.*/VERSION=$version/;
s/^MAJOR=.*/MAJOR=$major/;
s/^MINOR=.*/MINOR=$minor/;
- s/^INSTALLTOP=.*$/INSTALLTOP=$installprefix/;
+ s/^INSTALLTOP=.*$/INSTALLTOP=$prefix/;
s/^OPENSSLDIR=.*$/OPENSSLDIR=$openssldir/;
+ s/^INSTALL_PREFIX=.*$/INSTALL_PREFIX=$install_prefix/;
s/^PLATFORM=.*$/PLATFORM=$target/;
s/^CC=.*$/CC= $cc/;
s/^CFLAG=.*$/CFLAG= $cflags/;
@@ -650,7 +662,7 @@ conflicts with other libraries.
To compile programs that use the old form <foo.h>,
usually an additional compiler option will suffice: E.g., add
- -I$installprefix/include/openssl
+ -I$prefix/include/openssl
or
-I$pwd/include/openssl
to the CFLAGS in the Makefile of the program that you want to compile
diff --git a/INSTALL b/INSTALL
index 2c1b167541..294c0b48e8 100644
--- a/INSTALL
+++ b/INSTALL
@@ -122,6 +122,17 @@
include/openssl Contains the header files needed if you want to
compile programs with libcrypto or libssl.
+ Package builders who want to configure the library for standard
+ locations, but have the package installed somewhere else so that
+ it can easily be packaged, can use
+
+ $ make INSTALL_PREFIX=/tmp/package-root install
+
+ (or specify "-install_prefix=/tmp/package-root" as a configure
+ option). The specified prefix will be prepended to all
+ installation target filenames.
+
+
NOTE: The header files used to reside directly in the include
directory, but have now been moved to include/openssl so that
OpenSSL can co-exist with other libraries which use some of the
diff --git a/Makefile.org b/Makefile.org
index 33f81de54e..af79054c8e 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -6,6 +6,10 @@ VERSION=
MAJOR=
MINOR=
PLATFORM=dist
+# INSTALL_PREFIX is for package builders so that they can configure
+# for, say, /usr/ and yet have everything installed to /tmp/somedir/usr/.
+# Normally it is left empty.
+INSTALL_PREFIX=
INSTALLTOP=/usr/local/ssl
# Do not edit this manually. Use Configure --openssldir=DIR do change this!
@@ -307,24 +311,24 @@ dist_pem_h:
(cd crypto/pem; $(MAKE) SDIRS='${SDIRS}' CFLAG='${CFLAG}' pem.h; $(MAKE) clean)
install: all
- @-mkdir -p $(INSTALLTOP)/bin 2>/dev/null
- @-mkdir -p $(INSTALLTOP)/lib 2>/dev/null
- @-mkdir -p $(INSTALLTOP)/include/openssl 2>/dev/null
- @-mkdir -p $(OPENSSLDIR)/misc 2>/dev/null
- @-mkdir -p $(OPENSSLDIR)/certs 2>/dev/null
- @-mkdir -p $(OPENSSLDIR)/private 2>/dev/null
- @-mkdir -p $(OPENSSLDIR)/lib 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/bin 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/lib 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(INSTALLTOP)/include/openssl 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/misc 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/certs 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/private 2>/dev/null
+ @-mkdir -p $(INSTALL_PREFIX)$(OPENSSLDIR)/lib 2>/dev/null
@for i in $(DIRS) ;\
do \
(cd $$i; echo "installing $$i..."; \
- $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALLTOP='${INSTALLTOP}' OPENSSLDIR='${OPENSSLDIR}' EX_LIBS='${EX_LIBS}' SDIRS='${SDIRS}' install ); \
+ $(MAKE) CC='${CC}' CFLAG='${CFLAG}' INSTALL_PREFIX='${INSTALL_PREFIX}' INSTALLTOP='${INSTALLTOP}' OPENSSLDIR='${OPENSSLDIR}' EX_LIBS='${EX_LIBS}' SDIRS='${SDIRS}' install ); \
done
@for i in $(LIBS) ;\
do \
( echo installing $$i; \
- cp $$i $(INSTALLTOP)/lib; \
- $(RANLIB) $(INSTALLTOP)/lib/$$i; \
- chmod 644 $(INSTALLTOP)/lib/$$i ); \
+ cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/lib; \
+ $(RANLIB) $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i; \
+ chmod 644 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/$$i ); \
done
# DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/STATUS b/STATUS
index 245f5ed3af..8615b04e24 100644
--- a/STATUS
+++ b/STATUS
@@ -1,6 +1,6 @@
OpenSSL STATUS Last modified at
- ______________ $Date: 1999/04/27 12:01:53 $
+ ______________ $Date: 1999/04/29 21:51:00 $
DEVELOPMENT STATE
@@ -30,7 +30,6 @@
AVAILABLE PATCHES
o OCSP (titchenert@certco.com)
- o Install prefix for packagers (dharris@drh.net)
o getenv in ca.c and x509_def.c (jaltman@watsun.cc.columbia.edu)
o linux dynamic libs (colin@field.medicine.adelaide.edu.au)
o MingW support (niklas@canit.se)
@@ -95,24 +94,6 @@
itself. Then we can avoid a lot of those platform checks
which are currently in Configure.
- o The installation under "make install" produces a very
- installation layout: $prefix/certs and $prefix/private dirs. That's
- not nice. Ralf suggests to move the two certs and private dirs either
- to $prefix/etc/, $prefix/lib/ or $prefix/share. Alternatively
- we could also not install the certs at all.
-
- Status: Ralf +1 for both not installing the certs at all and
- moving it to $prefix/etc/. +0 for $prefix/lib/
- and $prefix/share.
- Paul: why is it not nice?
- Ralf: because it messes up the install dir when
- $prefix is not a dedicated area like /usr/local/ssl.
- When we move them to a standard subdir like
- etc/ lib/ or share/ we don't mess up things
- when $prefix is /usr or /usr/local, etc.
- Additionally it makes package vendors life
- easier....
-
o Support for Shared Libraries has to be added at least
for the major Unix platforms. The details we can rip from the stuff
Ralf has done for the Apache src/Configure script. Ben wants the
diff --git a/apps/Makefile.ssl b/apps/Makefile.ssl
index 606b206a11..c985c9945e 100644
--- a/apps/Makefile.ssl
+++ b/apps/Makefile.ssl
@@ -7,6 +7,7 @@ TOP= ..
CC= cc
INCLUDES= -I../include
CFLAG= -g -static
+INSTALL_PREFIX=
INSTALLTOP= /usr/local/ssl
OPENSSLDIR= /usr/local/ssl
MAKE= make -f Makefile.ssl
@@ -91,17 +92,17 @@ install:
@for i in $(EXE); \
do \
(echo installing $$i; \
- cp $$i $(INSTALLTOP)/bin/$$i; \
- chmod 755 $(INSTALLTOP)/bin/$$i ); \
+ cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
+ chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
done;
@for i in $(SCRIPTS); \
do \
(echo installing $$i; \
- cp $$i $(OPENSSLDIR)/misc/$$i; \
- chmod 755 $(OPENSSLDIR)/misc/$$i ); \
+ cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
+ chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
done;
- cp openssl.cnf $(OPENSSLDIR)/lib; \
- chmod 644 $(OPENSSLDIR)/lib/openssl.cnf
+ cp openssl.cnf $(INSTALL_PREFIX)$(OPENSSLDIR)/lib; \
+ chmod 644 $(INSTALL_PREFIX)$(OPENSSLDIR)/lib/openssl.cnf
tags:
ctags $(SRC)
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:
diff --git a/rsaref/Makefile.ssl b/rsaref/Makefile.ssl
index 28255665cf..ca5c85548c 100644
--- a/rsaref/Makefile.ssl
+++ b/rsaref/Makefile.ssl
@@ -7,6 +7,8 @@ TOP= ..
CC= cc
INCLUDES= -I../crypto -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 @@ 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/ssl/Makefile.ssl b/ssl/Makefile.ssl
index 53a367066c..ab346110dd 100644
--- a/ssl/Makefile.ssl
+++ b/ssl/Makefile.ssl
@@ -7,6 +7,8 @@ TOP= ..
CC= cc
INCLUDES= -I../crypto -I../include
CFLAG=-g
+INSTALL_PREFIX=
+OPENSSLDIR= /usr/local/ssl
INSTALLTOP=/usr/local/ssl
MAKE= make -f Makefile.ssl
MAKEDEPEND= $(TOP)/util/domd $(TOP)
@@ -68,8 +70,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/test/Makefile.ssl b/test/Makefile.ssl
index 354564e104..04d57385c8 100644
--- a/test/Makefile.ssl
+++ b/test/Makefile.ssl
@@ -7,6 +7,8 @@ TOP= ..
CC= cc
INCLUDES= -I../include
CFLAG= -g
+INSTALL_PREFIX=
+OPENSSLDIR= /usr/local/ssl
INSTALLTOP= /usr/local/ssl
MAKEFILE= Makefile.ssl
MAKE= make -f $(MAKEFILE)
diff --git a/tools/Makefile.ssl b/tools/Makefile.ssl
index 08d4a7cc71..7e6285b911 100644
--- a/tools/Makefile.ssl
+++ b/tools/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)
@@ -24,13 +26,13 @@ all:
install:
@for i in $(APPS) ; \
do \
- (cp $$i $(INSTALLTOP)/bin/$$i; \
- chmod 755 $(INSTALLTOP)/bin/$$i ); \
+ (cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i; \
+ chmod 755 $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i ); \
done;
@for i in $(MISC_APPS) ; \
do \
- (cp $$i $(OPENSSLTOP)/misc/$$i; \
- chmod 755 $(OPENSSLTOP)/misc/$$i ); \
+ (cp $$i $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
+ chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
done;
files: