summaryrefslogtreecommitdiff
path: root/lib/libpthread/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/Makefile')
-rw-r--r--lib/libpthread/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile
index 866c4456a5c..6bd1d145d68 100644
--- a/lib/libpthread/Makefile
+++ b/lib/libpthread/Makefile
@@ -5,16 +5,16 @@
.include <bsd.own.mk>
LIB=pthread
-NOPIC= no
-CPPFLAGS+= -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE_ARCH}
+NOPIC=no
+CPPFLAGS+=-DPTHREAD_KERNEL -I. -I${.CURDIR}/include -I${.CURDIR}/arch/${MACHINE_ARCH}
+.include "${.CURDIR}/include/Makefile.inc"
.include "${.CURDIR}/arch/${MACHINE}/Makefile.inc"
-#.include "${.CURDIR}/pthreads/Makefile.inc"
-#.include "${.CURDIR}/stdlib/Makefile.inc"
-#.include "${.CURDIR}/stdio/Makefile.inc"
-#.include "${.CURDIR}/string/Makefile.inc"
-#.include "${.CURDIR}/gen/Makefile.inc"
-#.include "${.CURDIR}/net/Makefile.inc"
-#.include "${.CURDIR}/scripts/Makefile.inc"
+.include "${.CURDIR}/pthreads/Makefile.inc"
+.include "${.CURDIR}/stdlib/Makefile.inc"
+.include "${.CURDIR}/stdio/Makefile.inc"
+.include "${.CURDIR}/string/Makefile.inc"
+.include "${.CURDIR}/gen/Makefile.inc"
+.include "${.CURDIR}/net/Makefile.inc"
.include <bsd.lib.mk>