xref: /dragonfly/usr.sbin/acpi/Makefile.inc (revision 0e085424)
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.3 2005/08/16 10:31:35 y0netan1 Exp $
4
5SYSDIR?= ${.CURDIR}/../../../sys
6.include "${SYSDIR}/conf/acpi.mk"
7
8.PATH:		${.OBJDIR}				\
9		${SYSDIR}/${ACPICA_DIR}			\
10		${SYSDIR}/${ACPICA_DIR}/compiler	\
11		${SYSDIR}/${ACPICA_DIR}/common
12
13CFLAGS+=	-I${.OBJDIR}				\
14		-I${SYSDIR}/${OSACPI_MI_DIR}		\
15		-I${SYSDIR}/${ACPICA_DIR}/include	\
16		-I${SYSDIR}/${ACPICA_DIR}/compiler
17
18SRCS+=		${.OBJDIR}/acpi.h ${.OBJDIR}/platform/acenv.h
19
20CLEANFILES+=	${.OBJDIR}/acpi.h
21CLEANDIRS+=	${.OBJDIR}/platform
22
23.if exists(${.CURDIR}/../../Makefile.inc)
24.include "${.CURDIR}/../../Makefile.inc"
25.endif
26