# module installation. We have the output go to standard output, because
# the generated commands in build templates are expected to catch that,
# and thereby keep control over the exact output file location.
- DEPEND[|tests|]=fipsmodule.cnf
- GENERATE[fipsmodule.cnf]=../apps/openssl fipsinstall \
- -module providers/$(FIPSMODULENAME) -provider_name fips \
- -mac_name HMAC -section_name fips_sect
- DEPEND[fipsmodule.cnf]=$FIPSGOAL
+ IF[{- !$disabled{tests} -}]
+ DEPEND[|tests|]=fipsmodule.cnf
+ GENERATE[fipsmodule.cnf]=../apps/openssl fipsinstall \
+ -module providers/$(FIPSMODULENAME) -provider_name fips \
+ -mac_name HMAC -section_name fips_sect
+ DEPEND[fipsmodule.cnf]=$FIPSGOAL
+ ENDIF
ENDIF
#