summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1992-05-03 22:09:16 +0000
committerRoland McGrath <roland@redhat.com>1992-05-03 22:09:16 +0000
commit7a7b9644aaeb3f2a00728210f261e17cffeedafa (patch)
tree3741562fb9696d3c103c4e9dc7ecee98f14aa71a
parenta2032ba51f253d4340b8de9d5f751925c70fe53b (diff)
downloadgunmake-7a7b9644aaeb3f2a00728210f261e17cffeedafa.tar.gz
Formerly variable.h.~2~
-rw-r--r--variable.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/variable.h b/variable.h
index 00a44fb..4397268 100644
--- a/variable.h
+++ b/variable.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1988, 1989, 1990, 1991 Free Software Foundation, Inc.
+/* Copyright (C) 1988, 1989, 1990, 1991, 1992 Free Software Foundation, Inc.
This file is part of GNU Make.
GNU Make is free software; you can redistribute it and/or modify
@@ -42,6 +42,12 @@ struct variable
origin ENUM_BITFIELD (3); /* Variable origin. */
unsigned int recursive:1; /* Gets recursively re-evaluated. */
unsigned int expanding:1; /* Nonzero if currently being expanded. */
+ enum
+ {
+ v_export, /* Export this variable. */
+ v_noexport, /* Don't export this variable. */
+ v_default /* Decide in target_environment. */
+ } export ENUM_BITFIELD (2);
};
/* Structure that represents a variable set. */
@@ -83,7 +89,7 @@ extern void print_file_variables ();
extern void merge_variable_set_lists ();
-extern int try_variable_definition ();
+extern struct variable *try_variable_definition ();
extern struct variable *lookup_variable (), *define_variable ();
extern struct variable *define_variable_for_file ();