xref: /illumos-gate/usr/src/man/man3cpc/Makefile (revision ae94d716ff8759d2dc2de680b5b85a291219a4c1)
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# Copyright 2011, Richard Lowe
13
14include ../../Makefile.master
15
16MANSECT = 	3cpc
17
18MANFILES = 	cpc.3cpc			\
19	 	cpc_access.3cpc			\
20	 	cpc_bind_curlwp.3cpc		\
21	 	cpc_bind_event.3cpc		\
22	 	cpc_buf_create.3cpc		\
23	 	cpc_count_usr_events.3cpc	\
24	 	cpc_enable.3cpc			\
25	 	cpc_event.3cpc			\
26	 	cpc_event_diff.3cpc		\
27	 	cpc_getcpuver.3cpc		\
28	 	cpc_npic.3cpc			\
29	 	cpc_open.3cpc			\
30	 	cpc_pctx_bind_event.3cpc	\
31	 	cpc_set_create.3cpc		\
32	 	cpc_seterrfn.3cpc		\
33	 	cpc_seterrhndlr.3cpc		\
34	 	cpc_shared_open.3cpc		\
35	 	cpc_strtoevent.3cpc		\
36	 	cpc_version.3cpc		\
37	 	generic_events.3cpc		\
38	 	pctx_capture.3cpc		\
39	 	pctx_set_events.3cpc
40
41MANSOFILES =	cpc_bind_cpu.3cpc			\
42		cpc_bind_pctx.3cpc			\
43		cpc_buf_add.3cpc			\
44		cpc_buf_copy.3cpc			\
45		cpc_buf_destroy.3cpc			\
46		cpc_buf_get.3cpc			\
47		cpc_buf_hrtime.3cpc			\
48		cpc_buf_set.3cpc			\
49		cpc_buf_sub.3cpc			\
50		cpc_buf_tick.3cpc			\
51		cpc_buf_zero.3cpc			\
52		cpc_caps.3cpc				\
53		cpc_cciname.3cpc			\
54		cpc_close.3cpc				\
55		cpc_count_sys_events.3cpc		\
56		cpc_cpuref.3cpc				\
57		cpc_disable.3cpc			\
58		cpc_event_accum.3cpc			\
59		cpc_eventtostr.3cpc			\
60		cpc_getcciname.3cpc			\
61		cpc_getcpuref.3cpc			\
62		cpc_getnpic.3cpc			\
63		cpc_getusage.3cpc			\
64		cpc_pctx_invalidate.3cpc		\
65		cpc_pctx_rele.3cpc			\
66		cpc_pctx_take_sample.3cpc		\
67		cpc_rele.3cpc				\
68		cpc_request_preset.3cpc			\
69		cpc_set_add_request.3cpc		\
70		cpc_set_destroy.3cpc			\
71		cpc_set_restart.3cpc			\
72		cpc_set_sample.3cpc			\
73		cpc_shared_bind_event.3cpc		\
74		cpc_shared_close.3cpc			\
75		cpc_shared_rele.3cpc			\
76		cpc_shared_take_sample.3cpc		\
77		cpc_take_sample.3cpc			\
78		cpc_unbind.3cpc				\
79		cpc_walk_attrs.3cpc			\
80		cpc_walk_events_all.3cpc		\
81		cpc_walk_events_pic.3cpc		\
82		cpc_walk_generic_events_all.3cpc	\
83		cpc_walk_generic_events_pic.3cpc	\
84		cpc_walk_names.3cpc			\
85		cpc_walk_requests.3cpc			\
86		pctx_create.3cpc			\
87		pctx_release.3cpc			\
88		pctx_run.3cpc
89
90MANFILES +=	$(MANSOFILES)
91
92cpc_bind_cpu.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
93cpc_bind_pctx.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
94cpc_request_preset.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
95cpc_set_restart.3cpc			:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
96cpc_unbind.3cpc				:= SOSRC = man3cpc/cpc_bind_curlwp.3cpc
97
98cpc_rele.3cpc				:= SOSRC = man3cpc/cpc_bind_event.3cpc
99cpc_take_sample.3cpc			:= SOSRC = man3cpc/cpc_bind_event.3cpc
100
101cpc_buf_add.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
102cpc_buf_copy.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
103cpc_buf_destroy.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
104cpc_buf_get.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
105cpc_buf_hrtime.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
106cpc_buf_set.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
107cpc_buf_sub.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
108cpc_buf_tick.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
109cpc_buf_zero.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
110cpc_set_sample.3cpc			:= SOSRC = man3cpc/cpc_buf_create.3cpc
111
112cpc_count_sys_events.3cpc		:= SOSRC = man3cpc/cpc_count_usr_events.3cpc
113
114cpc_disable.3cpc			:= SOSRC = man3cpc/cpc_enable.3cpc
115
116cpc_event_accum.3cpc			:= SOSRC = man3cpc/cpc_event_diff.3cpc
117
118cpc_getcciname.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
119cpc_getcpuref.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
120cpc_getnpic.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
121cpc_getusage.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
122cpc_walk_names.3cpc			:= SOSRC = man3cpc/cpc_getcpuver.3cpc
123
124cpc_caps.3cpc				:= SOSRC = man3cpc/cpc_npic.3cpc
125cpc_cciname.3cpc			:= SOSRC = man3cpc/cpc_npic.3cpc
126cpc_cpuref.3cpc				:= SOSRC = man3cpc/cpc_npic.3cpc
127cpc_walk_attrs.3cpc			:= SOSRC = man3cpc/cpc_npic.3cpc
128cpc_walk_events_all.3cpc		:= SOSRC = man3cpc/cpc_npic.3cpc
129cpc_walk_events_pic.3cpc		:= SOSRC = man3cpc/cpc_npic.3cpc
130cpc_walk_generic_events_all.3cpc	:= SOSRC = man3cpc/cpc_npic.3cpc
131cpc_walk_generic_events_pic.3cpc	:= SOSRC = man3cpc/cpc_npic.3cpc
132
133cpc_close.3cpc				:= SOSRC = man3cpc/cpc_open.3cpc
134
135cpc_pctx_invalidate.3cpc		:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
136cpc_pctx_rele.3cpc			:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
137cpc_pctx_take_sample.3cpc		:= SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
138
139cpc_set_add_request.3cpc		:= SOSRC = man3cpc/cpc_set_create.3cpc
140cpc_set_destroy.3cpc			:= SOSRC = man3cpc/cpc_set_create.3cpc
141cpc_walk_requests.3cpc			:= SOSRC = man3cpc/cpc_set_create.3cpc
142
143cpc_shared_bind_event.3cpc		:= SOSRC = man3cpc/cpc_shared_open.3cpc
144cpc_shared_close.3cpc			:= SOSRC = man3cpc/cpc_shared_open.3cpc
145cpc_shared_rele.3cpc			:= SOSRC = man3cpc/cpc_shared_open.3cpc
146cpc_shared_take_sample.3cpc		:= SOSRC = man3cpc/cpc_shared_open.3cpc
147
148cpc_eventtostr.3cpc			:= SOSRC = man3cpc/cpc_strtoevent.3cpc
149
150pctx_create.3cpc			:= SOSRC = man3cpc/pctx_capture.3cpc
151pctx_release.3cpc			:= SOSRC = man3cpc/pctx_capture.3cpc
152pctx_run.3cpc				:= SOSRC = man3cpc/pctx_capture.3cpc
153
154.KEEP_STATE:
155
156include ../Makefile.man
157
158install: $(ROOTMANFILES)
159
160
161