725cb10ce3
use a different mechanism for setting warning flags, and using WARNS here only has null or negative effects. Submitted by: bde (I think it means "submitted")
23 lines
448 B
Makefile
23 lines
448 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../dev/cpufreq \
|
|
${.CURDIR}/../../${MACHINE_ARCH}/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}/../../i386/cpufreq
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/dev/acpica
|
|
|
|
SRCS+= acpi_if.h opt_acpi.h
|
|
SRCS+= est.c p4tcc.c powernow.c
|
|
.endif
|
|
|
|
.if ${MACHINE} == "i386"
|
|
SRCS+= smist.c
|
|
.endif
|
|
|
|
.include <bsd.kmod.mk>
|