Update fips_test_suite make rule.

This commit is contained in:
Andy Polyakov 2005-06-26 21:48:19 +00:00
parent 07cc19fcac
commit f25209267f

View file

@ -107,8 +107,12 @@ top_fips_test_suite:
(cd $(TOP); $(MAKE) DIRS=fips FDIRS=. TARGET=fips_test_suite sub_target)
fips_test_suite: fips_test_suite.o $(TOP)/libcrypto.a
$(CC) $(CFLAGS) -o fips_test_suite fips_test_suite.o $(PEX_LIBS) $(TOP)/libcrypto.a $(EX_LIBS)
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_test_suite || { rm fips_test_suite; false; }
@if [ -z "$(SHARED_LIBS)" ]; then \
set -x; $(CC) $(CFLAGS) -o fips_test_suite fips_test_suite.o $(PEX_LIBS) $(TOP)/libcrypto.a $(EX_LIBS); \
TOP=$(TOP) $(TOP)/fips/openssl_fips_fingerprint $(TOP)/libcrypto.a fips_test_suite || { rm fips_test_suite; false; }; \
else \
set -x; $(CC) $(CFLAGS) -o fips_test_suite fips_test_suite.o $(PEX_LIBS) -L$(TOP) -lcrypto $(EX_LIBS); \
fi
fips_test: top tests
-cd testvectors && perl -p -i -e 's/COUNT=/COUNT = /' des[23]/req/*.req