summaryrefslogtreecommitdiffstats
path: root/sys/modules/hwpmc/Makefile
blob: b345dee7cc4e029b38fc69fc278af43cb05dc61d (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}/../../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