Makefile revision c10c16dec587a0662068f6e2991c29ed3a9db943
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# This file and its contents are supplied under the terms of the
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews# Common Development and Distribution License ("CDDL"), version 1.0.
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# You may only use this file in accordance with the terms of version
eae67738cba5ca069e9d1d4e7b836a2f7b00a374Mark Andrews# 1.0 of the CDDL.
2a40fdc2d34adb8a5c72a748449699666032d461Mark Andrews#
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews# A full copy of the text of the CDDL should have accompanied this
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews# source. A copy of the CDDL is also available via the Internet
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews# at http://www.illumos.org/license/CDDL.
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington#
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews# Copyright 2011, Richard Lowe
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrewsinclude ../../Makefile.master
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark AndrewsMANSECT = 3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark AndrewsMANFILES = cpc.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_access.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_bind_curlwp.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_bind_event.3cpc \
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews cpc_buf_create.3cpc \
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews cpc_count_usr_events.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_enable.3cpc \
b6617c5adad7f12e5fcde1e873f7b982d247fe05Mark Andrews cpc_event.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_event_diff.3cpc \
b6617c5adad7f12e5fcde1e873f7b982d247fe05Mark Andrews cpc_getcpuver.3cpc \
b6617c5adad7f12e5fcde1e873f7b982d247fe05Mark Andrews cpc_npic.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_open.3cpc \
b6617c5adad7f12e5fcde1e873f7b982d247fe05Mark Andrews cpc_pctx_bind_event.3cpc \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cpc_set_create.3cpc \
a3b428812703d22a605a9f882e71ed65f0ffdc65Mark Andrews cpc_seterrfn.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_seterrhndlr.3cpc \
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews cpc_shared_open.3cpc \
c6d4f781529d2f28693546b25b2967d44ec89e60Mark Andrews cpc_strtoevent.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_version.3cpc \
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews generic_events.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews pctx_capture.3cpc \
c069a20053d41ae299eb9457e50ea44ae9f73ed2Mark Andrews pctx_set_events.3cpc
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark AndrewsMANSOFILES = cpc_bind_cpu.3cpc \
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews cpc_bind_pctx.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_buf_add.3cpc \
3f6174bffe227be44e241a29d186add00c032ff6Mark Andrews cpc_buf_copy.3cpc \
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark Andrews cpc_buf_destroy.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_buf_get.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_buf_hrtime.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_buf_set.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_buf_sub.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_buf_tick.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_buf_zero.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_caps.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_cciname.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_close.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_count_sys_events.3cpc \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cpc_cpuref.3cpc \
26a77b80bb7ee886c6fa704348d5e80a011d8811Mark Andrews cpc_disable.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_event_accum.3cpc \
7e5b2100ea65658a7ec3795919b4ecd29a6f118aMark Andrews cpc_eventtostr.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_getcciname.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_getcpuref.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_getnpic.3cpc \
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrews cpc_getusage.3cpc \
e086341ea57e618a60c9f166b95daee1fab71b3bMark Andrews cpc_pctx_invalidate.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_pctx_rele.3cpc \
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews cpc_pctx_take_sample.3cpc \
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews cpc_rele.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_request_preset.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_set_add_request.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_set_destroy.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_set_restart.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_set_sample.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_shared_bind_event.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_shared_close.3cpc \
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews cpc_shared_rele.3cpc \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cpc_shared_take_sample.3cpc \
c25080dc50542213058c240226c9f342186e6285Mark Andrews cpc_take_sample.3cpc \
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews cpc_unbind.3cpc \
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews cpc_walk_attrs.3cpc \
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews cpc_walk_events_all.3cpc \
dd9ad704c3800e3ab07ede8595871eac79984871Mark Andrews cpc_walk_events_pic.3cpc \
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews cpc_walk_generic_events_all.3cpc \
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews cpc_walk_generic_events_pic.3cpc \
ab81f57ca0c3addfec3df3babdcea9644757cf23Mark Andrews cpc_walk_names.3cpc \
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews cpc_walk_requests.3cpc \
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews pctx_create.3cpc \
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews pctx_release.3cpc \
413988c8166976498250c0ebb2e3a645d0366bd3Mark Andrews pctx_run.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark AndrewsMANFILES += $(MANSOFILES)
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_bind_cpu.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_bind_pctx.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_request_preset.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_set_restart.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_unbind.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
642e0716c8b4ab82ebc8e60f94c9e897ee89f19aMark Andrewscpc_rele.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_take_sample.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_buf_add.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_buf_copy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_buf_destroy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_buf_get.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_buf_hrtime.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_buf_set.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_buf_sub.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
d3a3e690ab1f87fa02b3fa77be5ddea5c1fe0cd4Mark Andrewscpc_buf_tick.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_buf_zero.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
d56e188030368b835122d759ebbf8d9613c166f4Mark Andrewscpc_set_sample.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_count_sys_events.3cpc := SOSRC = man3cpc/cpc_count_usr_events.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_disable.3cpc := SOSRC = man3cpc/cpc_enable.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_event_accum.3cpc := SOSRC = man3cpc/cpc_event_diff.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_getcciname.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_getcpuref.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_getnpic.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
ed178efa9ab8f813538fce4ff603b81ded9f1799Mark Andrewscpc_getusage.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_walk_names.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrews
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrewscpc_caps.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_cciname.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_cpuref.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrewscpc_walk_attrs.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_walk_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
dd9ad704c3800e3ab07ede8595871eac79984871Mark Andrewscpc_walk_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_walk_generic_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_walk_generic_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrews
46e873c835bf7d9ec3e1097e0aceb8db5b1ae93aMark Andrewscpc_close.3cpc := SOSRC = man3cpc/cpc_open.3cpc
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrews
6b5c57e52ac8c3e0af1547be3140ebbfb41a85b3Mark Andrewscpc_pctx_invalidate.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrewscpc_pctx_rele.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtoncpc_pctx_take_sample.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews
a9789e288ee11ae4315e27235c33bae5405bd7c4Mark Andrewscpc_set_add_request.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
62ee2c9f460d2e2e45dcf1abc8b4b4a4a43f5618Mark Andrewscpc_set_destroy.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark Andrewscpc_walk_requests.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrewscpc_shared_bind_event.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
ea206aebcafe1ed5d470dd99daab9a1cedc81c7cMark Andrewscpc_shared_close.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoncpc_shared_rele.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
ea206aebcafe1ed5d470dd99daab9a1cedc81c7cMark Andrewscpc_shared_take_sample.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
068a66979695c77359e7a9181bb3f831c965b21cMark Andrews
ca12f7f4cf72e2368ee946f3eb4915ab73576cdcMark Andrewscpc_eventtostr.3cpc := SOSRC = man3cpc/cpc_strtoevent.3cpc
7e1a8f402e3881388db37152f71c698cb1f1c426Mark Andrews
1eb1e1e838d2ea00b166c918bf50764a95826be8Mark Andrewspctx_create.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellingtonpctx_release.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrewspctx_run.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
c718d15a9a95054ee3c71540c02335426071fc6dMark Andrews.KEEP_STATE:
605bd686e437162b5ab65ac4e7c1be0bba1886ddMark Andrews
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewsinclude ../Makefile.man
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoninstall: $(ROOTMANFILES)
821d2613356f81e5bb5c107288d6d5cf35c2a1e8Mark Andrews
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
75216e007570b8ea36b3ac9cca096bf70c0ca6f6Mark Andrews