1# $FreeBSD$ 2 3LIB= pmc 4 5SRCS= libpmc.c pmclog.c 6INCS= pmc.h pmclog.h 7 8MAN= pmc.3 9MAN+= pmc_allocate.3 10MAN+= pmc_attach.3 11MAN+= pmc_capabilities.3 12MAN+= pmc_configure_logfile.3 13MAN+= pmc_disable.3 14MAN+= pmc_event_names_of_class.3 15MAN+= pmc_get_driver_stats.3 16MAN+= pmc_get_msr.3 17MAN+= pmc_init.3 18MAN+= pmc_name_of_capability.3 19MAN+= pmc_read.3 20MAN+= pmc_set.3 21MAN+= pmc_start.3 22MAN+= pmclog.3 23MAN+= pmc.soft.3 24 25# PMC-dependent manual pages 26.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 27MAN+= pmc.atom.3 28MAN+= pmc.core.3 29MAN+= pmc.core2.3 30MAN+= pmc.iaf.3 31MAN+= pmc.ucf.3 32MAN+= pmc.k7.3 33MAN+= pmc.k8.3 34MAN+= pmc.p4.3 35MAN+= pmc.p5.3 36MAN+= pmc.p6.3 37MAN+= pmc.corei7.3 38MAN+= pmc.corei7uc.3 39MAN+= pmc.sandybridge.3 40MAN+= pmc.sandybridgeuc.3 41MAN+= pmc.westmere.3 42MAN+= pmc.westmereuc.3 43MAN+= pmc.tsc.3 44.elif ${MACHINE_CPUARCH} == "arm" && ${CPUTYPE} == "xscale" 45MAN+= pmc.xscale.3 46.elif ${MACHINE_CPUARCH} == "mips" 47MAN+= pmc.mips24k.3 48MAN+= pmc.octeon.3 49.endif 50 51MLINKS+= \ 52 pmc_allocate.3 pmc_release.3 \ 53 pmc_attach.3 pmc_detach.3 \ 54 pmc_capabilities.3 pmc_ncpu.3 \ 55 pmc_capabilities.3 pmc_npmc.3 \ 56 pmc_capabilities.3 pmc_pmcinfo.3 \ 57 pmc_capabilities.3 pmc_cpuinfo.3 \ 58 pmc_capabilities.3 pmc_width.3 \ 59 pmc_configure_logfile.3 pmc_flush_logfile.3 \ 60 pmc_configure_logfile.3 pmc_writelog.3 \ 61 pmc_disable.3 pmc_enable.3 \ 62 pmc_name_of_capability.3 pmc_name_of_class.3 \ 63 pmc_name_of_capability.3 pmc_name_of_cputype.3 \ 64 pmc_name_of_capability.3 pmc_name_of_disposition.3 \ 65 pmc_name_of_capability.3 pmc_name_of_event.3 \ 66 pmc_name_of_capability.3 pmc_name_of_mode.3 \ 67 pmc_name_of_capability.3 pmc_name_of_state.3 \ 68 pmc_read.3 pmc_rw.3 \ 69 pmc_read.3 pmc_write.3 \ 70 pmc_start.3 pmc_stop.3 71 72MLINKS+= \ 73 pmclog.3 pmclog_open.3 \ 74 pmclog.3 pmclog_close.3 \ 75 pmclog.3 pmclog_feed.3 \ 76 pmclog.3 pmclog_read.3 77 78.include <bsd.lib.mk> 79