1# $FreeBSD$
2
3.PATH:	${.CURDIR}/../../dev/cpufreq		\
4	${.CURDIR}/../../${MACHINE_CPUARCH}/cpufreq
5
6KMOD=	cpufreq
7SRCS=	ichss.c
8SRCS+=	bus_if.h cpufreq_if.h device_if.h pci_if.h
9
10.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
11.PATH:	${.CURDIR}/../../x86/cpufreq
12
13SRCS+=	acpi_if.h opt_acpi.h
14SRCS+=	est.c hwpstate.c p4tcc.c powernow.c
15.endif
16
17.if ${MACHINE} == "i386"
18SRCS+=	smist.c
19.endif
20
21.if ${MACHINE} == "powerpc"
22.PATH:	${.CURDIR}/../../powerpc/cpufreq
23SRCS+= dfs.c
24.endif
25
26.include <bsd.kmod.mk>
27