From dc3444cd91762fa913e417f7f7a7a0484872f54e Mon Sep 17 00:00:00 2001 From: jkoshy Date: Tue, 19 Apr 2005 04:01:25 +0000 Subject: Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities and documentation into -CURRENT. Bump FreeBSD_version. Reviewed by: alc, jhb (kernel changes) --- sys/modules/hwpmc/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/modules/hwpmc/Makefile (limited to 'sys/modules/hwpmc') diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile new file mode 100644 index 0000000..b345dee --- /dev/null +++ b/sys/modules/hwpmc/Makefile @@ -0,0 +1,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 -- cgit v1.1