# $NetBSD: Makefile.wakecode.inc,v 1.9 2014/01/15 22:25:23 joerg Exp $ # FreeBSD: src/sys/i386/acpica/Makefile,v 1.3 2002/05/01 21:54:07 peter Exp ACPI_WAKECODE_S= ${S}/arch/${MACHINE}/acpi/acpi_wakecode.S ACPI_GENWAKECODE= ${S}/arch/x86/acpi/genwakecode.sh ACPI_GENCMD= AWK=${TOOL_AWK:Q} \ HEXDUMP=${TOOL_HEXDUMP:Q} \ SED=${TOOL_SED:Q} \ ${HOST_SH} AFLAGS.acpi_wakecode.S= -I${.CURDIR} acpi_wakecode.h: ${ACPI_WAKECODE_S} ${ACPI_GENWAKECODE} ${_MKTARGET_CREATE} ${CC} ${AFLAGS.acpi_wakecode.S} -c ${ACPI_WAKECODE_S} ${LD} -M -Map acpi_wakecode.bin.map -z defs -nostdlib \ --oformat binary -e wakeup_16 -Ttext 0 \ -o acpi_wakecode.bin acpi_wakecode.o ${ACPI_GENCMD} ${ACPI_GENWAKECODE} > acpi_wakecode.h rm -f acpi_wakecode.bin acpi_wakecode.o acpi_wakecode.bin.map acpi_wakeup.o acpi_wakeup.d: acpi_wakecode.h |