summaryrefslogtreecommitdiff
path: root/usr.sbin/gpioctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/gpioctl/Makefile')
-rw-r--r--usr.sbin/gpioctl/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.sbin/gpioctl/Makefile b/usr.sbin/gpioctl/Makefile
new file mode 100644
index 00000000000..2f260c9d775
--- /dev/null
+++ b/usr.sbin/gpioctl/Makefile
@@ -0,0 +1,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>