NetBSD/sys/arch/i386/acpi/Makefile.wakecode
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00

13 lines
431 B
Makefile

# $NetBSD: Makefile.wakecode,v 1.3 2003/10/26 07:25:36 lukem Exp $
# FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp
.include <bsd.sys.mk> # for HOST_SH
all: acpi_wakecode.h
acpi_wakecode.h: acpi_wakecode.S genwakecode.sh
${CC} -c acpi_wakecode.S
objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
${HOST_SH} ${.CURDIR}/genwakecode.sh > acpi_wakecode.h
rm -f acpi_wakecode.bin acpi_wakecode.o