summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-10-06 16:19:08 +0000
committersteve <steve@FreeBSD.org>1996-10-06 16:19:08 +0000
commita761e29d9abf79c441e6d9722538e4f3c2f32a7f (patch)
tree7544f99ee329646927ead5aa1e97a17546e6a36f /usr.bin
parent02de3b2b79dc2a3c4341c8da9c73508746c9e098 (diff)
downloadFreeBSD-src-a761e29d9abf79c441e6d9722538e4f3c2f32a7f.zip
FreeBSD-src-a761e29d9abf79c441e6d9722538e4f3c2f32a7f.tar.gz
Clarify the rule used to determine the object
directory location.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/main.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index 60804ef..db31a2d 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -498,11 +498,15 @@ main(argc, argv)
}
/*
- * If the MAKEOBJDIR (or by default, the _PATH_OBJDIR) directory
- * exists, change into it and build there. (If a .${MACHINE} suffix
- * exists, use that directory instead).
- * Otherwise check MAKEOBJDIRPREFIX`cwd` (or by default,
- * _PATH_OBJDIRPREFIX`cwd`) and build there if it exists.
+ * The object directory location is determined using the
+ * following order of preference:
+ *
+ * 1. MAKEOBJDIRPREFIX`cwd`
+ * 2. MAKEOBJDIR
+ * 3. _PATH_OBJDIR.${MACHINE}
+ * 4. _PATH_OBJDIR
+ * 5. _PATH_OBJDIRPREFIX${MACHINE}
+ *
* If all fails, use the current directory to build.
*
* Once things are initted,
OpenPOWER on IntegriCloud