RT3497: Clean up "dclean" targets
[openssl.git] / tools / Makefile
index c0770b3cbcd2205348002b6e96732d062aa0c9af..b50218d03e31c3a004a54bacd512655ce3aa7dd8 100644 (file)
@@ -1,5 +1,5 @@
 #
 #
-# SSLeay/tools/Makefile
+# OpenSSL/tools/Makefile
 #
 
 DIR=   tools
 #
 
 DIR=   tools
@@ -7,12 +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
 
 CFLAGS= $(INCLUDES) $(CFLAG)
 MAKEFILE=      Makefile
 
 CFLAGS= $(INCLUDES) $(CFLAG)
@@ -25,6 +19,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; \
@@ -57,6 +52,7 @@ dclean:
 
 clean:
        rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
 
 clean:
        rm -f *.o *.obj lib tags core .pure .nfs* *.old *.bak fluff
+       rm -f c_rehash
 
 errors:
 
 
 errors: