This fixes the installation target for dynamic engines, which was trying to
[openssl.git] / engines / Makefile.ssl
index 24787ab758b21a0b416510e2ce374a829c88d77c..8ae81f33ce31de98d9a1f32c92d20448a04316ac 100644 (file)
@@ -75,6 +75,9 @@ lib:  $(LIBOBJ)
                        $(NEWMAKE) -f ../Makefile.shared \
                                CC="$(CC)" LIBNAME=$$l LIBEXTRAS=e_$$l.o \
                                LIBDEPS='-L.. -lcrypto $(EX_LIBS)' \
                        $(NEWMAKE) -f ../Makefile.shared \
                                CC="$(CC)" LIBNAME=$$l LIBEXTRAS=e_$$l.o \
                                LIBDEPS='-L.. -lcrypto $(EX_LIBS)' \
+                               CFLAG="$(CFLAG)" LDFLAGS="$(LDFLAGS)" \
+                               SHARED_LDFLAGS="$(SHARED_LDFLAGS)" \
+                               PLATFORM="$(PLATFORM)" \
                                link_o.$(SHLIB_TARGET); \
                done; \
        else \
                                link_o.$(SHLIB_TARGET); \
                done; \
        else \
@@ -96,9 +99,9 @@ install:
                set -e; \
                for l in $(LIBNAMES); do \
                        ( echo installing $$l; \
                set -e; \
                for l in $(LIBNAMES); do \
                        ( echo installing $$l; \
-                         cp lib$$l.so $(INSTALL_PREFIX)$(OPENSSLDIR)/engines/lib$$l.so.new; \
-                         chmod 555 $(INSTALL_PREFIX)$(OPENSSLDIR)/engines/lib$$l.so.new; \
-                         mv -f $(INSTALL_PREFIX)$(OPENSSLDIR)/engines/lib$$l.so.new $(INSTALL_PREFIX)$(OPENSSLDIR)/engines/lib$$l.so ); \
+                         cp lib$$l.so $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
+                         chmod 555 $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new; \
+                         mv -f $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so.new $(INSTALL_PREFIX)$(INSTALLTOP)/lib/engines/lib$$l.so ); \
                done; \
        fi
 
                done; \
        fi
 
@@ -130,8 +133,7 @@ clean:
 
 e_4758_cca.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_4758_cca.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 
 e_4758_cca.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_4758_cca.o: ../include/openssl/bn.h ../include/openssl/buffer.h
-e_4758_cca.o: ../include/openssl/crypto.h ../include/openssl/dh.h
-e_4758_cca.o: ../include/openssl/dsa.h ../include/openssl/dso.h
+e_4758_cca.o: ../include/openssl/crypto.h ../include/openssl/dso.h
 e_4758_cca.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
 e_4758_cca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
 e_4758_cca.o: ../include/openssl/engine.h ../include/openssl/err.h
 e_4758_cca.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
 e_4758_cca.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
 e_4758_cca.o: ../include/openssl/engine.h ../include/openssl/err.h
@@ -141,8 +143,7 @@ e_4758_cca.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_4758_cca.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
 e_4758_cca.o: ../include/openssl/rand.h ../include/openssl/rsa.h
 e_4758_cca.o: ../include/openssl/safestack.h ../include/openssl/sha.h
 e_4758_cca.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
 e_4758_cca.o: ../include/openssl/rand.h ../include/openssl/rsa.h
 e_4758_cca.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_4758_cca.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_4758_cca.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
+e_4758_cca.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
 e_4758_cca.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_4758_cca.o: e_4758_cca.c e_4758_cca_err.c e_4758_cca_err.h
 e_4758_cca.o: vendor_defns/hw_4758_cca.h
 e_4758_cca.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_4758_cca.o: e_4758_cca.c e_4758_cca_err.c e_4758_cca_err.h
 e_4758_cca.o: vendor_defns/hw_4758_cca.h
@@ -150,84 +151,54 @@ e_aep.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_aep.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_aep.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_aep.o: ../include/openssl/dsa.h ../include/openssl/dso.h
 e_aep.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_aep.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_aep.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_aep.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_aep.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_aep.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_aep.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_aep.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
+e_aep.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_aep.o: ../include/openssl/err.h ../include/openssl/lhash.h
 e_aep.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_aep.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_aep.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
-e_aep.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_aep.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_aep.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_aep.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
-e_aep.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_aep.c
-e_aep.o: e_aep_err.c e_aep_err.h vendor_defns/aep.h
+e_aep.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
+e_aep.o: ../include/openssl/safestack.h ../include/openssl/stack.h
+e_aep.o: ../include/openssl/symhacks.h e_aep.c e_aep_err.c e_aep_err.h
+e_aep.o: vendor_defns/aep.h
 e_atalla.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_atalla.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_atalla.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_atalla.o: ../include/openssl/dsa.h ../include/openssl/dso.h
 e_atalla.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_atalla.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_atalla.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_atalla.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_atalla.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_atalla.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_atalla.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_atalla.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_atalla.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
+e_atalla.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_atalla.o: ../include/openssl/err.h ../include/openssl/lhash.h
 e_atalla.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_atalla.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_atalla.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
-e_atalla.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_atalla.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_atalla.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_atalla.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
-e_atalla.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_atalla.c
-e_atalla.o: e_atalla_err.c e_atalla_err.h vendor_defns/atalla.h
+e_atalla.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
+e_atalla.o: ../include/openssl/safestack.h ../include/openssl/stack.h
+e_atalla.o: ../include/openssl/symhacks.h e_atalla.c e_atalla_err.c
+e_atalla.o: e_atalla_err.h vendor_defns/atalla.h
 e_cswift.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_cswift.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_cswift.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_cswift.o: ../include/openssl/dsa.h ../include/openssl/dso.h
 e_cswift.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_cswift.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_cswift.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_cswift.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_cswift.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_cswift.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_cswift.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_cswift.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_cswift.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
+e_cswift.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_cswift.o: ../include/openssl/err.h ../include/openssl/lhash.h
 e_cswift.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_cswift.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_cswift.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
-e_cswift.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_cswift.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_cswift.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_cswift.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
-e_cswift.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_cswift.c
+e_cswift.o: ../include/openssl/ossl_typ.h ../include/openssl/rand.h
+e_cswift.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
+e_cswift.o: ../include/openssl/stack.h ../include/openssl/symhacks.h e_cswift.c
 e_cswift.o: e_cswift_err.c e_cswift_err.h vendor_defns/cswift.h
 e_cswift.o: e_cswift_err.c e_cswift_err.h vendor_defns/cswift.h
-e_gmp.o: ../include/openssl/asn1.h ../include/openssl/bio.h
-e_gmp.o: ../include/openssl/bn.h ../include/openssl/buffer.h
-e_gmp.o: ../include/openssl/crypto.h ../include/openssl/dh.h
-e_gmp.o: ../include/openssl/dsa.h ../include/openssl/e_os2.h
-e_gmp.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
-e_gmp.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
-e_gmp.o: ../include/openssl/err.h ../include/openssl/evp.h
-e_gmp.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
-e_gmp.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
-e_gmp.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
-e_gmp.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
-e_gmp.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
-e_gmp.o: ../include/openssl/sha.h ../include/openssl/stack.h
-e_gmp.o: ../include/openssl/store.h ../include/openssl/symhacks.h
-e_gmp.o: ../include/openssl/ui.h ../include/openssl/x509.h
-e_gmp.o: ../include/openssl/x509_vfy.h e_gmp.c
+e_gmp.o: ../include/openssl/buffer.h ../include/openssl/crypto.h
+e_gmp.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_gmp.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
+e_gmp.o: ../include/openssl/ossl_typ.h ../include/openssl/safestack.h
+e_gmp.o: ../include/openssl/stack.h ../include/openssl/symhacks.h e_gmp.c
 e_ncipher.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_ncipher.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_ncipher.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_ncipher.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_ncipher.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_ncipher.o: ../include/openssl/crypto.h ../include/openssl/dh.h
-e_ncipher.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_ncipher.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_ncipher.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_ncipher.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_ncipher.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_ncipher.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
-e_ncipher.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_ncipher.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
-e_ncipher.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
-e_ncipher.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_ncipher.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_ncipher.o: ../include/openssl/stack.h ../include/openssl/store.h
+e_ncipher.o: ../include/openssl/dso.h ../include/openssl/e_os2.h
+e_ncipher.o: ../include/openssl/ec.h ../include/openssl/ecdh.h
+e_ncipher.o: ../include/openssl/ecdsa.h ../include/openssl/engine.h
+e_ncipher.o: ../include/openssl/err.h ../include/openssl/evp.h
+e_ncipher.o: ../include/openssl/lhash.h ../include/openssl/obj_mac.h
+e_ncipher.o: ../include/openssl/objects.h ../include/openssl/opensslconf.h
+e_ncipher.o: ../include/openssl/opensslv.h ../include/openssl/ossl_typ.h
+e_ncipher.o: ../include/openssl/pem.h ../include/openssl/pem2.h
+e_ncipher.o: ../include/openssl/pkcs7.h ../include/openssl/rand.h
+e_ncipher.o: ../include/openssl/rsa.h ../include/openssl/safestack.h
+e_ncipher.o: ../include/openssl/sha.h ../include/openssl/stack.h
 e_ncipher.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
 e_ncipher.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_ncipher.o: e_ncipher.c e_ncipher_err.c e_ncipher_err.h
 e_ncipher.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
 e_ncipher.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_ncipher.o: e_ncipher.c e_ncipher_err.c e_ncipher_err.h
@@ -236,19 +207,12 @@ e_nuron.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_nuron.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_nuron.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_nuron.o: ../include/openssl/dsa.h ../include/openssl/dso.h
 e_nuron.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_nuron.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_nuron.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_nuron.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_nuron.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_nuron.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_nuron.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_nuron.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
+e_nuron.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_nuron.o: ../include/openssl/err.h ../include/openssl/lhash.h
 e_nuron.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_nuron.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_nuron.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
-e_nuron.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_nuron.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_nuron.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_nuron.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
-e_nuron.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_nuron.c
-e_nuron.o: e_nuron_err.c e_nuron_err.h
+e_nuron.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
+e_nuron.o: ../include/openssl/safestack.h ../include/openssl/stack.h
+e_nuron.o: ../include/openssl/symhacks.h e_nuron.c e_nuron_err.c e_nuron_err.h
 e_sureware.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_sureware.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_sureware.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_sureware.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_sureware.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_sureware.o: ../include/openssl/crypto.h ../include/openssl/dh.h
@@ -263,8 +227,7 @@ e_sureware.o: ../include/openssl/ossl_typ.h ../include/openssl/pem.h
 e_sureware.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
 e_sureware.o: ../include/openssl/rand.h ../include/openssl/rsa.h
 e_sureware.o: ../include/openssl/safestack.h ../include/openssl/sha.h
 e_sureware.o: ../include/openssl/pem2.h ../include/openssl/pkcs7.h
 e_sureware.o: ../include/openssl/rand.h ../include/openssl/rsa.h
 e_sureware.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_sureware.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_sureware.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
+e_sureware.o: ../include/openssl/stack.h ../include/openssl/symhacks.h
 e_sureware.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_sureware.o: e_sureware.c e_sureware_err.c e_sureware_err.h
 e_sureware.o: vendor_defns/sureware.h
 e_sureware.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h
 e_sureware.o: e_sureware.c e_sureware_err.c e_sureware_err.h
 e_sureware.o: vendor_defns/sureware.h
@@ -272,16 +235,10 @@ e_ubsec.o: ../include/openssl/asn1.h ../include/openssl/bio.h
 e_ubsec.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_ubsec.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_ubsec.o: ../include/openssl/dsa.h ../include/openssl/dso.h
 e_ubsec.o: ../include/openssl/bn.h ../include/openssl/buffer.h
 e_ubsec.o: ../include/openssl/crypto.h ../include/openssl/dh.h
 e_ubsec.o: ../include/openssl/dsa.h ../include/openssl/dso.h
-e_ubsec.o: ../include/openssl/e_os2.h ../include/openssl/ec.h
-e_ubsec.o: ../include/openssl/ecdh.h ../include/openssl/ecdsa.h
-e_ubsec.o: ../include/openssl/engine.h ../include/openssl/err.h
-e_ubsec.o: ../include/openssl/evp.h ../include/openssl/lhash.h
-e_ubsec.o: ../include/openssl/obj_mac.h ../include/openssl/objects.h
+e_ubsec.o: ../include/openssl/e_os2.h ../include/openssl/engine.h
+e_ubsec.o: ../include/openssl/err.h ../include/openssl/lhash.h
 e_ubsec.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
 e_ubsec.o: ../include/openssl/opensslconf.h ../include/openssl/opensslv.h
-e_ubsec.o: ../include/openssl/ossl_typ.h ../include/openssl/pkcs7.h
-e_ubsec.o: ../include/openssl/rand.h ../include/openssl/rsa.h
-e_ubsec.o: ../include/openssl/safestack.h ../include/openssl/sha.h
-e_ubsec.o: ../include/openssl/stack.h ../include/openssl/store.h
-e_ubsec.o: ../include/openssl/symhacks.h ../include/openssl/ui.h
-e_ubsec.o: ../include/openssl/x509.h ../include/openssl/x509_vfy.h e_ubsec.c
-e_ubsec.o: e_ubsec_err.c e_ubsec_err.h vendor_defns/hw_ubsec.h
+e_ubsec.o: ../include/openssl/ossl_typ.h ../include/openssl/rsa.h
+e_ubsec.o: ../include/openssl/safestack.h ../include/openssl/stack.h
+e_ubsec.o: ../include/openssl/symhacks.h e_ubsec.c e_ubsec_err.c e_ubsec_err.h
+e_ubsec.o: vendor_defns/hw_ubsec.h