freebsd-dev/usr.sbin/pmc/Makefile
2021-10-04 11:38:24 +02:00

24 lines
381 B
Makefile

#
# $FreeBSD$
#
.include <src.opts.mk>
PROG_CXX= pmc
MAN=
WARNS?= 3
CXXFLAGS+= -O0
CXXSTD= c++14
CWARNFLAGS.gcc+= -Wno-redundant-decls
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
# Does not link when built position-independent.
MK_PIE=no
LIBADD= pmc m pmcstat elf
SRCS= pmc.c pmc_util.c cmd_pmc_stat.c \
cmd_pmc_list.c cmd_pmc_filter.cc \
cmd_pmc_summary.cc
.include <bsd.prog.mk>