3 # Correct path for kernel builds
4 # Don't rely on the kernel's .depend file
9 MAKESRCPATH= ${.CURDIR}
10 CLEANFILES= acpi_wakecode.h acpi_wakecode.bin acpi_wakecode.o
18 CFLAGS+= ${NOSTDINC} -I. -I${MAKESRCPATH}/../..
22 acpi_wakecode.o: acpi_wakecode.S assym.s
24 acpi_wakecode.bin: acpi_wakecode.o
25 objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
27 acpi_wakecode.h: acpi_wakecode.bin acpi_wakecode.o
28 sh ${MAKESRCPATH}/genwakecode.sh > acpi_wakecode.h
30 .include <bsd.prog.mk>