1# $FreeBSD: head/sys/modules/cpufreq/Makefile 204309 2010-02-25 14:13:39Z attilio $
2
3.PATH: ${.CURDIR}/../../dev/cpufreq \
4 ${.CURDIR}/../../${MACHINE_ARCH}/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>
2
3.PATH: ${.CURDIR}/../../dev/cpufreq \
4 ${.CURDIR}/../../${MACHINE_ARCH}/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>