Add missing section number.
[dragonfly.git] / sys / conf / acpi.mk
blob3e5e67c9d5a520a4fda84877b53a9053f5dcfa95
1 # $DragonFly: src/sys/conf/acpi.mk,v 1.6 2007/01/19 07:23:42 dillon Exp $
4 ACPICA_VERSION= 20061109
5 ACPICA_DIR?= contrib/dev/acpica-unix-${ACPICA_VERSION}
6 OSACPI_MI_DIR?= dev/acpica5
7 OSACPI_MD_DIR?= platform/${MACHINE_PLATFORM}/acpica5
9 .if !defined(SYSDIR) && defined(S)
10 SYSDIR= $S
11 .endif
13 ACPICA_KERN_PATHS = \
14 ${SYSDIR}/${ACPICA_DIR}/interpreter/dispatcher \
15 ${SYSDIR}/${ACPICA_DIR}/interpreter/executer \
16 ${SYSDIR}/${ACPICA_DIR}/interpreter/parser \
17 ${SYSDIR}/${ACPICA_DIR}/events \
18 ${SYSDIR}/${ACPICA_DIR}/hardware \
19 ${SYSDIR}/${ACPICA_DIR}/namespace \
20 ${SYSDIR}/${ACPICA_DIR}/resources \
21 ${SYSDIR}/${ACPICA_DIR}/tables \
22 ${SYSDIR}/${ACPICA_DIR}/utilities \
23 ${SYSDIR}/${ACPICA_DIR}/debugger \
24 ${SYSDIR}/${ACPICA_DIR}/disassembler
26 ACPICA_UTIL_PATHS = \
27 ${ACPICA_KERN_PATHS} \
28 ${SYSDIR}/${ACPICA_DIR} \
29 ${SYSDIR}/${ACPICA_DIR}/compiler \
30 ${SYSDIR}/${ACPICA_DIR}/common
32 ${.OBJDIR}/acpi.h: ${SYSDIR}/${ACPICA_DIR}/include/acpi.h
33 cp ${.ALLSRC} ${.TARGET}
35 ${.OBJDIR}/platform/acenv.h: ${SYSDIR}/${ACPICA_DIR}/include/platform/acenv.h
36 mkdir -p ${.OBJDIR}/platform
37 sed -e 's/__FreeBSD__/__DragonFly__/' \
38 -e 's/acfreebsd.h/acdragonfly.h/' ${.ALLSRC} > ${.TARGET}.new
39 mv -f ${.TARGET}.new ${.TARGET}