diff options
author | jkoshy <jkoshy@FreeBSD.org> | 2005-04-19 04:01:25 +0000 |
---|---|---|
committer | jkoshy <jkoshy@FreeBSD.org> | 2005-04-19 04:01:25 +0000 |
commit | dc3444cd91762fa913e417f7f7a7a0484872f54e (patch) | |
tree | 3175e06cfbec643ca7426d756f2362160f9309d4 /sys/modules/hwpmc | |
parent | 8c509864f2dd0cdcc6116de38bf9137583c4ab2f (diff) | |
download | FreeBSD-src-dc3444cd91762fa913e417f7f7a7a0484872f54e.zip FreeBSD-src-dc3444cd91762fa913e417f7f7a7a0484872f54e.tar.gz |
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)
Diffstat (limited to 'sys/modules/hwpmc')
-rw-r--r-- | sys/modules/hwpmc/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
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 <bsd.kmod.mk> |