5 .PATH: ${.CURDIR}/../../dev/hwpmc
9 SRCS= hwpmc_mod.c hwpmc_logging.c vnode_if.h
11 .if ${MACHINE_ARCH} == "amd64"
12 SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
13 SRCS+= device_if.h bus_if.h
16 .if ${MACHINE_ARCH} == "arm"
20 .if ${MACHINE_ARCH} == "i386"
21 SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
22 SRCS+= device_if.h bus_if.h
25 .if ${MACHINE_ARCH} == "ia64"
29 .if ${MACHINE_ARCH} == "powerpc"
30 SRCS+= hwpmc_powerpc.c
33 .if ${MACHINE_ARCH} == "sparc64"
34 SRCS+= hwpmc_sparc64.c
37 .include <bsd.kmod.mk>