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 626bf4767a..0000000000 --- a/src/regress/lib/libssl/handshake/Makefile +++ /dev/null | |||
| @@ -1,45 +0,0 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.7 2019/11/06 10:28:58 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 -I${BSDSRCDIR}/lib/libssl | ||
| 14 | |||
| 15 | print: handshake_table | ||
| 16 | @./handshake_table -C | ||
| 17 | |||
| 18 | handshake.gv: handshake_table | ||
| 19 | ./handshake_table -g > $@.tmp | ||
| 20 | mv $@.tmp $@ | ||
| 21 | |||
| 22 | CLEANFILES += handshake.gv | ||
| 23 | |||
| 24 | .for _FMT in png ps svg | ||
| 25 | handshake.${_FMT}: handshake.gv | ||
| 26 | @if [ ! -x /usr/local/bin/dot ]; then \ | ||
| 27 | echo "pkg_add graphviz to generate png"; \ | ||
| 28 | false; \ | ||
| 29 | fi | ||
| 30 | dot -T${_FMT} handshake.gv -o $@ | ||
| 31 | |||
| 32 | CLEANFILES += handshake.${_FMT} | ||
| 33 | .endfor | ||
| 34 | |||
| 35 | .for p in ${PROGS} | ||
| 36 | run-$p: $p | ||
| 37 | @echo '\n======== $@ ========' | ||
| 38 | ./$p | ||
| 39 | |||
| 40 | .PHONY: run-$p | ||
| 41 | .endfor | ||
| 42 | |||
| 43 | .PHONY: print | ||
| 44 | |||
| 45 | .include <bsd.regress.mk> | ||
