summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/Makefile
blob: 61c73d5069e59d5d8eddde21207a7adcbebac285 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.37 2021/02/16 08:29:16 claudio Exp $

PROG=	bgpd
SRCS=	bgpd.c session.c log.c logmsg.c parse.y config.c \
	rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c kroute.c control.c \
	pfkey.c rde_update.c rde_attr.c rde_community.c printconf.c \
	rde_filter.c rde_sets.c rde_trie.c pftable.c name2id.c \
	util.c carp.c timer.c rde_peer.c rtr.c rtr_proto.c
CFLAGS+= -Wall -I${.CURDIR}
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+= -Wsign-compare
YFLAGS=
LDADD+=	-lutil
DPADD+= ${LIBUTIL}
MAN= bgpd.8 bgpd.conf.5

.include <bsd.prog.mk>