summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/Makefile
blob: e4fe98bf6b80b1df17aafc5dbf7cda5dc6686244 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#	$OpenBSD: Makefile,v 1.21 2021/04/01 16:04:48 claudio Exp $

PROG=	rpki-client
SRCS=	as.c cert.c cms.c crl.c encoding.c gbr.c http.c io.c ip.c log.c \
	main.c mft.c mkdir.c output.c output-bgpd.c output-bird.c \
	output-csv.c output-json.c parser.c repo.c roa.c rrdp.c rrdp_delta.c \
	rrdp_notification.c rrdp_snapshot.c rsync.c tal.c validate.c \
	x509.c
MAN=	rpki-client.8

LDADD+= -lexpat -ltls -lssl -lcrypto -lutil
DPADD+= ${LIBEXPAT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}

CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith
#CFLAGS+= -Wcast-qual
CFLAGS+= -Wsign-compare

.include <bsd.prog.mk>