21 lines
370 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/cpufreq \
${.CURDIR}/../../${MACHINE_ARCH}/cpufreq
KMOD= cpufreq
WARNS?= 2
SRCS= ichss.c
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
.if ${MACHINE} == "i386"
SRCS+= est.c p4tcc.c powernow.c
.endif
.if ${MACHINE} == "amd64"
.PATH: ${.PATH} ${.CURDIR}/../../i386/cpufreq
SRCS+= powernow.c
.endif
.include <bsd.kmod.mk>