From a31a2560024fed5037d93eb035bb734df4d3bda2 Mon Sep 17 00:00:00 2001 From: David Xu Date: Thu, 15 Jul 2004 03:36:35 +0000 Subject: Add my initial work of libthread_db. The library is used by gdb to debug threaded process. Current, only libpthread is supported, but macrel will work on it to support libthr and libc_r. --- lib/libthread_db/src/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 lib/libthread_db/src/Makefile (limited to 'lib/libthread_db/src/Makefile') diff --git a/lib/libthread_db/src/Makefile b/lib/libthread_db/src/Makefile new file mode 100644 index 0000000000000..236e7bc21b491 --- /dev/null +++ b/lib/libthread_db/src/Makefile @@ -0,0 +1,15 @@ +# $FreeBSD$ + +SHLIB_NAME=libthread_db.so.1 +NOPROFILE=yes +CFLAGS+=-Wall -I${.CURDIR}/../../../include -I${.CURDIR}/../include +LDADD=../pthread/libpthread_db.a + +PRECIOUSLIB=yes + +.PATH: ${.CURDIR} + +SRCS+=thread_db.c +INCS=../include/thread_db.h + +.include -- cgit v1.3