Raise some WARNS in usr.sbin/.
[dragonfly.git] / usr.sbin / acpi / Makefile.inc
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 $
4
5 SYSDIR?= ${.CURDIR}/../../../sys
6 .include "${SYSDIR}/conf/acpi.mk"
7
8 .PATH:          ${.OBJDIR}                              \
9                 ${ACPICA_UTIL_PATHS}
10
11 CFLAGS+=        -I${.OBJDIR}                            \
12                 -I${SYSDIR}/${OSACPI_MI_DIR}            \
13                 -I${SYSDIR}/${ACPICA_DIR}/include       \
14                 -I${SYSDIR}/${ACPICA_DIR}/compiler
15
16 SRCS+=          ${.OBJDIR}/acpi.h ${.OBJDIR}/platform/acenv.h
17
18 CLEANFILES+=    ${.OBJDIR}/acpi.h
19 CLEANDIRS+=     ${.OBJDIR}/platform
20
21 WARNS?=         1
22
23 .if exists(${.CURDIR}/../../Makefile.inc)
24 .include "${.CURDIR}/../../Makefile.inc"
25 .endif