diff options
Diffstat (limited to 'src/lib/libressl/Makefile')
| -rw-r--r-- | src/lib/libressl/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/lib/libressl/Makefile b/src/lib/libressl/Makefile new file mode 100644 index 0000000000..c6f4328b79 --- /dev/null +++ b/src/lib/libressl/Makefile | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2014/07/12 01:20:24 jsing Exp $ | ||
| 2 | |||
| 3 | CFLAGS+= -Wall -Werror -Wimplicit | ||
| 4 | CFLAGS+= -DLIBRESSL_INTERNAL | ||
| 5 | |||
| 6 | LIB= ressl | ||
| 7 | |||
| 8 | DPADD= ${LIBCRYPTO} ${LIBSSL} | ||
| 9 | |||
| 10 | HDRS= ressl.h ressl_config.h | ||
| 11 | |||
| 12 | SRCS= ressl.c \ | ||
| 13 | ressl_config.c \ | ||
| 14 | ressl_util.c \ | ||
| 15 | ressl_verify.c | ||
| 16 | |||
| 17 | includes: | ||
| 18 | @test -d ${DESTDIR}/usr/include/ressl || \ | ||
| 19 | mkdir ${DESTDIR}/usr/include/ressl | ||
| 20 | @cd ${.CURDIR}; for i in $(HDRS); do \ | ||
| 21 | j="cmp -s $$i ${DESTDIR}/usr/include/ressl/$$i || \ | ||
| 22 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ | ||
| 23 | ${DESTDIR}/usr/include/ressl"; \ | ||
| 24 | echo $$j; \ | ||
| 25 | eval "$$j"; \ | ||
| 26 | done; | ||
| 27 | |||
| 28 | .include <bsd.lib.mk> | ||
