mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 22:32:30 +01:00
415a606e17
PR: 245189 Reported by: Gordon Bergling Sponsored by: DARPA
24 lines
394 B
Makefile
24 lines
394 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= kvm pmc m ncursesw 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>
|