1# 2# $FreeBSD$ 3# 4 5.include <src.opts.mk> 6PROG_CXX= pmc 7MAN= 8WARNS?= 3 9CXXFLAGS+= -O0 10CXXSTD= c++14 11CWARNFLAGS.gcc+= -Wno-redundant-decls 12CFLAGS+= -I${SRCTOP}/lib/libpmcstat 13 14# Does not link when built position-independent. 15MK_PIE=no 16 17LIBADD= kvm pmc m ncursesw pmcstat elf 18 19SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \ 20 cmd_pmc_list.c cmd_pmc_filter.cc \ 21 cmd_pmc_summary.cc 22 23.include <bsd.prog.mk> 24