summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/free/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/regress/lib/libcrypto/free/Makefile')
-rw-r--r--src/regress/lib/libcrypto/free/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/free/Makefile b/src/regress/lib/libcrypto/free/Makefile
index cde5cb6702..dabc06262e 100644
--- a/src/regress/lib/libcrypto/free/Makefile
+++ b/src/regress/lib/libcrypto/free/Makefile
@@ -1,4 +1,4 @@
1# $OpenBSD: Makefile,v 1.1 2017/05/02 04:03:06 beck Exp $ 1# $OpenBSD: Makefile,v 1.2 2018/07/10 20:53:30 tb Exp $
2 2
3TESTS = \ 3TESTS = \
4 freenull 4 freenull
@@ -10,7 +10,14 @@ DPADD= ${LIBCRYPTO} ${LIBSSL}
10LDFLAGS+= -lcrypto 10LDFLAGS+= -lcrypto
11CFLAGS+= -DLIBRESSL_INTERNAL 11CFLAGS+= -DLIBRESSL_INTERNAL
12 12
13CLEANFILES+= ${TESTS} 13CLEANFILES+= ${TESTS} ${TESTS}.d freenull.c freenull.c.body freenull.c.tmp
14
15freenull.c: freenull.awk ../../../../lib/libcrypto/Symbols.list
16 awk -f ${.CURDIR}/freenull.awk \
17 < ${BSDSRCDIR}/lib/libcrypto/Symbols.list > freenull.c.body
18 cat ${.CURDIR}/freenull.c.head freenull.c.body \
19 ${.CURDIR}/freenull.c.tail > freenull.c.tmp
20 mv freenull.c.tmp freenull.c
14 21
15all_tests: ${TESTS} 22all_tests: ${TESTS}
16 @for test in $>; do \ 23 @for test in $>; do \