]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/hwpmc/Makefile
add -n option to suppress clearing the build tree and add -DNO_CLEAN
[FreeBSD/FreeBSD.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 .if ${MACHINE_ARCH} == "amd64"
12 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_x86.c
13 SRCS+=  device_if.h bus_if.h
14 .endif
15
16 .if ${MACHINE_ARCH} == "arm"
17 SRCS+=  hwpmc_arm.c
18 .endif
19
20 .if ${MACHINE_ARCH} == "i386"
21 SRCS+=  hwpmc_amd.c hwpmc_piv.c hwpmc_ppro.c hwpmc_pentium.c hwpmc_x86.c
22 SRCS+=  device_if.h bus_if.h
23 .endif
24
25 .if ${MACHINE_ARCH} == "ia64"
26 SRCS+=  hwpmc_ia64.c
27 .endif
28
29 .if ${MACHINE_ARCH} == "powerpc"
30 SRCS+=  hwpmc_powerpc.c
31 .endif
32
33 .if ${MACHINE_ARCH} == "sparc64"
34 SRCS+=  hwpmc_sparc64.c
35 .endif
36
37 .include <bsd.kmod.mk>