summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2014-12-27 17:10:14 +0000
committerngie <ngie@FreeBSD.org>2014-12-27 17:10:14 +0000
commit7a63e2f688729009a94a080229c461301759daa7 (patch)
treec81b248833a6555d4784651c2b8aa3de7034e0cf /gnu
parent8add61763b21b8a771358ffb7487539302c74b89 (diff)
downloadFreeBSD-src-7a63e2f688729009a94a080229c461301759daa7.zip
FreeBSD-src-7a63e2f688729009a94a080229c461301759daa7.tar.gz
MFC r275866:
Parallelize building gnu/usr.bin/groff This speeds up building the directory from the bootstrap-tools stage in buildworld as well as building from the subdirectory Based on a patch submitted via -arch: https://lists.freebsd.org/pipermail/freebsd-arch/2014-December/016493.html Submitted by: Jia-Shiun Li <jiashiun@gmail.com> Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/groff/Makefile4
-rw-r--r--gnu/usr.bin/groff/src/Makefile6
-rw-r--r--gnu/usr.bin/groff/src/devices/Makefile2
-rw-r--r--gnu/usr.bin/groff/src/libs/Makefile2
-rw-r--r--gnu/usr.bin/groff/src/preproc/Makefile2
-rw-r--r--gnu/usr.bin/groff/src/roff/Makefile2
-rw-r--r--gnu/usr.bin/groff/src/utils/Makefile2
7 files changed, 20 insertions, 0 deletions
diff --git a/gnu/usr.bin/groff/Makefile b/gnu/usr.bin/groff/Makefile
index 7c61f71..2db554f 100644
--- a/gnu/usr.bin/groff/Makefile
+++ b/gnu/usr.bin/groff/Makefile
@@ -2,4 +2,8 @@
SUBDIR= contrib doc font man src tmac
+.for subdir in ${SUBDIR:Nsrc}
+SUBDIR_DEPEND_${subdir}= src
+.endfor
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/Makefile b/gnu/usr.bin/groff/src/Makefile
index 7d2ca90..291b27c 100644
--- a/gnu/usr.bin/groff/src/Makefile
+++ b/gnu/usr.bin/groff/src/Makefile
@@ -2,4 +2,10 @@
SUBDIR= libs devices preproc roff utils
+SUBDIR_PARALLEL=
+
+.for subdir in ${SUBDIR:Nlibs}
+SUBDIR_DEPEND_${subdir}= libs
+.endfor
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/devices/Makefile b/gnu/usr.bin/groff/src/devices/Makefile
index 8af4ff8..53dc4ed 100644
--- a/gnu/usr.bin/groff/src/devices/Makefile
+++ b/gnu/usr.bin/groff/src/devices/Makefile
@@ -2,4 +2,6 @@
SUBDIR= grodvi grohtml grolbp grolj4 grops grotty
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/libs/Makefile b/gnu/usr.bin/groff/src/libs/Makefile
index 1461cda..3738314 100644
--- a/gnu/usr.bin/groff/src/libs/Makefile
+++ b/gnu/usr.bin/groff/src/libs/Makefile
@@ -2,4 +2,6 @@
SUBDIR= libgroff libdriver libbib
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/preproc/Makefile b/gnu/usr.bin/groff/src/preproc/Makefile
index 70af839..f208bf2 100644
--- a/gnu/usr.bin/groff/src/preproc/Makefile
+++ b/gnu/usr.bin/groff/src/preproc/Makefile
@@ -2,4 +2,6 @@
SUBDIR= eqn grn html pic refer soelim tbl
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/roff/Makefile b/gnu/usr.bin/groff/src/roff/Makefile
index 543a990..6f23c42 100644
--- a/gnu/usr.bin/groff/src/roff/Makefile
+++ b/gnu/usr.bin/groff/src/roff/Makefile
@@ -2,4 +2,6 @@
SUBDIR= groff grog nroff psroff troff
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
diff --git a/gnu/usr.bin/groff/src/utils/Makefile b/gnu/usr.bin/groff/src/utils/Makefile
index 14953b9..045030c 100644
--- a/gnu/usr.bin/groff/src/utils/Makefile
+++ b/gnu/usr.bin/groff/src/utils/Makefile
@@ -2,4 +2,6 @@
SUBDIR= addftinfo afmtodit hpftodit indxbib lkbib lookbib pfbtops tfmtodit
+SUBDIR_PARALLEL=
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud