pmc: Add include path for libpmcstat as it is an internallib
Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D24173
This commit is contained in:
parent
e055e3367e
commit
ee55186dfd
@ -16,9 +16,10 @@ EVENT_ARCH="x86"
|
||||
EVENT_ARCH="powerpc"
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
|
||||
|
||||
.if ${MK_DIRDEPS_BUILD} == "yes"
|
||||
# avoid circular dependency
|
||||
CFLAGS+= -I${SRCTOP}/${RELDIR:H}/libpmcstat
|
||||
GENDIRDEPS_FILTER+= N${RELDIR:H}/libpmcstat
|
||||
JEVENTS?= ${HOST_OBJTOP}/${RELDIR}/pmu-events/jevents
|
||||
.else
|
||||
|
@ -10,6 +10,8 @@ SRCS= \
|
||||
libpmcstat_process.c \
|
||||
libpmcstat_string.c \
|
||||
libpmcstat_symbol.c
|
||||
INCS= libpmcstat.h
|
||||
|
||||
# If libpmcstat becomes public uncomment this line
|
||||
#INCS= libpmcstat.h
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
@ -9,6 +9,7 @@ WARNS?= 3
|
||||
CXXFLAGS+= -O0
|
||||
CXXSTD= c++14
|
||||
CWARNFLAGS.gcc+= -Wno-redundant-decls
|
||||
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
|
||||
|
||||
LIBADD= kvm pmc m ncursesw pmcstat elf
|
||||
|
||||
|
@ -5,6 +5,7 @@
|
||||
PROG_CXX= pmcstat
|
||||
MAN= pmcstat.8
|
||||
|
||||
CFLAGS+= -I${SRCTOP}/lib/libpmcstat
|
||||
LIBADD= kvm pmc m ncursesw pmcstat elf
|
||||
|
||||
SRCS= pmcstat.c pmcstat.h pmcstat_log.c \
|
||||
|
Loading…
Reference in New Issue
Block a user