summaryrefslogtreecommitdiffstats
path: root/lib/libproc/Makefile
blob: 49d9809e80cdea268359ba5ee41ba949a7751567 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $FreeBSD$

.include <bsd.own.mk>

LIB=	proc

SRCS=	proc_bkpt.c		\
	proc_create.c		\
	proc_regs.c		\
	proc_sym.c		\
	proc_rtld.c		\
	proc_util.c

INCS=	libproc.h

CFLAGS+=	-I${.CURDIR}

.if ${MK_LIBCPLUSPLUS} != "no"
LDADD+=		-lcxxrt
DPADD+=		${LIBCXXRT}
.elif ${MK_GNUCXX} != "no"
LDADD+=		-lsupc++
DPADD+=		${LIBSTDCPLUSPLUS}
.else
CFLAGS+=	-DNO_CXA_DEMANGLE
.endif

SHLIB_MAJOR=	2

MAN=

.include <bsd.lib.mk>
OpenPOWER on IntegriCloud