2003-10-26 10:25:33 +03:00
|
|
|
# $NetBSD: Makefile.wakecode,v 1.3 2003/10/26 07:25:36 lukem 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
|