2005-12-11 15:16:03 +03:00
|
|
|
# $NetBSD: Makefile.wakecode,v 1.4 2005/12/11 12:17:40 christos Exp $
|
2002-06-18 11:25:12 +04:00
|
|
|
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp
|
|
|
|
|
2003-10-26 10:25:33 +03:00
|
|
|
.include <bsd.sys.mk> # for HOST_SH
|
|
|
|
|
2002-06-18 11:25:12 +04:00
|
|
|
all: acpi_wakecode.h
|
|
|
|
|
2002-06-18 21:21:53 +04:00
|
|
|
acpi_wakecode.h: acpi_wakecode.S genwakecode.sh
|
|
|
|
${CC} -c acpi_wakecode.S
|
2002-06-18 11:25:12 +04:00
|
|
|
objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
|
2003-10-26 10:25:33 +03:00
|
|
|
${HOST_SH} ${.CURDIR}/genwakecode.sh > acpi_wakecode.h
|
2002-06-18 21:21:53 +04:00
|
|
|
rm -f acpi_wakecode.bin acpi_wakecode.o
|