]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - 6/sys/modules/hwpmc/Makefile
Clone Kip's Xen on stable/6 tree so that I can work on improving FreeBSD/amd64
[FreeBSD/FreeBSD.git] / 6 / sys / modules / hwpmc / Makefile
1 #
2 # $FreeBSD$
3 #
4
5 .PATH: ${.CURDIR}/../../dev/hwpmc
6
7 KMOD=   hwpmc
8
9 SRCS=   hwpmc_mod.c hwpmc_logging.c vnode_if.h
10
11 WARNS?= 2
12
13 .if ${MACHINE_ARCH} == "alpha"
14 SRCS+=  hwpmc_alpha.c
15 .endif
16
17 .if ${MACHINE_ARCH} == "amd64"
18 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
19 SRCS+=  device_if.h bus_if.h
20 .endif
21
22 .if ${MACHINE_ARCH} == "arm"
23 SRCS+=  hwpmc_arm.c
24 .endif
25
26 .if ${MACHINE_ARCH} == "i386"
27 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
28 SRCS+=  device_if.h bus_if.h
29 .endif
30
31 .if ${MACHINE_ARCH} == "ia64"
32 SRCS+=  hwpmc_ia64.c
33 .endif
34
35 .if ${MACHINE_ARCH} == "powerpc"
36 SRCS+=  hwpmc_powerpc.c
37 .endif
38
39 .if ${MACHINE_ARCH} == "sparc64"
40 SRCS+=  hwpmc_sparc64.c
41 .endif
42
43 .include <bsd.kmod.mk>