2005-04-19 04:01:25 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2005-04-28 00:53:45 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/hwpmc
|
2005-04-19 04:01:25 +00:00
|
|
|
|
|
|
|
KMOD= hwpmc
|
|
|
|
|
|
|
|
SRCS= hwpmc_mod.c
|
|
|
|
|
|
|
|
WARNS?= 2
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "i386"
|
|
|
|
SRCS+= hwpmc_amd.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MACHINE_ARCH} == "amd64"
|
|
|
|
SRCS+= hwpmc_amd.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|