diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-07-19 18:14:09 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2016-07-19 18:14:09 +0000 |
commit | e2b0bb4f517052d505fc0a3fa8727fc1223df397 (patch) | |
tree | b1e9847732677b692afad482248e7956cfa0aca9 /usr.sbin/switchctl/Makefile | |
parent | 164a0a86145b81cbec328d5e41e53ca68f70d30d (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/switchctl/Makefile')
-rw-r--r-- | usr.sbin/switchctl/Makefile | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/usr.sbin/switchctl/Makefile b/usr.sbin/switchctl/Makefile index e894ddd044f..892c4c19cb3 100644 --- a/usr.sbin/switchctl/Makefile +++ b/usr.sbin/switchctl/Makefile @@ -1,18 +1,15 @@ -# $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 +.PATH: ${.CURDIR}/../switchd -.PATH: ${.CURDIR}/../${NAME}d - -PROG= ${NAME}ctl -MAN= ${NAME}ctl.8 -SRCS= log.c ${NAME}ctl.c parser.c util.c +PROG= switchctl +MAN= switchctl.8 +SRCS= log.c switchctl.c parser.c util.c LDADD= -lutil DPADD= ${LIBUTIL} -CFLAGS+= -DOFD_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 |