freebsd-nq/sys/modules/hwpmc/Makefile

22 lines
291 B
Makefile
Raw Normal View History

#
# $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>