diff options
Diffstat (limited to 'src/regress/lib/libssl/handshake/Makefile')
| -rw-r--r-- | src/regress/lib/libssl/handshake/Makefile | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/regress/lib/libssl/handshake/Makefile b/src/regress/lib/libssl/handshake/Makefile deleted file mode 100644 index 64bd5709a8..0000000000 --- a/src/regress/lib/libssl/handshake/Makefile +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.9 2022/06/29 15:06:18 tb Exp $ | ||
| 2 | |||
| 3 | PROGS += handshake_table | ||
| 4 | PROGS += valid_handshakes_terminate | ||
| 5 | |||
| 6 | .for p in ${PROGS} | ||
| 7 | REGRESS_TARGETS += run-$p | ||
| 8 | .endfor | ||
| 9 | |||
| 10 | LDADD = ${SSL_INT} -lcrypto | ||
| 11 | DPADD = ${LIBCRYPTO} ${LIBSSL} | ||
| 12 | WARNINGS = Yes | ||
| 13 | CFLAGS += -DLIBRESSL_INTERNAL -Wundef -Werror | ||
| 14 | CFLAGS+= -I${.CURDIR}/../../../../lib/libssl | ||
| 15 | |||
| 16 | print: handshake_table | ||
| 17 | @./handshake_table -C | ||
| 18 | |||
| 19 | handshake.gv: handshake_table | ||
| 20 | ./handshake_table -g > $@.tmp | ||
| 21 | mv $@.tmp $@ | ||
| 22 | |||
| 23 | CLEANFILES += handshake.gv | ||
| 24 | |||
| 25 | .for _FMT in png ps svg | ||
| 26 | handshake.${_FMT}: handshake.gv | ||
| 27 | @if [ ! -x /usr/local/bin/dot ]; then \ | ||
| 28 | echo "pkg_add graphviz to generate png"; \ | ||
| 29 | false; \ | ||
| 30 | fi | ||
| 31 | dot -T${_FMT} handshake.gv -o $@ | ||
| 32 | |||
| 33 | CLEANFILES += handshake.${_FMT} | ||
| 34 | .endfor | ||
| 35 | |||
| 36 | .for p in ${PROGS} | ||
| 37 | run-$p: $p | ||
| 38 | ./$p | ||
| 39 | |||
| 40 | .PHONY: run-$p | ||
| 41 | .endfor | ||
| 42 | |||
| 43 | .PHONY: print | ||
| 44 | |||
| 45 | .include <bsd.regress.mk> | ||
