summaryrefslogtreecommitdiff
path: root/usr.sbin/ocspcheck/Makefile
blob: e055c779abd24b76ee6901174d80305289ebe624 (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
#	$OpenBSD: Makefile,v 1.3 2017/05/07 04:18:47 jsg Exp $

.include <bsd.own.mk>

PROG=	ocspcheck
MAN=	ocspcheck.8

LDADD=	-ltls -lssl -lcrypto
DPADD=	${LIBTLS} ${LIBSSL} ${LIBCRYPTO}

CFLAGS+= -Wall
CFLAGS+= -Wformat
CFLAGS+= -Wformat-security
CFLAGS+= -Wimplicit
CFLAGS+= -Wreturn-type
CFLAGS+= -Wshadow
CFLAGS+= -Wtrigraphs
CFLAGS+= -Wuninitialized
CFLAGS+= -Wunused
 .if ${COMPILER_VERSION:L} == "gcc4"
CFLAGS+= -Werror
.endif
CFLAGS+= -DLIBRESSL_INTERNAL

SRCS=	ocspcheck.c http.c

.include <bsd.prog.mk>