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