blob: c6f4328b797a494652bfb5e8c6256ce81722eccd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $OpenBSD: Makefile,v 1.1 2014/07/12 01:20:24 jsing Exp $
CFLAGS+= -Wall -Werror -Wimplicit
CFLAGS+= -DLIBRESSL_INTERNAL
LIB= ressl
DPADD= ${LIBCRYPTO} ${LIBSSL}
HDRS= ressl.h ressl_config.h
SRCS= ressl.c \
ressl_config.c \
ressl_util.c \
ressl_verify.c
includes:
@test -d ${DESTDIR}/usr/include/ressl || \
mkdir ${DESTDIR}/usr/include/ressl
@cd ${.CURDIR}; for i in $(HDRS); do \
j="cmp -s $$i ${DESTDIR}/usr/include/ressl/$$i || \
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 $$i\
${DESTDIR}/usr/include/ressl"; \
echo $$j; \
eval "$$j"; \
done;
.include <bsd.lib.mk>
|