summaryrefslogtreecommitdiffstats
path: root/usr.bin/tn3270
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-09-29 18:32:39 +0000
committerbde <bde@FreeBSD.org>1995-09-29 18:32:39 +0000
commit84945bf540e750dfdb69a50f78b7322c16035a8f (patch)
tree6f283bca69ed8c83e1451e5114aaa509c5e8cd4a /usr.bin/tn3270
parent88fe667d3502c54a9143eea7b611ec0362bb639c (diff)
downloadFreeBSD-src-84945bf540e750dfdb69a50f78b7322c16035a8f.zip
FreeBSD-src-84945bf540e750dfdb69a50f78b7322c16035a8f.tar.gz
Build tools subdir first to reduce bogons caused by inadequate dependency
handling for the tools binaries. E.g., after libc.a is changed, it previously took two `make' passes and one `make depend' pass following one of the `make' passes to bring everything up to date. Now one `make' pass followed by one `make depend' pass is sufficient. Dependency handling seems to be difficult to handle cleanly when interdependent things are built in different directories.
Diffstat (limited to 'usr.bin/tn3270')
-rw-r--r--usr.bin/tn3270/Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/usr.bin/tn3270/Makefile b/usr.bin/tn3270/Makefile
index f417747..2997c41 100644
--- a/usr.bin/tn3270/Makefile
+++ b/usr.bin/tn3270/Makefile
@@ -1,9 +1,17 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
-SUBDIR= tn3270 mset
-
.if !make(install) && !make(distribute)
-SUBDIR+=tools
+# Build tools first so that things don't get built using stale tools and
+# then built again after the tools are freshened.
+#
+# XXX this doesn't fix the problem if the tools are built by running make
+# in the tn3270 subdir, because the Makefile doesn't give the full
+# dependencies of the tools.
+#
+# XXX this doesn't fix the problem for `make depend' either.
+SUBDIR= tools
.endif
+SUBDIR+=tn3270 mset
+
.include <bsd.subdir.mk>
OpenPOWER on IntegriCloud