summaryrefslogtreecommitdiff
path: root/sbin/slaacd/Makefile
diff options
context:
space:
mode:
authorFlorian Obser <florian@cvs.openbsd.org>2017-06-03 10:00:30 +0000
committerFlorian Obser <florian@cvs.openbsd.org>2017-06-03 10:00:30 +0000
commitf5d3e9ec6a694be409202febd15b21d110c9ccd2 (patch)
tree6da146b33744ff127b42eec00f54d21a3352e87f /sbin/slaacd/Makefile
parentd2e739346f9e461b7a5afbecfc9a5fb2644db1ab (diff)
Move slaacd to /sbin
jca points out that all the other interface configuration tools live there (like ifconfig or dhclient). Furthermore it starts so early in the boot process that /usr might not be mounted yet if it's a nfs filesystem. sthen and deraadt agree
Diffstat (limited to 'sbin/slaacd/Makefile')
-rw-r--r--sbin/slaacd/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/sbin/slaacd/Makefile b/sbin/slaacd/Makefile
new file mode 100644
index 00000000000..989f432c621
--- /dev/null
+++ b/sbin/slaacd/Makefile
@@ -0,0 +1,21 @@
+# $OpenBSD: Makefile,v 1.1 2017/06/03 10:00:29 florian Exp $
+
+PROG= slaacd
+SRCS= control.c engine.c frontend.c log.c slaacd.c
+
+MAN= slaacd.8
+
+#DEBUG= -g -DDEBUG=3 -O0
+
+CFLAGS+= -DSKIP_PROPOSAL
+
+CFLAGS+= -Wall -I${.CURDIR}
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
+YFLAGS=
+LDADD+= -levent -lutil
+DPADD+= ${LIBEVENT} ${LIBUTIL}
+
+.include <bsd.prog.mk>