2005-02-04 05:49:36 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2005-02-20 20:29:04 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
|
|
|
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
|
2005-02-04 05:49:36 +00:00
|
|
|
|
|
|
|
KMOD= cpufreq
|
|
|
|
WARNS?= 2
|
|
|
|
SRCS= ichss.c
|
|
|
|
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
|
|
|
|
|
2005-04-04 15:51:13 +00:00
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
|
|
.PATH: ${.CURDIR}/../../i386/cpufreq
|
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
|
2005-03-27 21:47:12 +00:00
|
|
|
|
2005-04-04 15:51:13 +00:00
|
|
|
SRCS+= acpi_if.h opt_acpi.h
|
|
|
|
SRCS+= est.c p4tcc.c powernow.c
|
2005-02-20 20:29:04 +00:00
|
|
|
.endif
|
|
|
|
|
2005-04-19 16:38:24 +00:00
|
|
|
.if ${MACHINE} == "i386"
|
|
|
|
SRCS+= smist.c
|
|
|
|
.endif
|
|
|
|
|
2005-02-04 05:49:36 +00:00
|
|
|
.include <bsd.kmod.mk>
|