freebsd-dev/usr.bin/make
Hartmut Brandt 352a63dee8 Introduce a new pseudo-target .EXPORTVAR which allows to put a
make macro into the environment of programs executed by make. This
has approximately the same function as gmake's export directive.
The form of a pseudo target was deliberately choosen to minimize work
for POSIX compatibility (Makefiles are not allowed to use any targets
starting with a dot and consisting only of uppercase letters except those
specified in the standard when they want POSIX compatible behaviour, so
such a Makefile can never contain .EXPORTVAR.)
Change the handling of macros coming from the environment: instead
of asking the environment for each variable we could not find otherwise
put all the environment variables in a special variable environment just
at start up.

This has been tested on the ports cluster by kris.

Submitted by:	Max Okumoto <okumoto@ucsd.edu>
2005-05-06 18:30:06 +00:00
..
PSD.doc
arch.c Almost complete rewrite of the archive code (except for the Makefile parsing 2005-03-31 11:35:56 +00:00
arch.h Almost complete rewrite of the archive code (except for the Makefile parsing 2005-03-31 11:35:56 +00:00
buf.c Move the MAX macro to a util.h so it becomes usable in other modules. 2005-03-31 11:12:45 +00:00
buf.h Two new functions: Buf_Data() returns a reference to the data in 2005-03-22 07:42:51 +00:00
compat.c Replace Lst_ForEach by LST_FOREACH. 2005-03-16 16:02:09 +00:00
compat.h Replace the calls to Lst_ForEach with the new LST_FOREACH macro and 2005-02-24 10:23:31 +00:00
cond.c Implement a pseudo-target .WARN that allows toggeling the warning flags 2005-04-29 14:37:44 +00:00
cond.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
config.h
dir.c Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
dir.h Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
for.c Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
for.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
globals.h Implement a pseudo-target .WARN that allows toggeling the warning flags 2005-04-29 14:37:44 +00:00
GNode.h Remove the leading underscore from structure tags. All identifiers 2005-03-11 12:57:25 +00:00
hash_tables.c Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00
hash_tables.h Rename the directive_hash.[ch] files to hash_tables.[ch] now 2005-04-29 15:15:28 +00:00
hash.c
hash.h
job.c Mostly stylistic changes: remove the noPLen field from the Shell 2005-04-07 11:26:15 +00:00
job.h Remove a forward declaration that isn't needed anymore. 2005-04-01 16:23:48 +00:00
lst.c Style: fix indentation. 2005-04-01 11:20:17 +00:00
lst.h Remove debugging code that crept in in the last commit. 2005-03-22 12:52:00 +00:00
main.c Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00
make.1 Document the new -A flag for ignoring archive errors. 2005-03-31 11:40:53 +00:00
make.c Style: indentation. 2005-04-01 13:02:17 +00:00
make.h Introduce a flag to enable extended warnings (-x) and make them off 2005-04-28 15:37:25 +00:00
Makefile Rename the directive_hash.[ch] files to hash_tables.[ch] now 2005-04-29 15:15:28 +00:00
Makefile.dist Move all the remaining list functions into one C-file and remove 2005-02-01 15:28:41 +00:00
nonints.h Implement a pseudo-target .WARN that allows toggeling the warning flags 2005-04-29 14:37:44 +00:00
parse.c Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00
parse.h Rework the directive parsing code. Instead of using a lot of strcmp()s 2005-04-11 07:20:10 +00:00
pathnames.h Remove leading underscores from the pathname defines. All identifiers 2005-03-11 13:02:38 +00:00
sprite.h
str.c Style: fix indentation. 2005-04-01 13:06:05 +00:00
str.h Constify the input argument to brk_string. 2005-03-07 16:10:39 +00:00
suff.c Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
suff.h Make paths an explicite datatype instead of using the generic Lst. 2005-03-23 12:56:15 +00:00
targ.c Style: fix indentation. 2005-04-01 11:12:29 +00:00
targ.h Some more easy constification. 2005-02-04 07:51:00 +00:00
util.c Simplify the print routines by using LST_FOREACH instead of Lst_ForEach 2005-03-11 13:24:08 +00:00
util.h Move the MAX macro to a util.h so it becomes usable in other modules. 2005-03-31 11:12:45 +00:00
var_modify.c Style: fix indentation. 2005-04-01 13:25:45 +00:00
var.c Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00
var.h Introduce a new pseudo-target .EXPORTVAR which allows to put a 2005-05-06 18:30:06 +00:00