summaryrefslogtreecommitdiff
path: root/usr.sbin/switchctl/Makefile
blob: 892c4c19cb377e8b7a5b4d64986009a964beb003 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# $OpenBSD: Makefile,v 1.2 2016/07/19 18:14:08 reyk Exp $

.PATH:		${.CURDIR}/../switchd

PROG=		switchctl
MAN=		switchctl.8
SRCS=		log.c switchctl.c parser.c util.c

LDADD=		-lutil
DPADD=		${LIBUTIL}

CFLAGS+=	-Wall -I${.CURDIR} -I${.CURDIR}/../switchd
CFLAGS+=	-Wstrict-prototypes -Wmissing-prototypes
CFLAGS+=	-Wmissing-declarations
CFLAGS+=	-Wshadow -Wpointer-arith -Wcast-qual
CFLAGS+=	-Wsign-compare

.include <bsd.prog.mk>