opnsense-src/lib/libthread_db/pthread/Makefile
David Xu a31a256002 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.
2004-07-15 03:36:35 +00:00

19 lines
456 B
Makefile

# $FreeBSD$
LIB=pthread_db
INTERNALLIB=yes
NOPROFILE=yes
NOPIC=yes
CFLAGS+=-DPTHREAD_KERNEL -fpic -DPIC
CFLAGS+=-I${.CURDIR}/../include \
-I${.CURDIR}/../../libc/include -I${.CURDIR}/../../libpthread/thread \
-I${.CURDIR}/../../../include
CFLAGS+=-I${.CURDIR}/../../libpthread/arch/${MACHINE_ARCH}/include
CFLAGS+=-I${.CURDIR}/../../libpthread/sys
CFLAGS+=-Wall
.PATH: ${.CURDIR}
SRCS+=pthread_db.c pthread_db_${MACHINE_ARCH}.c
.include <bsd.lib.mk>