1# $FreeBSD$ 2 3.include <bsd.own.mk> 4 5LIB= proc 6 7SRCS= proc_bkpt.c \ 8 proc_create.c \ 9 proc_regs.c \ 10 proc_sym.c \ 11 proc_rtld.c \ 12 proc_util.c 13 14INCS= libproc.h 15 16CFLAGS+= -I${.CURDIR} 17 18.if ${MK_LIBCPLUSPLUS} != "no" 19LDADD+= -lcxxrt 20DPADD+= ${LIBCXXRT} 21.else 22LDADD+= -lsupc++ 23DPADD+= ${LIBSTDCPLUSPLUS} 24.endif 25 26SHLIB_MAJOR= 2 27 28MAN= 29 30.include <bsd.lib.mk> 31