summaryrefslogtreecommitdiffstats
path: root/sys/modules/hwpmc/Makefile
blob: e07b83b70cff83853ddc9c3ba29c58f56feee3a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 
# $FreeBSD$
#

.PATH: ${.CURDIR}/../../dev/hwpmc

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>
OpenPOWER on IntegriCloud