diff options
| author | jsing <> | 2014-07-12 01:20:25 +0000 |
|---|---|---|
| committer | jsing <> | 2014-07-12 01:20:25 +0000 |
| commit | dc32848b41f89cf6960a4dadecbf3f57635f05e1 (patch) | |
| tree | cb217fd8fb935cea61fc26de366b7e407229df65 /src/lib/libressl/Makefile | |
| parent | 4838aacdcd7d3852a6e2a3418e895e5fd3a61363 (diff) | |
| download | openbsd-dc32848b41f89cf6960a4dadecbf3f57635f05e1.tar.gz openbsd-dc32848b41f89cf6960a4dadecbf3f57635f05e1.tar.bz2 openbsd-dc32848b41f89cf6960a4dadecbf3f57635f05e1.zip | |
Initial version of libressl - a library that provides a clean, simple,
consistent and secure-by-default API for SSL clients (and soon servers).
This is a long way from complete and the interface will likely change
substantially - committing now so that further work can happen in the tree.
Initiated by tedu@ and inspired by discussions with tedu@, beck@ and
other developers.
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> | ||
