blob: 06032dc2f6294eaf0fc6e6addaac1f4b5b25bc7b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# $OpenBSD: Makefile,v 1.18 2022/10/17 12:01:19 claudio Exp $
.PATH: ${.CURDIR}/../bgpd
PROG= bgpctl
SRCS= bgpctl.c output.c output_json.c output_ometric.c parser.c \
mrtparser.c util.c json.c ometric.c
CFLAGS+= -Wall
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../bgpd
MAN= bgpctl.8
LDADD= -lutil -lm
DPADD+= ${LIBUTIL} ${LIBM}
.include <bsd.prog.mk>
|