Fix to make jumbo frames work properly.
[dragonfly.git] / sys / i386 / acpica / Makefile
1 # $FreeBSD: src/sys/i386/acpica/Makefile,v 1.3.6.1 2003/08/22 20:49:21 jhb Exp $
2 # $DragonFly: src/sys/i386/acpica/Attic/Makefile,v 1.1 2003/09/24 03:32:16 drhodus Exp $ 
3
4 # Correct path for kernel builds
5 # Don't rely on the kernel's .depend file
6 .ifdef MAKESRCPATH
7 .PATH: ${MAKESRCPATH}
8 DEPENDFILE=
9 .else
10 MAKESRCPATH= ${.CURDIR}
11 CLEANFILES= acpi_wakecode.h acpi_wakecode.bin acpi_wakecode.o
12 .endif
13 CFLAGS+=        -I.
14
15 all: acpi_wakecode.h
16
17 acpi_wakecode.o: acpi_wakecode.S
18
19 acpi_wakecode.bin: acpi_wakecode.o
20         objcopy -S -O binary acpi_wakecode.o acpi_wakecode.bin
21
22 acpi_wakecode.h: acpi_wakecode.bin acpi_wakecode.o
23         sh ${MAKESRCPATH}/genwakecode.sh > acpi_wakecode.h
24
25 .include <bsd.prog.mk>
26