1#
|
2# $FreeBSD: head/sys/modules/hwpmc/Makefile 206089 2010-04-02 13:23:49Z fabient $
|
2# $FreeBSD: head/sys/modules/hwpmc/Makefile 209991 2010-07-13 12:47:31Z nwhitehorn $ |
3# 4 5.PATH: ${.CURDIR}/../../dev/hwpmc 6 7KMOD= hwpmc 8 9SRCS= hwpmc_mod.c hwpmc_logging.c vnode_if.h 10 11.if ${MACHINE_ARCH} == "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_ARCH} == "arm" 18SRCS+= hwpmc_arm.c 19.endif 20 21.if ${MACHINE_ARCH} == "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_ARCH} == "ia64" 28SRCS+= hwpmc_ia64.c 29.endif 30
|
31.if ${MACHINE_ARCH} == "powerpc"
|
31.if ${MACHINE_CPUARCH} == "powerpc" |
32SRCS+= hwpmc_powerpc.c 33.endif 34 35.if ${MACHINE_ARCH} == "sparc64" 36SRCS+= hwpmc_sparc64.c 37.endif 38 39.include <bsd.kmod.mk>
|