summaryrefslogtreecommitdiff
path: root/usr.sbin/acpiscan/Makefile
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-11-03 19:33:57 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-11-03 19:33:57 +0000
commit0754ad9672a8765f576bdba8db1c9f1b9be901fa (patch)
treea3668849c162d19c0ca6d1e4c09303a0206df43d /usr.sbin/acpiscan/Makefile
parent05ae39297525fdf87aa8234c6f43d2e5a016f565 (diff)
Add Jordan's acpiscan acpi table dump tool. The current tool, acpidump,
does not dump all relevant tables and will eventually be deprecated by this. It needs some more cleanup but we need to start getting acpi dumps from the field using this instead of acpidump. Code written by jordan, cleanup by me. ok jordan@
Diffstat (limited to 'usr.sbin/acpiscan/Makefile')
-rw-r--r--usr.sbin/acpiscan/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/usr.sbin/acpiscan/Makefile b/usr.sbin/acpiscan/Makefile
new file mode 100644
index 00000000000..2569b8f5a4e
--- /dev/null
+++ b/usr.sbin/acpiscan/Makefile
@@ -0,0 +1,17 @@
+# $OpenBSD: Makefile,v 1.1 2006/11/03 19:33:56 marco Exp $
+
+.if (${MACHINE} == "i386") || (${MACHINE} == "amd64")
+PROG= acpiscan
+SRCS= acpiscan.c oslib.c
+.else
+NOPROG= yes
+.endif
+
+MAN= acpiscan.8
+
+CFLAGS+=-I${.CURDIR}
+LDADD=-l${MACHINE}
+
+BINDIR?=/usr/sbin
+
+.include <bsd.prog.mk>