HAMMER Utilities: MFC all changes as of 20080924 - through 'hammer cleanup'.
[dragonfly.git] / sys / platform / pc32 / acpica5 / Makefile
blob5a4f5c61a8f02d573ac55e883578dce7fafdecf1
1 # $FreeBSD: src/sys/i386/acpica/Makefile,v 1.6 2004/04/13 13:43:11 des Exp $
2 # $DragonFly: src/sys/platform/pc32/acpica5/Makefile,v 1.2 2004/06/27 08:52:45 dillon Exp $
5 # Correct path for kernel builds
6 # Don't rely on the kernel's .depend file
7 .ifdef MAKESRCPATH
8 .PATH: ${MAKESRCPATH}
9 DEPENDFILE=
10 .else
11 MAKESRCPATH= ${.CURDIR}
12 CLEANFILES= acpi_wakecode.h acpi_wakecode.bin acpi_wakecode.o
13 .endif
14 CFLAGS+= -I. -I@
16 all: acpi_wakecode.h
18 acpi_wakecode.o: acpi_wakecode.S
20 acpi_wakecode.bin: acpi_wakecode.o
21 objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
23 acpi_wakecode.h: acpi_wakecode.bin acpi_wakecode.o
24 sh ${MAKESRCPATH}/genwakecode.sh > acpi_wakecode.h
26 .include <bsd.prog.mk>