summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-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>