5 .PATH: ${.CURDIR}/../../dev/hwpmc
9 SRCS= hwpmc_mod.c hwpmc_logging.c vnode_if.h
13 .if ${MACHINE_ARCH} == "alpha"
17 .if ${MACHINE_ARCH} == "amd64"
18 SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
19 SRCS+= device_if.h bus_if.h
22 .if ${MACHINE_ARCH} == "arm"
26 .if ${MACHINE_ARCH} == "i386"
27 SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
28 SRCS+= device_if.h bus_if.h
31 .if ${MACHINE_ARCH} == "ia64"
35 .if ${MACHINE_ARCH} == "powerpc"
36 SRCS+= hwpmc_powerpc.c
39 .if ${MACHINE_ARCH} == "sparc64"
40 SRCS+= hwpmc_sparc64.c
43 .include <bsd.kmod.mk>