summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-01 23:49:11 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-01 23:49:11 +0000
commit937921676457b8ecc0838169fc9fca828c32e61b (patch)
tree91945275f6931de11b16518574e5a88c7e559cc3 /usr.sbin/bgpd
parent4e446d5117aca066229a6eea302910120954f524 (diff)
prepare for bgpdctl
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/Makefile18
-rw-r--r--usr.sbin/bgpd/bgpd/Makefile18
2 files changed, 21 insertions, 15 deletions
diff --git a/usr.sbin/bgpd/Makefile b/usr.sbin/bgpd/Makefile
index 420ab7c4879..7ca6e18768a 100644
--- a/usr.sbin/bgpd/Makefile
+++ b/usr.sbin/bgpd/Makefile
@@ -1,17 +1,5 @@
-# $OpenBSD: Makefile,v 1.8 2004/01/01 23:46:47 henning Exp $
+# $OpenBSD: Makefile,v 1.9 2004/01/01 23:49:10 henning Exp $
-.PATH: ${.CURDIR}/..
+SUBDIR= bgpd
-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>
+.include <bsd.subdir.mk>
diff --git a/usr.sbin/bgpd/bgpd/Makefile b/usr.sbin/bgpd/bgpd/Makefile
new file mode 100644
index 00000000000..b5feb2097e6
--- /dev/null
+++ b/usr.sbin/bgpd/bgpd/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1 2004/01/01 23:49:10 henning Exp $
+
+.PATH: ${.CURDIR}/..
+
+PROG= bgpd
+BINDIR= /usr/sbin
+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>