2008-05-22 02:10:14 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2012-09-06 03:19:48 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
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
|
|
|
|
2012-09-06 03:19:48 +00:00
|
|
|
.if ${MK_LIBCPLUSPLUS} != "no"
|
|
|
|
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
|
|
|
|
2010-02-25 22:16:30 +00:00
|
|
|
WITHOUT_MAN=
|
2008-05-22 02:10:14 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|