1# 2# $FreeBSD: releng/10.2/sys/modules/hwpmc/Makefile 263132 2014-03-14 02:37:07Z jhibbits $ 3# 4 5.PATH: ${.CURDIR}/../../dev/hwpmc 6 7KMOD= hwpmc 8 9SRCS= hwpmc_mod.c hwpmc_logging.c hwpmc_soft.c vnode_if.h 10 11.if ${MACHINE_CPUARCH} == "amd64" 12SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_tsc.c 13SRCS+= hwpmc_x86.c hwpmc_uncore.c 14SRCS+= device_if.h bus_if.h 15.endif 16 17.if ${MACHINE_CPUARCH} == "arm" 18SRCS+= hwpmc_arm.c 19.endif 20 21.if ${MACHINE_CPUARCH} == "i386" 22SRCS+= hwpmc_amd.c hwpmc_core.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c 23SRCS+= hwpmc_pentium.c hwpmc_tsc.c hwpmc_x86.c hwpmc_uncore.c 24SRCS+= device_if.h bus_if.h 25.endif 26 27.if ${MACHINE_CPUARCH} == "ia64" 28SRCS+= hwpmc_ia64.c 29.endif 30 31.if ${MACHINE_CPUARCH} == "powerpc" 32SRCS+= hwpmc_powerpc.c hwpmc_mpc7xxx.c hwpmc_ppc970.c 33.endif 34 35.if ${MACHINE_CPUARCH} == "sparc64" 36SRCS+= hwpmc_sparc64.c 37.endif 38 39.include <bsd.kmod.mk> 40