Makefile revision c10c16dec587a0662068f6e2991c29ed3a9db943
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews#
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# This file and its contents are supplied under the terms of the
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# Common Development and Distribution License ("CDDL"), version 1.0.
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updater# You may only use this file in accordance with the terms of version
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# 1.0 of the CDDL.
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater#
46da3117812814a29432a8d9a9ccf8acdbfdadceAutomatic Updater# A full copy of the text of the CDDL should have accompanied this
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# source. A copy of the CDDL is also available via the Internet
cd0aa2d941d1438fabb5337f1f38c49478edf71dAutomatic Updater# at http://www.illumos.org/license/CDDL.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews#
90ff38a0d8deaf5f9c2aa5916d99b2e572d28738Automatic Updater
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington# Copyright 2011, Richard Lowe
ac4e70ff8955669341f435bc0a734a17c01af124Mark Andrews
6c6a121295b30772cbf3dd75a51fb9d883051a0eAutomatic Updaterinclude ../../Makefile.master
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic UpdaterMANSECT = 3cpc
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic UpdaterMANFILES = cpc.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_access.3cpc \
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater cpc_bind_curlwp.3cpc \
3cc98b8ecedcbc8465f1cf2740b966b315662430Automatic Updater cpc_bind_event.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_buf_create.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_count_usr_events.3cpc \
e171a4137c6ba348957e61b7c4c3541493c0da02Automatic Updater cpc_enable.3cpc \
831f79c4310a7d38fc3475ccfff531b2b2535641Automatic Updater cpc_event.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_event_diff.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_getcpuver.3cpc \
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews cpc_npic.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_open.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_pctx_bind_event.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_set_create.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_seterrfn.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_seterrhndlr.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_shared_open.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_strtoevent.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_version.3cpc \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt generic_events.3cpc \
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater pctx_capture.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater pctx_set_events.3cpc
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic UpdaterMANSOFILES = cpc_bind_cpu.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_bind_pctx.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_buf_add.3cpc \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt cpc_buf_copy.3cpc \
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater cpc_buf_destroy.3cpc \
2d2dc37599979c83495510f8af8d1756753aa2c5Automatic Updater cpc_buf_get.3cpc \
aa9c561961e9d877946ebaa8795fa2be054ab7bfEvan Hunt cpc_buf_hrtime.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_buf_set.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_buf_sub.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_buf_tick.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_buf_zero.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_caps.3cpc \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater cpc_cciname.3cpc \
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater cpc_close.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_count_sys_events.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_cpuref.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_disable.3cpc \
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater cpc_event_accum.3cpc \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews cpc_eventtostr.3cpc \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews cpc_getcciname.3cpc \
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews cpc_getcpuref.3cpc \
9e3a7b0faf417a10f5f689edf288807b2d5eedc5Brian Wellington cpc_getnpic.3cpc \
9cd5eb6fe0f26d65724b99216cb31dcdd12e4afdAutomatic Updater cpc_getusage.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_pctx_invalidate.3cpc \
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater cpc_pctx_rele.3cpc \
8e9f3b69914ee02a80b87c97b1f8093edb3e9ae0Automatic Updater cpc_pctx_take_sample.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_rele.3cpc \
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater cpc_request_preset.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_set_add_request.3cpc \
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater cpc_set_destroy.3cpc \
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater cpc_set_restart.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_set_sample.3cpc \
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater cpc_shared_bind_event.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_shared_close.3cpc \
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater cpc_shared_rele.3cpc \
693c4232dfdffaff672197d4b9fea944c64cf80aAutomatic Updater cpc_shared_take_sample.3cpc \
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews cpc_take_sample.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_unbind.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_walk_attrs.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_walk_events_all.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_walk_events_pic.3cpc \
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews cpc_walk_generic_events_all.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_walk_generic_events_pic.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson cpc_walk_names.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater cpc_walk_requests.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater pctx_create.3cpc \
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson pctx_release.3cpc \
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater pctx_run.3cpc
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic UpdaterMANFILES += $(MANSOFILES)
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews
11af78f7dc35741bdab68dbab11b03daab005b28Automatic Updatercpc_bind_cpu.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
11af78f7dc35741bdab68dbab11b03daab005b28Automatic Updatercpc_bind_pctx.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewscpc_request_preset.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontcpc_set_restart.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updatercpc_unbind.3cpc := SOSRC = man3cpc/cpc_bind_curlwp.3cpc
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic Updater
2a31bd531072824ef252c18303859d6af7451b00Francis Dupontcpc_rele.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_take_sample.3cpc := SOSRC = man3cpc/cpc_bind_event.3cpc
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updatercpc_buf_add.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_buf_copy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewscpc_buf_destroy.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
08e3b6797706a13054bad749dea04e94b514b8e7Automatic Updatercpc_buf_get.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updatercpc_buf_hrtime.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewscpc_buf_set.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewscpc_buf_sub.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updatercpc_buf_tick.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updatercpc_buf_zero.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrewscpc_set_sample.3cpc := SOSRC = man3cpc/cpc_buf_create.3cpc
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updatercpc_count_sys_events.3cpc := SOSRC = man3cpc/cpc_count_usr_events.3cpc
82447d835d3ff5c658749b4e9b4f66166407b3eaAutomatic Updater
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrewscpc_disable.3cpc := SOSRC = man3cpc/cpc_enable.3cpc
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updatercpc_event_accum.3cpc := SOSRC = man3cpc/cpc_event_diff.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updatercpc_getcciname.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_getcpuref.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updatercpc_getnpic.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_getusage.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_walk_names.3cpc := SOSRC = man3cpc/cpc_getcpuver.3cpc
fe80a4909bf62b602feaf246866e9d29f7654194Automatic Updater
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_caps.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_cciname.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoncpc_cpuref.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_walk_attrs.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
aa1d397c4736cd86540555193d71e55fa3b37b2aMark Andrewscpc_walk_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoncpc_walk_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updatercpc_walk_generic_events_all.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updatercpc_walk_generic_events_pic.3cpc := SOSRC = man3cpc/cpc_npic.3cpc
dd65eb1efb40b1c47d57963192bfc54873b219beAutomatic Updater
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updatercpc_close.3cpc := SOSRC = man3cpc/cpc_open.3cpc
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updater
133e6d43fa82e80d3798be4de00f4540f485ec6cAutomatic Updatercpc_pctx_invalidate.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updatercpc_pctx_rele.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafssoncpc_pctx_take_sample.3cpc := SOSRC = man3cpc/cpc_pctx_bind_event.3cpc
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater
4104e236f71eb5108fcfda6711878a97f6f4a8e7Automatic Updatercpc_set_add_request.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updatercpc_set_destroy.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updatercpc_walk_requests.3cpc := SOSRC = man3cpc/cpc_set_create.3cpc
0ce87e5749aabb8eef1e0a37e4bd6e6ffa1d7196Automatic Updater
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updatercpc_shared_bind_event.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
229ea4644b3a7d9c7fdaa43888e7f55ba01e2ee3Automatic Updatercpc_shared_close.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
765c97d56ccddc9d7904c7d9ff2e2d825d9687e4Automatic Updatercpc_shared_rele.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
3e5340279d8875d136a4dd815cccad0044aa2644Automatic Updatercpc_shared_take_sample.3cpc := SOSRC = man3cpc/cpc_shared_open.3cpc
8ccd7da886e93cd490fcb6f4c4e98a6514f35820Automatic Updater
da82e232161d67b77df2d67898bdac693f647be1Automatic Updatercpc_eventtostr.3cpc := SOSRC = man3cpc/cpc_strtoevent.3cpc
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater
d145b64cacc8d9cda51f9924ec70cd4661c3e2cfAutomatic Updaterpctx_create.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
8711e5c73ca872d59810760af0332194cbdd619bAutomatic Updaterpctx_release.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterpctx_run.3cpc := SOSRC = man3cpc/pctx_capture.3cpc
59528addd704f8d5757b54e540520f74e588a7c7Automatic Updater
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater.KEEP_STATE:
da82e232161d67b77df2d67898bdac693f647be1Automatic Updater
9c446b72069d0ab9f710502f4d7048e50875fccbAutomatic Updaterinclude ../Makefile.man
e85565067cf73f8cc21ee29b11761659f1d47ee9Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updaterinstall: $(ROOTMANFILES)
bc0a53583d92309bebcf93c408e2f3247ebd3d3cAutomatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater
ce9cad6bb04869c5e94d9dc721032b25117f9210Automatic Updater