summaryrefslogtreecommitdiffstats
path: root/lib/libthread_db/pthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthread_db/pthread/Makefile')
-rw-r--r--lib/libthread_db/pthread/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libthread_db/pthread/Makefile b/lib/libthread_db/pthread/Makefile
new file mode 100644
index 0000000..cbd245d
--- /dev/null
+++ b/lib/libthread_db/pthread/Makefile
@@ -0,0 +1,19 @@
+# $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>
OpenPOWER on IntegriCloud