xref: /freebsd/lib/libpmc/Makefile (revision 145992504973bd16cf3518af9ba5ce185fefa82a)
1# $FreeBSD$
2
3LIB=	pmc
4
5SRCS=	libpmc.c pmclog.c
6INCS=	pmc.h pmclog.h
7
8MAN=	pmc.3
9MAN+=	pmc_allocate.3
10MAN+=	pmc_attach.3
11MAN+=	pmc_capabilities.3
12MAN+=	pmc_configure_logfile.3
13MAN+=	pmc_disable.3
14MAN+=	pmc_event_names_of_class.3
15MAN+=	pmc_get_driver_stats.3
16MAN+=	pmc_get_msr.3
17MAN+=	pmc_init.3
18MAN+=	pmc_name_of_capability.3
19MAN+=	pmc_read.3
20MAN+=	pmc_set.3
21MAN+=	pmc_start.3
22MAN+=	pmclog.3
23MAN+=	pmc.soft.3
24
25# PMC-dependent manual pages
26.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
27MAN+=	pmc.atom.3
28MAN+=	pmc.core.3
29MAN+=	pmc.core2.3
30MAN+=	pmc.iaf.3
31MAN+=	pmc.ivybridge.3
32MAN+=	pmc.ucf.3
33MAN+=	pmc.k7.3
34MAN+=	pmc.k8.3
35MAN+=	pmc.p4.3
36MAN+=	pmc.p5.3
37MAN+=	pmc.p6.3
38MAN+=	pmc.corei7.3
39MAN+=	pmc.corei7uc.3
40MAN+=	pmc.sandybridge.3
41MAN+=	pmc.sandybridgeuc.3
42MAN+=	pmc.sandybridgexeon.3
43MAN+=	pmc.westmere.3
44MAN+=	pmc.westmereuc.3
45MAN+=	pmc.tsc.3
46.elif ${MACHINE_CPUARCH} == "arm"
47MAN+=	pmc.xscale.3
48.elif ${MACHINE_CPUARCH} == "mips"
49MAN+=	pmc.mips24k.3
50MAN+=	pmc.octeon.3
51.endif
52
53MLINKS+= \
54	pmc_allocate.3 pmc_release.3 \
55	pmc_attach.3 pmc_detach.3 \
56	pmc_capabilities.3 pmc_ncpu.3 \
57	pmc_capabilities.3 pmc_npmc.3 \
58	pmc_capabilities.3 pmc_pmcinfo.3 \
59	pmc_capabilities.3 pmc_cpuinfo.3 \
60	pmc_capabilities.3 pmc_width.3 \
61	pmc_configure_logfile.3 pmc_flush_logfile.3 \
62	pmc_configure_logfile.3 pmc_writelog.3 \
63	pmc_disable.3 pmc_enable.3 \
64	pmc_name_of_capability.3 pmc_name_of_class.3 \
65	pmc_name_of_capability.3 pmc_name_of_cputype.3 \
66	pmc_name_of_capability.3 pmc_name_of_disposition.3 \
67	pmc_name_of_capability.3 pmc_name_of_event.3 \
68	pmc_name_of_capability.3 pmc_name_of_mode.3 \
69	pmc_name_of_capability.3 pmc_name_of_state.3 \
70	pmc_read.3 pmc_rw.3 \
71	pmc_read.3 pmc_write.3 \
72	pmc_start.3 pmc_stop.3
73
74MLINKS+= \
75	pmclog.3 pmclog_open.3 \
76	pmclog.3 pmclog_close.3 \
77	pmclog.3 pmclog_feed.3 \
78	pmclog.3 pmclog_read.3
79
80.include <bsd.lib.mk>
81