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:01:49 +0000 (02:01 +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>
apps/Makefile
test/Makefile

index 90e6014b38e0f3c8d3bba6b504fcab7197a67d44..bf554abd33947519de3f650ac4927a9c7938c6d7 100644 (file)
@@ -139,10 +139,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 $(EXE_OBJ) $(DLIBCRYPTO) $(DLIBSSL)
        $(RM) $(EXE)
index d37e0208deaeef7d584478a72b19fcc97a0b4f12..343c21af2855d3dd2014eb46a0d831427577a975 100644 (file)
@@ -409,10 +409,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)"; \