diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2016-11-05 12:45:26 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2016-11-05 12:45:26 +0000 |
commit | e0416d46c02adeb5f4d214120fa1c58c066d910d (patch) | |
tree | 41d58031542a38c9b49739c0d95af3a32a2cab63 /regress/lib | |
parent | ba961a057f911f807033ac3a0ed16e28b5b3b08e (diff) |
Set PROG so that the binary correctly gets recompiled when the libraries
it is linked against change.
ok beck@ jsing@
Diffstat (limited to 'regress/lib')
-rw-r--r-- | regress/lib/libcrypto/ocsp/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/regress/lib/libcrypto/ocsp/Makefile b/regress/lib/libcrypto/ocsp/Makefile index 4178f3199f8..62fb9856477 100644 --- a/regress/lib/libcrypto/ocsp/Makefile +++ b/regress/lib/libcrypto/ocsp/Makefile @@ -1,22 +1,16 @@ -# $OpenBSD: Makefile,v 1.2 2016/07/05 00:16:23 beck Exp $ - -TESTS = \ - ocsp_test +# $OpenBSD: Makefile,v 1.3 2016/11/05 12:45:25 miod Exp $ REGRESS_TARGETS= all_tests +PROG= ocsp_test LDADD= -lcrypto -lssl DPADD= ${LIBCRYPTO} ${LIBSSL} WARNINGS= Yes LDFLAGS+= -lcrypto -lssl CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror -CLEANFILES+= ${TESTS} - -all_tests: ${TESTS} - @for test in $>; do \ - ./$$test www.amazon.com 443; \ - ./$$test cloudflare.com 443; \ - done +all_tests: ${PROG} + ${.OBJDIR}/${PROG} www.amazon.com 443 + ${.OBJDIR}/${PROG} cloudflare.com 443 .include <bsd.regress.mk> |