Add -O option: Ignore non-files when recursing.
[dragonfly.git] / sys / conf / acpi.mk
blob7bf1d88a321632f90149b026046f024beb7f1a62
1 # $DragonFly: src/sys/conf/acpi.mk,v 1.1 2005/08/16 10:31:35 y0netan1 Exp $
4 ACPICA_VERSION= 20050309
5 ACPICA_DIR?= contrib/dev/acpica-unix-${ACPICA_VERSION}
6 OSACPI_MI_DIR?= dev/acpica5
7 OSACPI_MD_DIR?= ${MACHINE_ARCH}/acpica5
9 .if !defined(SYSDIR) && defined(S)
10 SYSDIR= $S
11 .endif
13 .PATH: ${SYSDIR}/${ACPICA_DIR}/interpreter/dispatcher \
14 ${SYSDIR}/${ACPICA_DIR}/interpreter/executer \
15 ${SYSDIR}/${ACPICA_DIR}/interpreter/parser \
16 ${SYSDIR}/${ACPICA_DIR}/events \
17 ${SYSDIR}/${ACPICA_DIR}/hardware \
18 ${SYSDIR}/${ACPICA_DIR}/namespace \
19 ${SYSDIR}/${ACPICA_DIR}/resources \
20 ${SYSDIR}/${ACPICA_DIR}/tables \
21 ${SYSDIR}/${ACPICA_DIR}/utilities \
22 ${SYSDIR}/${ACPICA_DIR}/debugger \
23 ${SYSDIR}/${ACPICA_DIR}/disassembler \
24 ${SYSDIR}/${ACPICA_DIR}/INTERPRETER/DISPATCHER \
25 ${SYSDIR}/${ACPICA_DIR}/INTERPRETER/EXECUTER \
26 ${SYSDIR}/${ACPICA_DIR}/INTERPRETER/PARSER \
27 ${SYSDIR}/${ACPICA_DIR}/EVENTS \
28 ${SYSDIR}/${ACPICA_DIR}/HARDWARE \
29 ${SYSDIR}/${ACPICA_DIR}/NAMESPACE \
30 ${SYSDIR}/${ACPICA_DIR}/RESOURCES \
31 ${SYSDIR}/${ACPICA_DIR}/TABLES \
32 ${SYSDIR}/${ACPICA_DIR}/UTILITIES
34 ${.OBJDIR}/acpi.h: ${SYSDIR}/${ACPICA_DIR}/include/acpi.h
35 cp ${.ALLSRC} ${.TARGET}
37 ${.OBJDIR}/platform/acenv.h: ${SYSDIR}/${ACPICA_DIR}/include/platform/acenv.h
38 mkdir -p ${.OBJDIR}/platform
39 sed -e 's/__FreeBSD__/__DragonFly__/' \
40 -e 's/acfreebsd.h/acdragonfly.h/' ${.ALLSRC} > ${.TARGET}.new
41 mv -f ${.TARGET}.new ${.TARGET}