projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fool-proofing Makefiles
[openssl.git]
/
tools
/
Makefile
diff --git
a/tools/Makefile
b/tools/Makefile
index c0770b3cbcd2205348002b6e96732d062aa0c9af..a9656a205cab3e947a256e777006be6a34b83d45 100644
(file)
--- a/
tools/Makefile
+++ b/
tools/Makefile
@@
-7,10
+7,6
@@
TOP= ..
CC= cc
INCLUDES= -I$(TOP) -I../../include
CFLAG=-g
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
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:
all:
install:
+ @[ -n "$(INSTALLTOP)" ] # should be set by top Makefile...
@for i in $(APPS) ; \
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \
@for i in $(APPS) ; \
do \
(cp $$i $(INSTALL_PREFIX)$(INSTALLTOP)/bin/$$i.new; \