build_apps : $(PROGRAMS), $(SCRIPTS)
build_tests : $(TESTPROGS)
-test tests : build_tests, rehash
+test tests : build_apps, build_engines, build_tests, rehash
SET DEFAULT [.test]{- move("test") -}
DEFINE SRCTOP {- sourcedir() -}
DEFINE BLDTOP {- builddir() -}
@ {- output_off() if $config{no_shared}; "" -} !
{- join("\n ",
map { "COPY/PROT=W:RE $_.EXE ossl_installroot:['arch'.LIB]" }
- map { $unified_info{sharednames}->{$_} || () }
+ map { $unified_info{sharednames}->{$_} || () }
@{$unified_info{libraries}}) -}
@ {- output_on() if $config{no_shared}; "" -} !
build_apps: $(PROGRAMS) $(SCRIPTS)
build_tests: $(TESTPROGS)
-test tests: build_tests build_apps build_engines build_libs rehash
+test tests: build_tests build_apps build_engines rehash
( cd test; \
SRCTOP=../$(SRCDIR) \
BLDTOP=../$(BLDDIR) \
# Helper targets #####################################################
-rehash: link-utils copy-certs
+rehash: link-utils copy-certs build_apps
@if [ -z "$(CROSS_COMPILE)" ]; then \
(OPENSSL="$(BLDDIR)/util/shlib_wrap.sh apps/openssl"; \
[ -x "$(BLDDIR)/openssl.exe" ] && OPENSSL="$(BLDDIR)/openssl.exe" || :; \