NetBSD/usr.bin/make
tv 053d51348d Overhaul the initialization and handling of .OBJDIR:
* Replace chdir_verify_path() with Main_SetObjdir(), which can be called
  externally, and can take a "const char *".  (There's a lot of non-const
  "char *" passing around in var.c of what should be const strings....)

* Rewrite the initial "find my .OBJDIR" code to make use of the new
  function.  This still functions as it had in the past, but the comment
  above this block was changed to reflect reality:  if MAKEOBJDIRPREFIX
  or MAKEOBJDIR are set in the environment, then *only that value* is
  tried; make does not fall back to obj.MACHINE, obj, and /usr/obj/`pwd`
  as it would without these env vars set.

* Add a new special target, .OBJDIR:, which when parsed will cause make to
  change to a new object directory and reset .OBJDIR, and PWD in the
  environment.  This will allow some makefiles (mainly, src/tools)
  to override the default objdir semantics in order to add custom logic.
2001-10-31 03:59:42 +00:00
..
lst.lib comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
PSD.doc precede, not preceed. 2001-08-20 12:00:46 +00:00
arch.c Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not 2001-06-12 23:36:17 +00:00
bit.h
buf.c
buf.h
compat.c Don't ignore errors during .END processing. 2001-10-16 18:50:12 +00:00
cond.c Provide a new .if commands(<target>) primitive that returns true if the 2001-01-14 20:44:26 +00:00
config.h better error messages on exec* failures. From Simon Burge. 2001-05-29 17:37:51 +00:00
dir.c
dir.h
for.c Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not 2001-06-12 23:36:17 +00:00
hash.c
hash.h
job.c When attempting to chdir to .CURDIR because Check_Cwd_Cmd says we need to 2001-10-16 18:06:29 +00:00
job.h A number of semi-related changes. 2001-06-01 20:33:37 +00:00
list.h
lst.h
main.c Overhaul the initialization and handling of .OBJDIR: 2001-10-31 03:59:42 +00:00
make.1 Fix typo in definition of PARSEFILE. It should refer to PARSEDIR (and not 2001-10-23 06:32:38 +00:00
make.c add .USEBEFORE Attribute 2001-07-03 18:08:50 +00:00
make.h Overhaul the initialization and handling of .OBJDIR: 2001-10-31 03:59:42 +00:00
Makefile Overhaul the initialization and handling of .OBJDIR: 2001-10-31 03:59:42 +00:00
Makefile.boot Add trace.o 2001-01-18 05:53:05 +00:00
nonints.h Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not 2001-06-12 23:36:17 +00:00
parse.c Overhaul the initialization and handling of .OBJDIR: 2001-10-31 03:59:42 +00:00
pathnames.h
sprite.h
str.c
suff.c precede, not preceed. 2001-08-20 12:00:46 +00:00
targ.c precede, not preceed. 2001-08-20 12:00:46 +00:00
trace.c <sys/time.h>, rather than <time.h>. The former is actually the documented 2001-01-23 02:48:05 +00:00
trace.h Quick and dirty trace mechanism to make it easier to look at how different 2000-12-29 23:11:08 +00:00
util.c
var.c Add 4th arg (flags) to Var_Set so that VarLoopExpand can tell it not 2001-06-12 23:36:17 +00:00