When making libcrypto from apps or test, make sure to include engines
authorRichard Levitte <levitte@openssl.org>
Tue, 9 Jun 2015 21:06:23 +0000 (23:06 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 10 Jun 2015 00:12:34 +0000 (02:12 +0200)
For librypto to be complete, the stuff in both crypto/ and engines/
have to be built.  Doing 'make test' or 'make apps' from a clean
source tree failed to do so.
Corrected by using the new 'build_libcrypto' in the top Makefile.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(cherry picked from commit acaff3b797f50a0a0e17a0be45b7fafad962004e)

apps/Makefile
test/Makefile

index 963780f5d731239cae0b370e8cde25a0e81adf00..a2c15657bb726e32c53cfeaac844f90f8ef14433 100644 (file)
@@ -147,10 +147,10 @@ clean:
        rm -f req
 
 $(DLIBSSL):
-       (cd ..; $(MAKE) DIRS=ssl all)
+       (cd ..; $(MAKE) build_libssl)
 
 $(DLIBCRYPTO):
-       (cd ..; $(MAKE) DIRS=crypto all)
+       (cd ..; $(MAKE) build_libcrypto)
 
 $(EXE): progs.h $(E_OBJ) $(PROGRAM).o $(DLIBCRYPTO) $(DLIBSSL)
        $(RM) $(EXE)
index 6205d80e057b06a414635d91b55f2d50cfc3aec0..0ee4ec28520d630bfb33e44f803a5c6ada1c0e59 100644 (file)
@@ -355,10 +355,10 @@ clean:
        rm -f .rnd tmp.bntest tmp.bctest *.o *.obj *.dll lib tags core .pure .nfs* *.old *.bak fluff $(EXE) *.ss *.srl log dummytest
 
 $(DLIBSSL):
-       (cd ..; $(MAKE) DIRS=ssl all)
+       (cd ..; $(MAKE) build_libssl)
 
 $(DLIBCRYPTO):
-       (cd ..; $(MAKE) DIRS=crypto all)
+       (cd ..; $(MAKE) build_libcrypto)
 
 BUILD_CMD=shlib_target=; if [ -n "$(SHARED_LIBS)" ]; then \
                shlib_target="$(SHLIB_TARGET)"; \