blob: 898bb3a0e28db7de7c0a9826bf06ae3abbfe79be (
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
WITHOUT_MAN=
.include <bsd.lib.mk>
|