1 # $Id: Makefile.inc,v 1.1 2000/07/14 18:16:22 iwasaki Exp $
2 # $FreeBSD: src/usr.sbin/acpi/Makefile.inc,v 1.8 2003/08/07 16:51:50 njl Exp $
3 # $DragonFly: src/usr.sbin/acpi/Makefile.inc,v 1.4 2006/06/14 15:50:09 y0netan1 Exp $
5 SYSDIR?= ${.CURDIR}/../../../sys
6 .include "${SYSDIR}/conf/acpi.mk"
11 CFLAGS+= -I${.OBJDIR} \
12 -I${SYSDIR}/${OSACPI_MI_DIR} \
13 -I${SYSDIR}/${ACPICA_DIR}/include \
14 -I${SYSDIR}/${ACPICA_DIR}/compiler
16 SRCS+= ${.OBJDIR}/acpi.h ${.OBJDIR}/platform/acenv.h
18 CLEANFILES+= ${.OBJDIR}/acpi.h
19 CLEANDIRS+= ${.OBJDIR}/platform
21 .if exists(${.CURDIR}/../../Makefile.inc)
22 .include "${.CURDIR}/../../Makefile.inc"