Module Name: src
Committed By: matt
Date: Thu Aug 15 22:38:24 UTC 2013
Modified Files:
src/lib/libpthread: Makefile
Log Message:
Add support for an optional ARCHSUBDIR/Makefile.inc
To generate a diff of this commit:
cvs rdiff -u -r1.81 -r1.82 src/lib/libpthread/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libpthread/Makefile
diff -u src/lib/libpthread/Makefile:1.81 src/lib/libpthread/Makefile:1.82
--- src/lib/libpthread/Makefile:1.81 Mon Aug 12 17:15:46 2013
+++ src/lib/libpthread/Makefile Thu Aug 15 22:38:24 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.81 2013/08/12 17:15:46 joerg Exp $
+# $NetBSD: Makefile,v 1.82 2013/08/15 22:38:24 matt Exp $
#
WARNS?= 5
@@ -58,6 +58,9 @@ SRCS+= sem.c
.if exists(${ARCHDIR}/pthread_md.S)
SRCS+= pthread_md.S
.endif
+.if exists(${ARCHDIR}/Makefile.inc)
+.include "${ARCHDIR}/Makefile.inc"
+.endif
# The PTHREAD__COMPAT flag builds a libpthread that can be dropped
# into a NetBSD 2/3/4 chroot with a NetBSD 5 or later kernel.