summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-05-16 00:23:26 +0200
committerAndy Polyakov <appro@openssl.org>2005-05-16 00:23:26 +0200
commit81a86fcf1729dea3c62db53af8890d701870c5ce (patch)
treea9d8b3c16c75d76f9d8022feed91ff2364b10d1f /tools
parentMake update. (diff)
downloadopenssl-81a86fcf1729dea3c62db53af8890d701870c5ce.tar.xz
openssl-81a86fcf1729dea3c62db53af8890d701870c5ce.zip
Fool-proofing Makefiles
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/Makefile b/tools/Makefile
index c0770b3cbc..a9656a205c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -7,10 +7,6 @@ TOP= ..
CC= cc
INCLUDES= -I$(TOP) -I../../include
CFLAG=-g
-INSTALL_PREFIX=
-OPENSSLDIR= /usr/local/ssl
-INSTALLTOP=/usr/local/ssl
-MAKE= make
MAKEDEPPROG= makedepend
MAKEDEPEND= $(TOP)/util/domd $(TOP) -MD $(MAKEDEPPROG)
MAKEFILE= Makefile
@@ -25,6 +21,7 @@ MISC_APPS= c_hash c_info c_issuer c_name
all:
install:
+ @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
@for i in $(APPS) ; \
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \