xref: /illumos-gate/usr/src/man/man3cpc/Makefile (revision 7b07063d906859b2be1e88791f801b3c96e432f6)
1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet
9# at http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright 2011, Richard Lowe
14# Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
15#
16
17include		$(SRC)/Makefile.master
18
19MANSECT= 	3cpc
20
21MANFILES= 	cpc.3cpc			\
22	 	cpc_access.3cpc			\
23	 	cpc_bind_curlwp.3cpc		\
24	 	cpc_bind_event.3cpc		\
25	 	cpc_buf_create.3cpc		\
26	 	cpc_count_usr_events.3cpc	\
27	 	cpc_enable.3cpc			\
28	 	cpc_event.3cpc			\
29	 	cpc_event_diff.3cpc		\
30	 	cpc_getcpuver.3cpc		\
31	 	cpc_npic.3cpc			\
32	 	cpc_open.3cpc			\
33	 	cpc_pctx_bind_event.3cpc	\
34	 	cpc_set_create.3cpc		\
35	 	cpc_seterrfn.3cpc		\
36	 	cpc_seterrhndlr.3cpc		\
37	 	cpc_shared_open.3cpc		\
38	 	cpc_strtoevent.3cpc		\
39	 	cpc_version.3cpc		\
40	 	generic_events.3cpc		\
41	 	pctx_capture.3cpc		\
42	 	pctx_set_events.3cpc
43
44MANLINKS=	cpc_bind_cpu.3cpc			\
45		cpc_bind_pctx.3cpc			\
46		cpc_buf_add.3cpc			\
47		cpc_buf_copy.3cpc			\
48		cpc_buf_destroy.3cpc			\
49		cpc_buf_get.3cpc			\
50		cpc_buf_hrtime.3cpc			\
51		cpc_buf_set.3cpc			\
52		cpc_buf_sub.3cpc			\
53		cpc_buf_tick.3cpc			\
54		cpc_buf_zero.3cpc			\
55		cpc_caps.3cpc				\
56		cpc_cciname.3cpc			\
57		cpc_close.3cpc				\
58		cpc_count_sys_events.3cpc		\
59		cpc_cpuref.3cpc				\
60		cpc_disable.3cpc			\
61		cpc_event_accum.3cpc			\
62		cpc_eventtostr.3cpc			\
63		cpc_getcciname.3cpc			\
64		cpc_getcpuref.3cpc			\
65		cpc_getnpic.3cpc			\
66		cpc_getusage.3cpc			\
67		cpc_pctx_invalidate.3cpc		\
68		cpc_pctx_rele.3cpc			\
69		cpc_pctx_take_sample.3cpc		\
70		cpc_rele.3cpc				\
71		cpc_request_preset.3cpc			\
72		cpc_set_add_request.3cpc		\
73		cpc_set_destroy.3cpc			\
74		cpc_set_restart.3cpc			\
75		cpc_set_sample.3cpc			\
76		cpc_shared_bind_event.3cpc		\
77		cpc_shared_close.3cpc			\
78		cpc_shared_rele.3cpc			\
79		cpc_shared_take_sample.3cpc		\
80		cpc_take_sample.3cpc			\
81		cpc_unbind.3cpc				\
82		cpc_walk_attrs.3cpc			\
83		cpc_walk_events_all.3cpc		\
84		cpc_walk_events_pic.3cpc		\
85		cpc_walk_generic_events_all.3cpc	\
86		cpc_walk_generic_events_pic.3cpc	\
87		cpc_walk_names.3cpc			\
88		cpc_walk_requests.3cpc			\
89		pctx_create.3cpc			\
90		pctx_release.3cpc			\
91		pctx_run.3cpc
92
93cpc_bind_cpu.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
94cpc_bind_pctx.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
95cpc_request_preset.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
96cpc_set_restart.3cpc			:= LINKSRC = cpc_bind_curlwp.3cpc
97cpc_unbind.3cpc				:= LINKSRC = cpc_bind_curlwp.3cpc
98
99cpc_rele.3cpc				:= LINKSRC = cpc_bind_event.3cpc
100cpc_take_sample.3cpc			:= LINKSRC = cpc_bind_event.3cpc
101
102cpc_buf_add.3cpc			:= LINKSRC = cpc_buf_create.3cpc
103cpc_buf_copy.3cpc			:= LINKSRC = cpc_buf_create.3cpc
104cpc_buf_destroy.3cpc			:= LINKSRC = cpc_buf_create.3cpc
105cpc_buf_get.3cpc			:= LINKSRC = cpc_buf_create.3cpc
106cpc_buf_hrtime.3cpc			:= LINKSRC = cpc_buf_create.3cpc
107cpc_buf_set.3cpc			:= LINKSRC = cpc_buf_create.3cpc
108cpc_buf_sub.3cpc			:= LINKSRC = cpc_buf_create.3cpc
109cpc_buf_tick.3cpc			:= LINKSRC = cpc_buf_create.3cpc
110cpc_buf_zero.3cpc			:= LINKSRC = cpc_buf_create.3cpc
111cpc_set_sample.3cpc			:= LINKSRC = cpc_buf_create.3cpc
112
113cpc_count_sys_events.3cpc		:= LINKSRC = cpc_count_usr_events.3cpc
114
115cpc_disable.3cpc			:= LINKSRC = cpc_enable.3cpc
116
117cpc_event_accum.3cpc			:= LINKSRC = cpc_event_diff.3cpc
118
119cpc_getcciname.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
120cpc_getcpuref.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
121cpc_getnpic.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
122cpc_getusage.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
123cpc_walk_names.3cpc			:= LINKSRC = cpc_getcpuver.3cpc
124
125cpc_caps.3cpc				:= LINKSRC = cpc_npic.3cpc
126cpc_cciname.3cpc			:= LINKSRC = cpc_npic.3cpc
127cpc_cpuref.3cpc				:= LINKSRC = cpc_npic.3cpc
128cpc_walk_attrs.3cpc			:= LINKSRC = cpc_npic.3cpc
129cpc_walk_events_all.3cpc		:= LINKSRC = cpc_npic.3cpc
130cpc_walk_events_pic.3cpc		:= LINKSRC = cpc_npic.3cpc
131cpc_walk_generic_events_all.3cpc	:= LINKSRC = cpc_npic.3cpc
132cpc_walk_generic_events_pic.3cpc	:= LINKSRC = cpc_npic.3cpc
133
134cpc_close.3cpc				:= LINKSRC = cpc_open.3cpc
135
136cpc_pctx_invalidate.3cpc		:= LINKSRC = cpc_pctx_bind_event.3cpc
137cpc_pctx_rele.3cpc			:= LINKSRC = cpc_pctx_bind_event.3cpc
138cpc_pctx_take_sample.3cpc		:= LINKSRC = cpc_pctx_bind_event.3cpc
139
140cpc_set_add_request.3cpc		:= LINKSRC = cpc_set_create.3cpc
141cpc_set_destroy.3cpc			:= LINKSRC = cpc_set_create.3cpc
142cpc_walk_requests.3cpc			:= LINKSRC = cpc_set_create.3cpc
143
144cpc_shared_bind_event.3cpc		:= LINKSRC = cpc_shared_open.3cpc
145cpc_shared_close.3cpc			:= LINKSRC = cpc_shared_open.3cpc
146cpc_shared_rele.3cpc			:= LINKSRC = cpc_shared_open.3cpc
147cpc_shared_take_sample.3cpc		:= LINKSRC = cpc_shared_open.3cpc
148
149cpc_eventtostr.3cpc			:= LINKSRC = cpc_strtoevent.3cpc
150
151pctx_create.3cpc			:= LINKSRC = pctx_capture.3cpc
152pctx_release.3cpc			:= LINKSRC = pctx_capture.3cpc
153pctx_run.3cpc				:= LINKSRC = pctx_capture.3cpc
154
155.KEEP_STATE:
156
157include		$(SRC)/man/Makefile.man
158
159install:	$(ROOTMANFILES) $(ROOTMANLINKS)
160