xref: /openbsd/usr.sbin/gpioctl/Makefile (revision 898184e3)
1# $OpenBSD: Makefile,v 1.6 2010/07/20 02:06:39 deraadt Exp $
2
3.if ${MACHINE} == "i386" || ${MACHINE} == "macppc" || ${MACHINE} == "amd64"
4
5PROG=	gpioctl
6SRCS=	gpioctl.c
7
8CFLAGS+=-Wall
9CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
10CFLAGS+=-Wmissing-declarations
11CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
12
13.else
14
15NOPROG=	yes
16
17.endif
18
19MAN=	gpioctl.8
20MANSUBDIR=i386 macppc amd64
21
22.include <bsd.prog.mk>
23