aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorTim Vanderhoek <hoek@FreeBSD.org>1999-07-31 20:53:02 +0000
committerTim Vanderhoek <hoek@FreeBSD.org>1999-07-31 20:53:02 +0000
commitb97af31bdb8b9902ee15b1a9b233d44af9b92958 (patch)
tree13e79140446839166f39762d4a7d3b3d2bb9cdb8 /usr.bin/make/make.h
parent97f8cf3b7fe0583b3d43a58140d8878ab02d9d85 (diff)
downloadsrc-b97af31bdb8b9902ee15b1a9b233d44af9b92958.tar.gz
src-b97af31bdb8b9902ee15b1a9b233d44af9b92958.zip
Add a -E flag, similar to -e (overide variables from environment) except
that -E only operates for a specified variable. Useful since the -e option will often pull-in many unwanted variable overrides (esp. in a make world situation). Uses include overriding BINOWN (which cannot be done by normal methods or through abuses of MAKEFLAGS) or likely for ports to honour CFLAGS (provided they're running on a system whose make(1) has this option).
Notes
Notes: svn path=/head/; revision=49332
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index 52d01db9f60d..fad9a9ddd599 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)make.h 8.3 (Berkeley) 6/13/95
- * $Id: make.h,v 1.7 1997/02/22 19:27:16 peter Exp $
+ * $Id: make.h,v 1.8 1998/11/14 16:15:04 dg Exp $
*/
/*-
@@ -311,7 +311,10 @@ extern Boolean queryFlag; /* TRUE if we aren't supposed to really make
* of-date */
extern Boolean checkEnvFirst; /* TRUE if environment should be searched for
- * variables before the global context */
+ * all variables before the global context */
+extern Lst envFirstVars; /* List of specific variables for which the
+ * environment should be searched before the
+ * global context */
extern GNode *DEFAULT; /* .DEFAULT rule */