aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2014-12-17 19:46:12 +0000
committerEnji Cooper <ngie@FreeBSD.org>2014-12-17 19:46:12 +0000
commite92bda2e4b62fb3c190153f4375cbcfecae80216 (patch)
tree367428c6d235bed57e0a0f11487c6012581d6c89 /gnu
parent34961f407de5e59e219961c25c33db6bc0f39847 (diff)
downloadsrc-e92bda2e4b62fb3c190153f4375cbcfecae80216.tar.gz
src-e92bda2e4b62fb3c190153f4375cbcfecae80216.zip
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 MFC after: 1 week Submitted by: Jia-Shiun Li <jiashiun@gmail.com> Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=275866
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 7c61f71be945..2db554f6d408 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 7d2ca90a2252..291b27c9d56a 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 8af4ff85b996..53dc4ed1581a 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 1461cda28bac..373831492640 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 70af839313d6..f208bf2389be 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 543a990c680f..6f23c42c95a8 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 14953b925312..045030cb4417 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>