xref: /freebsd/lib/libpmc/Makefile (revision 39beb93c3f8bdbf72a61fda42300b5ebed7390c8)
1# $FreeBSD$
2
3LIB=	pmc
4
5SRCS=	libpmc.c pmclog.c
6INCS=	pmc.h pmclog.h
7
8WARNS?=	6
9
10MAN=	pmc.3
11MAN+=	pmc_allocate.3
12MAN+=	pmc_attach.3
13MAN+=	pmc_capabilities.3
14MAN+=	pmc_configure_logfile.3
15MAN+=	pmc_disable.3
16MAN+=	pmc_event_names_of_class.3
17MAN+=	pmc_get_driver_stats.3
18MAN+=	pmc_get_msr.3
19MAN+=	pmc_init.3
20MAN+=	pmc_name_of_capability.3
21MAN+=	pmc_read.3
22MAN+=	pmc_set.3
23MAN+=	pmc_start.3
24MAN+=	pmclog.3
25
26# PMC-dependent manual pages
27MAN+=	pmc.atom.3
28MAN+=	pmc.core.3
29MAN+=	pmc.core2.3
30MAN+=	pmc.iaf.3
31MAN+=	pmc.k7.3
32MAN+=	pmc.k8.3
33MAN+=	pmc.p4.3
34MAN+=	pmc.p5.3
35MAN+=	pmc.p6.3
36MAN+=	pmc.tsc.3
37
38MLINKS+= \
39	pmc_allocate.3 pmc_release.3 \
40	pmc_attach.3 pmc_detach.3 \
41	pmc_capabilities.3 pmc_ncpu.3 \
42	pmc_capabilities.3 pmc_npmc.3 \
43	pmc_capabilities.3 pmc_pmcinfo.3 \
44	pmc_capabilities.3 pmc_cpuinfo.3 \
45	pmc_capabilities.3 pmc_width.3 \
46	pmc_configure_logfile.3 pmc_flush_logfile.3 \
47	pmc_configure_logfile.3 pmc_writelog.3 \
48	pmc_disable.3 pmc_enable.3 \
49	pmc_name_of_capability.3 pmc_name_of_class.3 \
50	pmc_name_of_capability.3 pmc_name_of_cputype.3 \
51	pmc_name_of_capability.3 pmc_name_of_disposition.3 \
52	pmc_name_of_capability.3 pmc_name_of_event.3 \
53	pmc_name_of_capability.3 pmc_name_of_mode.3 \
54	pmc_name_of_capability.3 pmc_name_of_state.3 \
55	pmc_read.3 pmc_rw.3 \
56	pmc_read.3 pmc_write.3 \
57	pmc_start.3 pmc_stop.3
58
59MLINKS+= \
60	pmclog.3 pmclog_open.3 \
61	pmclog.3 pmclog_close.3 \
62	pmclog.3 pmclog_feed.3 \
63	pmclog.3 pmclog_read.3
64
65.include <bsd.lib.mk>
66