From 0754ad9672a8765f576bdba8db1c9f1b9be901fa Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 3 Nov 2006 19:33:57 +0000 Subject: 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@ --- usr.sbin/acpiscan/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 usr.sbin/acpiscan/Makefile (limited to 'usr.sbin/acpiscan/Makefile') 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 -- cgit v1.2.3