summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormiod <>2016-11-05 12:45:25 +0000
committermiod <>2016-11-05 12:45:25 +0000
commit0a57be4fd4153555c860c3f645ccde030418c453 (patch)
tree56472fb6cbdf8ebe38358b1d90c2e0b3616bb392
parent36f83cc64aba950579850268de8e1eb4819bd14a (diff)
downloadopenbsd-0a57be4fd4153555c860c3f645ccde030418c453.tar.gz
openbsd-0a57be4fd4153555c860c3f645ccde030418c453.tar.bz2
openbsd-0a57be4fd4153555c860c3f645ccde030418c453.zip
Set PROG so that the binary correctly gets recompiled when the libraries
it is linked against change. ok beck@ jsing@
-rw-r--r--src/regress/lib/libcrypto/ocsp/Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/src/regress/lib/libcrypto/ocsp/Makefile b/src/regress/lib/libcrypto/ocsp/Makefile
index 4178f3199f..62fb985647 100644
--- a/src/regress/lib/libcrypto/ocsp/Makefile
+++ b/src/regress/lib/libcrypto/ocsp/Makefile
@@ -1,22 +1,16 @@
1# $OpenBSD: Makefile,v 1.2 2016/07/05 00:16:23 beck Exp $ 1# $OpenBSD: Makefile,v 1.3 2016/11/05 12:45:25 miod Exp $
2
3TESTS = \
4 ocsp_test
5 2
6REGRESS_TARGETS= all_tests 3REGRESS_TARGETS= all_tests
7 4
5PROG= ocsp_test
8LDADD= -lcrypto -lssl 6LDADD= -lcrypto -lssl
9DPADD= ${LIBCRYPTO} ${LIBSSL} 7DPADD= ${LIBCRYPTO} ${LIBSSL}
10WARNINGS= Yes 8WARNINGS= Yes
11LDFLAGS+= -lcrypto -lssl 9LDFLAGS+= -lcrypto -lssl
12CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror 10CFLAGS+= -DLIBRESSL_INTERNAL -Wall -Wundef -Werror
13 11
14CLEANFILES+= ${TESTS} 12all_tests: ${PROG}
15 13 ${.OBJDIR}/${PROG} www.amazon.com 443
16all_tests: ${TESTS} 14 ${.OBJDIR}/${PROG} cloudflare.com 443
17 @for test in $>; do \
18 ./$$test www.amazon.com 443; \
19 ./$$test cloudflare.com 443; \
20 done
21 15
22.include <bsd.regress.mk> 16.include <bsd.regress.mk>