summaryrefslogtreecommitdiffstats
path: root/lib/libproc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libproc/Makefile')
-rw-r--r--lib/libproc/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/lib/libproc/Makefile b/lib/libproc/Makefile
index 8a0f4b2..9646570 100644
--- a/lib/libproc/Makefile
+++ b/lib/libproc/Makefile
@@ -18,16 +18,13 @@ CFLAGS+= -I${.CURDIR}
.if ${MK_CXX} == "no"
CFLAGS+= -DNO_CXA_DEMANGLE
.elif ${MK_LIBCPLUSPLUS} != "no"
-LDADD+= -lcxxrt
-DPADD+= ${LIBCXXRT}
+LIBADD+= cxxrt
.else
-LDADD+= -lsupc++
-DPADD+= ${LIBSTDCPLUSPLUS}
+LIBADD+= supcplusplus
.endif
.if ${MK_CDDL} != "no"
-LDADD+= -lctf
-DPADD+= ${LIBCTF}
+LIBADD+= ctf
IGNORE_PRAGMA= YES
CFLAGS+= -I${.CURDIR}/../../cddl/contrib/opensolaris/lib/libctf/common \
-I${.CURDIR}/../../sys/cddl/contrib/opensolaris/uts/common \
OpenPOWER on IntegriCloud