diff options
| author | jsing <> | 2014-10-31 13:46:17 +0000 |
|---|---|---|
| committer | jsing <> | 2014-10-31 13:46:17 +0000 |
| commit | 0832c4987f7c76663376596ce39d96366e9f82e5 (patch) | |
| tree | 44ea21a19ccf529a3e38fb107d3a2d1330f58d8e /src/lib/libtls/Makefile | |
| parent | f4146f5020f1e374a7621ab738fe3840240703f4 (diff) | |
| download | openbsd-0832c4987f7c76663376596ce39d96366e9f82e5.tar.gz openbsd-0832c4987f7c76663376596ce39d96366e9f82e5.tar.bz2 openbsd-0832c4987f7c76663376596ce39d96366e9f82e5.zip | |
Rename libressl to libtls to avoid confusion and to make it easier to
distinguish between LibreSSL (the project) and libressl (the library).
Discussed with many.
Diffstat (limited to 'src/lib/libtls/Makefile')
| -rw-r--r-- | src/lib/libtls/Makefile | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/src/lib/libtls/Makefile b/src/lib/libtls/Makefile new file mode 100644 index 0000000000..b83a6de2ce --- /dev/null +++ b/src/lib/libtls/Makefile | |||
| @@ -0,0 +1,58 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.1 2014/10/31 13:46:17 jsing Exp $ | ||
| 2 | |||
| 3 | CFLAGS+= -Wall -Werror -Wimplicit | ||
| 4 | CFLAGS+= -DLIBRESSL_INTERNAL | ||
| 5 | |||
| 6 | LIB= tls | ||
| 7 | |||
| 8 | DPADD= ${LIBCRYPTO} ${LIBSSL} | ||
| 9 | |||
| 10 | HDRS= tls.h | ||
| 11 | |||
| 12 | SRCS= tls.c \ | ||
| 13 | tls_client.c \ | ||
| 14 | tls_config.c \ | ||
| 15 | tls_server.c \ | ||
| 16 | tls_util.c \ | ||
| 17 | tls_verify.c | ||
| 18 | |||
| 19 | MAN= tls_init.3 | ||
| 20 | |||
| 21 | MLINKS+=tls_init.3 tls_config_new.3 | ||
| 22 | MLINKS+=tls_init.3 tls_config_free.3 | ||
| 23 | MLINKS+=tls_init.3 tls_config_set_ca_file.3 | ||
| 24 | MLINKS+=tls_init.3 tls_config_set_ca_path.3 | ||
| 25 | MLINKS+=tls_init.3 tls_config_set_cert_file.3 | ||
| 26 | MLINKS+=tls_init.3 tls_config_set_cert_mem.3 | ||
| 27 | MLINKS+=tls_init.3 tls_config_set_ciphers.3 | ||
| 28 | MLINKS+=tls_init.3 tls_config_set_ecdhcurve.3 | ||
| 29 | MLINKS+=tls_init.3 tls_config_set_key_file.3 | ||
| 30 | MLINKS+=tls_init.3 tls_config_set_key_mem.3 | ||
| 31 | MLINKS+=tls_init.3 tls_config_set_protocols.3 | ||
| 32 | MLINKS+=tls_init.3 tls_config_set_verify_depth.3 | ||
| 33 | MLINKS+=tls_init.3 tls_config_clear_keys.3 | ||
| 34 | MLINKS+=tls_init.3 tls_config_insecure_noverifyhost.3 | ||
| 35 | MLINKS+=tls_init.3 tls_config_insecure_noverifycert.3 | ||
| 36 | MLINKS+=tls_init.3 tls_config_verify.3 | ||
| 37 | MLINKS+=tls_init.3 tls_client.3 | ||
| 38 | MLINKS+=tls_init.3 tls_server.3 | ||
| 39 | MLINKS+=tls_init.3 tls_configure.3 | ||
| 40 | MLINKS+=tls_init.3 tls_error.3 | ||
| 41 | MLINKS+=tls_init.3 tls_reset.3 | ||
| 42 | MLINKS+=tls_init.3 tls_free.3 | ||
| 43 | MLINKS+=tls_init.3 tls_close.3 | ||
| 44 | MLINKS+=tls_init.3 tls_connect.3 | ||
| 45 | MLINKS+=tls_init.3 tls_connect_socket.3 | ||
| 46 | MLINKS+=tls_init.3 tls_read.3 | ||
| 47 | MLINKS+=tls_init.3 tls_write.3 | ||
| 48 | |||
| 49 | includes: | ||
| 50 | @cd ${.CURDIR}; for i in $(HDRS); do \ | ||
| 51 | j="cmp -s $$i ${DESTDIR}/usr/include/$$i || \ | ||
| 52 | ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\ | ||
| 53 | ${DESTDIR}/usr/include/"; \ | ||
| 54 | echo $$j; \ | ||
| 55 | eval "$$j"; \ | ||
| 56 | done; | ||
| 57 | |||
| 58 | .include <bsd.lib.mk> | ||
