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