diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 2005-06-09 19:45:09 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 2005-06-09 19:45:09 +0000 |
| commit | f263522a45b9cf5cfb83a40e3135aa7108764d60 (patch) | |
| tree | 4970329c2802c6329dd4f6e781d84b27dbf8f412 /sys/modules/hwpmc | |
| parent | a3f2d84279eabfd904a9897e2fbf6cc2a1ba0d27 (diff) | |
Notes
Diffstat (limited to 'sys/modules/hwpmc')
| -rw-r--r-- | sys/modules/hwpmc/Makefile | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/sys/modules/hwpmc/Makefile b/sys/modules/hwpmc/Makefile index e07b83b70cff..9d7dfde6d5bd 100644 --- a/sys/modules/hwpmc/Makefile +++ b/sys/modules/hwpmc/Makefile @@ -1,4 +1,4 @@ -# +# # $FreeBSD$ # @@ -6,16 +6,38 @@ KMOD= hwpmc -SRCS= hwpmc_mod.c +SRCS= hwpmc_mod.c hwpmc_logging.c vnode_if.h WARNS?= 2 -.if ${MACHINE_ARCH} == "i386" -SRCS+= hwpmc_amd.c hwpmc_intel.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c +.if ${MACHINE_ARCH} == "alpha" +SRCS+= hwpmc_alpha.c .endif .if ${MACHINE_ARCH} == "amd64" -SRCS+= hwpmc_amd.c +SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c +SRCS+= device_if.h bus_if.h +.endif + +.if ${MACHINE_ARCH} == "arm" +SRCS+= hwpmc_arm.c +.endif + +.if ${MACHINE_ARCH} == "i386" +SRCS+= hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c +SRCS+= device_if.h bus_if.h +.endif + +.if ${MACHINE_ARCH} == "ia64" +SRCS+= hwpmc_ia64.c +.endif + +.if ${MACHINE_ARCH} == "powerpc" +SRCS+= hwpmc_powerpc.c +.endif + +.if ${MACHINE_ARCH} == "sparc64" +SRCS+= hwpmc_sparc64.c .endif .include <bsd.kmod.mk> |
