f85d2d1c14
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.
13 lines
431 B
Makefile
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
|