summaryrefslogtreecommitdiff
path: root/usr.sbin/gpioctl/Makefile
blob: 2f260c9d7750fc2e89c54eb1e5ea76fb18493b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $OpenBSD: Makefile,v 1.1 2004/06/03 19:13:24 grange Exp $

.if ${MACHINE} == "i386"

PROG=	gpioctl
SRCS=	gpioctl.c

CFLAGS+=-Wall
CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
CLFAGS+=-Wmissing-declarations -Wredundant-decls
CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual

.else

NOPROG=	yes

.endif

MAN=	gpioctl.8
MANSUBDIR=i386

.include <bsd.prog.mk>