summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-02 00:04:08 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-01-02 00:04:08 +0000
commit2cdac8a3eea6d944bc1558aa7a1337de8a1238e1 (patch)
tree9f63d3871912be6b0c3add140851eefb5b0d30da /usr.sbin/bgpd
parentc60acb21fac96de65626151f607ea85c464d445a (diff)
compile like it used to
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/Makefile b/usr.sbin/bgpd/Makefile
index 6925ad87ee6..43b5a56ee95 100644
--- a/usr.sbin/bgpd/Makefile
+++ b/usr.sbin/bgpd/Makefile
@@ -1,5 +1,17 @@
-# $OpenBSD: Makefile,v 1.10 2004/01/01 23:53:43 henning Exp $
+# $OpenBSD: Makefile,v 1.11 2004/01/02 00:04:07 deraadt Exp $
-SUBDIR= bgpd bgpdctl
+.PATH: ${.CURDIR}/..
-.include <bsd.subdir.mk>
+PROG= bgpd
+SRCS= bgpd.c buffer.c session.c log.c parse.y config.c imsg.c \
+ rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c kroute.c \
+ control.c
+CFLAGS+= -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CLFAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+YFLAGS=
+MAN= bgpd.8 bgpd.conf.5
+
+.include <bsd.prog.mk>