#
# $FreeBSD$
# $Id: Makefile,v 1.11.2.1 2005/05/27 16:28:12 thomas Exp $
#
# capitrace - c4b CAPI trace tool
#

S=		${.CURDIR}/../common
.PATH:		$S

PROG=		capitrace
SRCS=		capitrace.cc config.cc trace_interpreter.cc tracer.cc \
		form_out_stream.cc trace_message_print.cc \
		bound_pointer.cc cmdopt2.cc
MAN=		capitrace.8

CFLAGS+=	-D_REENTRANT -D_THREAD_SAFE -pthread -I$S

DPADD+=		${LIBC_R} ${LIBCAPI20} ${LIBSTDCPLUSPLUS}
LDADD+=		-lc_r -lcapi20 -lstdc++

.include <bsd.prog.mk>
