2008-05-22 02:10:14 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2014-05-06 04:22:01 +00:00
|
|
|
.include <src.opts.mk>
|
2012-09-06 03:19:48 +00:00
|
|
|
|
2008-05-22 02:10:14 +00:00
|
|
|
LIB= proc
|
|
|
|
|
2010-07-31 16:10:20 +00:00
|
|
|
SRCS= proc_bkpt.c \
|
2008-05-22 02:10:14 +00:00
|
|
|
proc_create.c \
|
2010-07-31 16:10:20 +00:00
|
|
|
proc_regs.c \
|
2008-05-22 02:10:14 +00:00
|
|
|
proc_sym.c \
|
2010-07-31 16:10:20 +00:00
|
|
|
proc_rtld.c \
|
2008-05-22 02:10:14 +00:00
|
|
|
proc_util.c
|
|
|
|
|
|
|
|
INCS= libproc.h
|
|
|
|
|
2010-02-25 22:16:30 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}
|
2008-05-22 02:10:14 +00:00
|
|
|
|
2014-07-09 17:31:57 +00:00
|
|
|
.if ${MK_CXX} == "no"
|
|
|
|
CFLAGS+= -DNO_CXA_DEMANGLE
|
|
|
|
.elif ${MK_LIBCPLUSPLUS} != "no"
|
2012-09-06 03:19:48 +00:00
|
|
|
LDADD+= -lcxxrt
|
|
|
|
DPADD+= ${LIBCXXRT}
|
|
|
|
.else
|
|
|
|
LDADD+= -lsupc++
|
|
|
|
DPADD+= ${LIBSTDCPLUSPLUS}
|
|
|
|
.endif
|
|
|
|
|
2010-07-31 17:14:54 +00:00
|
|
|
SHLIB_MAJOR= 2
|
2008-05-22 02:10:14 +00:00
|
|
|
|
2014-04-13 05:21:56 +00:00
|
|
|
MAN=
|
2008-05-22 02:10:14 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|