consistency cosmetics
[openssl.git] / apps / Makefile.ssl
index 5971ada4ccdd45ccb11045f96564e41c9f2a00be..124879c500953f599ea3af6c6a7c105779ffad4a 100644 (file)
@@ -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
@@ -88,14 +89,20 @@ files:
        $(PERL) $(TOP)/util/files.pl Makefile.ssl >> $(TOP)/MINFO
 
 install:
-       @for i in $(EXE) $(SCRIPTS); \
+       @for i in $(EXE); \
        do  \
        (echo installing $$i; \
-        cp $$i $(INSTALLTOP)/bin/$$i; \
-        chmod 755 $(INSTALLTOP)/bin/$$i ); \
-        done; \
-       cp openssl.cnf $(OPENSSLDIR)/lib; \
-       chmod 644 $(OPENSSLDIR)/lib/openssl.cnf
+        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 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i; \
+        chmod 755 $(INSTALL_PREFIX)$(OPENSSLDIR)/misc/$$i ); \
+        done
+       @cp openssl.cnf $(INSTALL_PREFIX)$(OPENSSLDIR)/lib; \
+       chmod 644 $(INSTALL_PREFIX)$(OPENSSLDIR)/lib/openssl.cnf
 
 tags:
        ctags $(SRC)
@@ -640,7 +647,8 @@ version.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
 version.o: ../include/openssl/opensslv.h ../include/openssl/rc2.h
 version.o: ../include/openssl/rc4.h ../include/openssl/rc5.h
 version.o: ../include/openssl/ripemd.h ../include/openssl/rsa.h
-version.o: ../include/openssl/sha.h ../include/openssl/stack.h apps.h progs.h
+version.o: ../include/openssl/safestack.h ../include/openssl/sha.h
+version.o: ../include/openssl/stack.h apps.h progs.h
 x509.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 x509.o: ../include/openssl/blowfish.h ../include/openssl/bn.h
 x509.o: ../include/openssl/buffer.h ../include/openssl/cast.h