]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/hwpmc/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / 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} == "amd64"
14 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
15 SRCS+=  device_if.h bus_if.h
16 .endif
17
18 .if ${MACHINE_ARCH} == "arm"
19 SRCS+=  hwpmc_arm.c
20 .endif
21
22 .if ${MACHINE_ARCH} == "i386"
23 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
24 SRCS+=  device_if.h bus_if.h
25 .endif
26
27 .if ${MACHINE_ARCH} == "ia64"
28 SRCS+=  hwpmc_ia64.c
29 .endif
30
31 .if ${MACHINE_ARCH} == "powerpc"
32 SRCS+=  hwpmc_powerpc.c
33 .endif
34
35 .if ${MACHINE_ARCH} == "sparc64"
36 SRCS+=  hwpmc_sparc64.c
37 .endif
38
39 .include <bsd.kmod.mk>