summaryrefslogtreecommitdiff
path: root/usr.sbin/switchd/Makefile
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2016-07-19 18:14:09 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2016-07-19 18:14:09 +0000
commite2b0bb4f517052d505fc0a3fa8727fc1223df397 (patch)
treeb1e9847732677b692afad482248e7956cfa0aca9 /usr.sbin/switchd/Makefile
parent164a0a86145b81cbec328d5e41e53ca68f70d30d (diff)
The -DNAME=switch flag is an artifact from the PoC when I couldn't
decide on a name. Remove it and fix the name to switchd now.
Diffstat (limited to 'usr.sbin/switchd/Makefile')
-rw-r--r--usr.sbin/switchd/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/usr.sbin/switchd/Makefile b/usr.sbin/switchd/Makefile
index 2f546532cbb..3bcbb546b0b 100644
--- a/usr.sbin/switchd/Makefile
+++ b/usr.sbin/switchd/Makefile
@@ -1,9 +1,7 @@
-# $OpenBSD: Makefile,v 1.1 2016/07/19 16:54:26 reyk Exp $
+# $OpenBSD: Makefile,v 1.2 2016/07/19 18:14:08 reyk Exp $
-NAME= switch
-
-PROG= ${NAME}d
-MAN= ${NAME}d.8 ${NAME}d.conf.5
+PROG= switchd
+MAN= switchd.8 switchd.conf.5
SRCS= imsg_util.c log.c packet.c switch.c timer.c util.c
SRCS+= switchd.c ofp.c ofp10.c ofp13.c control.c proc.c
@@ -13,8 +11,7 @@ SRCS+= parse.y ofcconn.c
LDADD= -levent -lutil
DPADD= ${LIBEVENT} ${LIBUTIL}
-CFLAGS+= -DSWITCHD_NAME=\"${NAME}\"
-CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../${NAME}d
+CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../switchd
CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
CFLAGS+= -Wmissing-declarations
CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual