freebsd-dev/sys/modules/cpufreq/Makefile

27 lines
503 B
Makefile
Raw Normal View History

# $FreeBSD$
2005-02-20 20:29:04 +00:00
.PATH: ${.CURDIR}/../../dev/cpufreq \
${.CURDIR}/../../${MACHINE_CPUARCH}/cpufreq
KMOD= cpufreq
SRCS= ichss.c
SRCS+= bus_if.h cpufreq_if.h device_if.h pci_if.h
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
.PATH: ${.CURDIR}/../../x86/cpufreq
SRCS+= acpi_if.h opt_acpi.h
SRCS+= est.c hwpstate.c p4tcc.c powernow.c
2005-02-20 20:29:04 +00:00
.endif
.if ${MACHINE} == "i386"
SRCS+= smist.c
.endif
.if ${MACHINE} == "powerpc"
.PATH: ${.CURDIR}/../../powerpc/cpufreq
SRCS+= dfs.c
.endif
.include <bsd.kmod.mk>