diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/Makefile | 12 | ||||
-rw-r--r-- | src/lib/libssl/Makefile | 12 | ||||
-rw-r--r-- | src/lib/libtls/Makefile | 12 |
3 files changed, 3 insertions, 33 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 8970ca3918..9207b93f32 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.41 2020/06/05 15:28:33 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.42 2020/06/09 16:53:52 deraadt Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
@@ -408,16 +408,6 @@ HDRS_GEN=\ | |||
408 | 408 | ||
409 | prereq: obj_mac.h | 409 | prereq: obj_mac.h |
410 | 410 | ||
411 | check_includes: prereq | ||
412 | @cd ${.CURDIR}; for i in $(HDRS) $(HDRS_GEN); do \ | ||
413 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | ||
414 | (echo \"`basename $$i` differs from installed version; \" \ | ||
415 | \"did you forget 'make includes'?\" && false)"; \ | ||
416 | eval "$$j"; \ | ||
417 | done; | ||
418 | |||
419 | all: check_includes | ||
420 | |||
421 | includes: prereq | 411 | includes: prereq |
422 | @test -d ${DESTDIR}/usr/include/openssl || \ | 412 | @test -d ${DESTDIR}/usr/include/openssl || \ |
423 | mkdir ${DESTDIR}/usr/include/openssl | 413 | mkdir ${DESTDIR}/usr/include/openssl |
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index d88e1e9a73..c162e84b77 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.65 2020/05/10 14:22:51 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.66 2020/06/09 16:53:53 deraadt Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | .ifndef NOMAN | 4 | .ifndef NOMAN |
@@ -86,16 +86,6 @@ HDRS= dtls1.h srtp.h ssl.h ssl2.h ssl23.h ssl3.h tls1.h | |||
86 | 86 | ||
87 | .PATH: ${.CURDIR} | 87 | .PATH: ${.CURDIR} |
88 | 88 | ||
89 | check_includes: | ||
90 | @cd ${.CURDIR}; for i in $(HDRS); do \ | ||
91 | j="cmp -s $$i ${DESTDIR}/usr/include/openssl/`basename $$i` || \ | ||
92 | (echo \"`basename $$i` differs from installed version; \" \ | ||
93 | \"did you forget 'make includes'?\" && false)"; \ | ||
94 | eval "$$j"; \ | ||
95 | done; | ||
96 | |||
97 | all: check_includes | ||
98 | |||
99 | includes: | 89 | includes: |
100 | @test -d ${DESTDIR}/usr/include/openssl || \ | 90 | @test -d ${DESTDIR}/usr/include/openssl || \ |
101 | mkdir ${DESTDIR}/usr/include/openssl | 91 | mkdir ${DESTDIR}/usr/include/openssl |
diff --git a/src/lib/libtls/Makefile b/src/lib/libtls/Makefile index 65b9f168d0..23a6ed1f2a 100644 --- a/src/lib/libtls/Makefile +++ b/src/lib/libtls/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.35 2020/01/22 08:00:46 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.36 2020/06/09 16:53:53 deraadt Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | .ifndef NOMAN | 4 | .ifndef NOMAN |
@@ -39,16 +39,6 @@ SRCS= tls.c \ | |||
39 | tls_ocsp.c \ | 39 | tls_ocsp.c \ |
40 | tls_verify.c | 40 | tls_verify.c |
41 | 41 | ||
42 | check_includes: | ||
43 | @cd ${.CURDIR}; for i in $(HDRS); do \ | ||
44 | j="cmp -s $$i ${DESTDIR}/usr/include/`basename $$i` || \ | ||
45 | (echo \"`basename $$i` differs from installed version; \" \ | ||
46 | \"did you forget 'make includes'?\" && false)"; \ | ||
47 | eval "$$j"; \ | ||
48 | done; | ||
49 | |||
50 | all: check_includes | ||
51 | |||
52 | includes: | 42 | includes: |
53 | @cd ${.CURDIR}; for i in $(HDRS); do \ | 43 | @cd ${.CURDIR}; for i in $(HDRS); do \ |
54 | j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ | 44 | j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ |