Bring in YONETANI Tomokazu's acpi-update-2.patch (27-May-2004), a major
[dragonfly.git] / sys / platform / pc32 / acpica5 / Makefile
CommitLineData
f9d8cd12
MD
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 $
5ed44076
MD
3#
4
5# Correct path for kernel builds
6# Don't rely on the kernel's .depend file
7.ifdef MAKESRCPATH
8.PATH: ${MAKESRCPATH}
9DEPENDFILE=
10.else
11MAKESRCPATH= ${.CURDIR}
12CLEANFILES= acpi_wakecode.h acpi_wakecode.bin acpi_wakecode.o
13.endif
f9d8cd12 14CFLAGS+= -I. -I@
5ed44076
MD
15
16all: acpi_wakecode.h
17
18acpi_wakecode.o: acpi_wakecode.S
19
20acpi_wakecode.bin: acpi_wakecode.o
21 objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
22
23acpi_wakecode.h: acpi_wakecode.bin acpi_wakecode.o
24 sh ${MAKESRCPATH}/genwakecode.sh > acpi_wakecode.h
25
26.include <bsd.prog.mk>
27