summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/Makefile
blob: fa76ce12d6b2e64c0d279dce460e8cf99a8c2f71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile,v 1.35 2019/06/17 11:02:19 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
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>