Makefile revision c10c16dec587a0662068f6e2991c29ed3a9db943
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# This file and its contents are supplied under the terms of the
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Common Development and Distribution License ("CDDL"), version 1.0.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# You may only use this file in accordance with the terms of version
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# 1.0 of the CDDL.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# A full copy of the text of the CDDL should have accompanied this
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# source. A copy of the CDDL is also available via the Internet
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# at http://www.illumos.org/license/CDDL.
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe#
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe# Copyright 2011, Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../../Makefile.master
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMANSECT = 3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMANFILES = cpc.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_access.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_curlwp.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_count_usr_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_enable.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event_diff.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcpuver.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_npic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_open.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_seterrfn.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_seterrhndlr.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_open.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_strtoevent.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_version.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe generic_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_capture.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_set_events.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMANSOFILES = cpc_bind_cpu.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_bind_pctx.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_add.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_copy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_destroy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_get.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_hrtime.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_set.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_sub.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_tick.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_buf_zero.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_caps.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_cciname.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_close.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_count_sys_events.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_cpuref.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_disable.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_event_accum.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_eventtostr.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcciname.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getcpuref.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getnpic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_getusage.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_invalidate.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_pctx_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_request_preset.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_add_request.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_destroy.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_restart.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_set_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_bind_event.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_close.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_rele.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_shared_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_take_sample.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_unbind.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_attrs.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_events_all.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_events_pic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_generic_events_all.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_generic_events_pic.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_names.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe cpc_walk_requests.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_create.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_release.3cpc \
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe pctx_run.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard LoweMANFILES += $(MANSOFILES)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_bind_cpu.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_bind_pctx.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_request_preset.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_set_restart.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_unbind.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_rele.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_take_sample.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_add.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_copy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_destroy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_get.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_hrtime.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_set.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_sub.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_tick.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_buf_zero.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_set_sample.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_count_sys_events.3cpc := SOSRC = man3cpc/cpc_count_usr_events.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_disable.3cpc := SOSRC = man3cpc/cpc_enable.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_event_accum.3cpc := SOSRC = man3cpc/cpc_event_diff.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_getcciname.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_getcpuref.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_getnpic.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_getusage.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_names.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_caps.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_cciname.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_cpuref.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_attrs.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_generic_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_generic_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_close.3cpc := SOSRC = man3cpc/cpc_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_pctx_invalidate.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_pctx_rele.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_pctx_take_sample.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_set_add_request.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_set_destroy.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_walk_requests.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_shared_bind_event.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_shared_close.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_shared_rele.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_shared_take_sample.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowecpc_eventtostr.3cpc := SOSRC = man3cpc/cpc_strtoevent.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepctx_create.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepctx_release.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowepctx_run.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe.KEEP_STATE:
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinclude ../Makefile.man
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Loweinstall: $(ROOTMANFILES)
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe
c10c16dec587a0662068f6e2991c29ed3a9db943Richard Lowe