1321964Ssjg2017-07-20  Simon J. Gerraty  <sjg@bad.crufty.net>
2321964Ssjg
3321964Ssjg	* Makefile (_MAKE_VERSION): 20170720
4321964Ssjg	  Merge with NetBSD make, pick up
5321964Ssjg	  o compat.c: pass SIGINT etc onto child and wait for it to exit
6321964Ssjg	    before we self-terminate.
7321964Ssjg
8321964Ssjg2017-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
9321964Ssjg
10321964Ssjg	* Makefile (_MAKE_VERSION): 20170711
11321964Ssjg	  forgot to update after merge on 20170708 ;-)
12321964Ssjg	  o main.c: refactor to reduce size of main function.
13321964Ssjg	    add -v option to always fully expand values.
14321964Ssjg	  o meta.c: ensure command output in meta file has ending newline
15321964Ssjg	    even when filemon not being used.
16321964Ssjg	    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
17321964Ssjg	    pathname via ':L' since any ':' in pathname breaks that.
18321964Ssjg	    Instead set a '${.p.}' to pathname in the target context and
19321964Ssjg	    use that.
20321964Ssjg
21321964Ssjg2017-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
22321964Ssjg
23321964Ssjg	* Makefile (_MAKE_VERSION): 20170510
24321964Ssjg	  Merge with NetBSD make, pick up
25321964Ssjg	  o main.c: Main_SetObjdir: ensure buf2 is in scope
26321964Ssjg
27321964Ssjg2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
28321964Ssjg
29321964Ssjg	* Makefile (_MAKE_VERSION): 20170505
30321964Ssjg	  see mk/ChangeLog
31321964Ssjg
32321964Ssjg2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
33321964Ssjg
34321964Ssjg	* parse.c: not everyone has stdint.h
35321964Ssjg
36321964Ssjg2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
37321964Ssjg
38321964Ssjg	* Makefile (_MAKE_VERSION): 20170501
39321964Ssjg	  see mk/ChangeLog
40321964Ssjg
41321964Ssjg2017-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
42321964Ssjg
43321964Ssjg	* Makefile (_MAKE_VERSION): 20170421
44321964Ssjg	  Merge with NetBSD make, pick up
45321964Ssjg	  o str.c: Str_Match: fix closure tests for [^] and add unit-test.
46321964Ssjg
47321964Ssjg2017-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
48321964Ssjg
49321964Ssjg	* Makefile (_MAKE_VERSION): 20170420
50321964Ssjg	  Merge with NetBSD make, pick up
51321964Ssjg	  o main.c: only use -C arg "as is" if it contains no 
52321964Ssjg	    relative component.
53321964Ssjg
54321964Ssjg2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
55321964Ssjg
56321964Ssjg	* Makefile (_MAKE_VERSION): 20170418
57321964Ssjg	  Merge with NetBSD make, pick up
58321964Ssjg	  o main.c: fix Main_SetObjdir() for relative paths (eg obj).
59321964Ssjg
60321964Ssjg2017-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
61321964Ssjg
62321964Ssjg	* Makefile (_MAKE_VERSION): 20170417
63321964Ssjg	  Merge with NetBSD make, pick up
64321964Ssjg	  o fixes a number of coverity complaints
65321964Ssjg	    - check return value of fseek, fcntl
66321964Ssjg	    - plug memory leak in Dir_FindFile, Var_LoopExpand,
67321964Ssjg	      JobPrintCommand, ParseTraditionalInclude
68321964Ssjg	    - use bmake_malloc() where NULL is not tollerated
69321964Ssjg	    - use MAKE_ATTR_UNUSED rather that kludges like 
70321964Ssjg	      return(unused ? 0 : 0)
71321964Ssjg	    - use purge_cached_realpaths() rather than abuse cached_realpath()
72321964Ssjg
73321964Ssjg2017-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
74321964Ssjg
75321964Ssjg	* Makefile (_MAKE_VERSION): 20170413
76321964Ssjg	  Merge with NetBSD make, pick up
77321964Ssjg	  o main.c: when setting .OBJDIR ignore '$' in paths.
78321964Ssjg
79321964Ssjg	* job.c: use MALLOC_OPTIONS to set malloc_options.
80321964Ssjg
81321964Ssjg2017-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
82321964Ssjg
83321964Ssjg	* Makefile (_MAKE_VERSION): 20170411
84321964Ssjg	  Merge with NetBSD make, pick up
85321964Ssjg	  o str.c: Str_Match: allow [^a-z] to behave as expected.
86321964Ssjg
87321964Ssjg2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
88321964Ssjg
89321964Ssjg	* Makefile (_MAKE_VERSION): 20170326
90321964Ssjg	  Merge with NetBSD make, pick up
91321964Ssjg	  o main.c: purge relative paths from realpath cache when .OBJDIR
92321964Ssjg	    is changed.
93321964Ssjg
94321964Ssjg2017-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
95321964Ssjg
96321964Ssjg	* Makefile (_MAKE_VERSION): 20170311
97321964Ssjg	  Merge with NetBSD make, pick up
98321964Ssjg          o main.c: only use -C arg "as is" if it starts with '/'.
99321964Ssjg
100321964Ssjg2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
101321964Ssjg
102321964Ssjg	* Makefile (_MAKE_VERSION): 20170301
103321964Ssjg	  Merge with NetBSD make, pick up
104321964Ssjg	  o main.c: use -C arg "as is" rather than getcwd()
105321964Ssjg	    if they identify the same directory.
106321964Ssjg	  o parse.c: ensure loadfile buffer is \n terminated in non-mmap case
107321964Ssjg
108321964Ssjg2017-02-01  Simon J. Gerraty  <sjg@bad.crufty.net>
109321964Ssjg
110321964Ssjg	* Makefile (_MAKE_VERSION): 20170201
111321964Ssjg	  Merge with NetBSD make, pick up
112321964Ssjg	  o var.c: allow :_=var and avoid use of special context.
113321964Ssjg
114321964Ssjg2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
115321964Ssjg
116321964Ssjg	* Makefile (_MAKE_VERSION): 20170130
117321964Ssjg	  Merge with NetBSD make, pick up
118321964Ssjg	  o var.c: add :range and :_
119321964Ssjg	  o main.c: partially initialize Dir_* before MainParseArgs()
120321964Ssjg	    can be called.
121321964Ssjg	    If -V, skip Main_ExportMAKEFLAGS()
122321964Ssjg
123321964Ssjg2017-01-14  Simon J. Gerraty  <sjg@bad.crufty.net>
124321964Ssjg
125321964Ssjg	* Makefile (_MAKE_VERSION): 20170114
126321964Ssjg	  Merge with NetBSD make, pick up
127321964Ssjg	  o var.c: allow specifying the utc value used by :{gm,local}time
128321964Ssjg
129321964Ssjg2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
130321964Ssjg
131321964Ssjg	* Makefile (_MAKE_VERSION): 20161212
132321964Ssjg	  Merge with NetBSD make, pick up
133321964Ssjg          o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.
134321964Ssjg
135321964Ssjg2016-12-09  Simon J. Gerraty  <sjg@bad.crufty.net>
136321964Ssjg
137321964Ssjg	* Makefile (_MAKE_VERSION): 20161209
138321964Ssjg	  Merge with NetBSD make, pick up
139321964Ssjg	  o main.c: cleanup setting of .OBJDIR
140321964Ssjg	  o parse.c: avoid coredump from (var)=val
141321964Ssjg
142321964Ssjg2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
143321964Ssjg
144321964Ssjg	* Makefile (_MAKE_VERSION): 20161126
145321964Ssjg	  Merge with NetBSD make, pick up
146321964Ssjg	  o make.c: Make_OODate: report src node name if path not set
147321964Ssjg
148321964Ssjg2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
149321964Ssjg
150321964Ssjg	* Makefile (_MAKE_VERSION): 20160926
151321964Ssjg	  Merge with NetBSD make, pick up
152321964Ssjg	  o support for .DELETE_ON_ERROR: (remove targets that fail)
153321964Ssjg	
154321964Ssjg2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
155321964Ssjg
156321964Ssjg	* Makefile MAN: tweak .Dt to match ${PROG}
157321964Ssjg
158321964Ssjg2016-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
159321964Ssjg
160321964Ssjg	* Makefile (_MAKE_VERSION): 20160818
161321964Ssjg	  its a neater number; pick up whitespace fixes to man page.
162321964Ssjg
163321964Ssjg2016-08-17  Simon J. Gerraty  <sjg@bad.crufty.net>
164321964Ssjg
165321964Ssjg	* Makefile (_MAKE_VERSION): 20160817
166321964Ssjg	  Merge with NetBSD make, pick up
167321964Ssjg	  o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
168321964Ssjg	    so we can call it before adding entries to missingFiles.
169321964Ssjg	    Thus we do not track files we have been told to ignore.
170321964Ssjg
171321964Ssjg2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
172321964Ssjg
173321964Ssjg	* Makefile (_MAKE_VERSION): 20160815
174321964Ssjg	  Merge with NetBSD make, pick up
175321964Ssjg	  o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
176321964Ssjg	    pathnames, and skip if the expansion is empty.
177321964Ssjg	    Useful for dirdeps.mk when checking DIRDEPS_CACHE.
178321964Ssjg
179321964Ssjg2016-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
180321964Ssjg
181321964Ssjg	* Makefile (_MAKE_VERSION): 20160812
182321964Ssjg	  Merge with NetBSD make, pick up
183321964Ssjg	  o meta.c: remove all missingFiles entries that match a deleted
184321964Ssjg	    dir.
185321964Ssjg	  o main.c: set .ERROR_CMD if possible.
186321964Ssjg	  
187321964Ssjg2016-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
188321964Ssjg
189321964Ssjg	* Makefile (_MAKE_VERSION): 20160606
190321964Ssjg	  Merge with NetBSD make, pick up
191321964Ssjg	  o dir.c: extend mtimes cache to others via cached_stat()
192321964Ssjg
193321964Ssjg2016-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
194321964Ssjg
195321964Ssjg	* Makefile (_MAKE_VERSION): 20160604
196321964Ssjg	  Merge with NetBSD make, pick up
197321964Ssjg	  o meta.c: missing filemon data is only relevant if we read a
198321964Ssjg	    meta file.
199321964Ssjg	    Also do not return oodate for a missing metafile if gn->path
200321964Ssjg	    points to .CURDIR
201321964Ssjg	
202321964Ssjg2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
203321964Ssjg
204321964Ssjg	* Makefile (_MAKE_VERSION): 20160602
205321964Ssjg	  Merge with NetBSD make, pick up
206321964Ssjg	  o cached_realpath(): avoid hitting filesystem more than necessary.
207321964Ssjg	  o meta.c: refactor need_meta decision, add knobs for 
208321964Ssjg	    missing meta file and filemon data wrt out-of-datedness.
209321964Ssjg
210321964Ssjg2016-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
211321964Ssjg
212321964Ssjg	* Makefile (_MAKE_VERSION): 20160528
213321964Ssjg
214321964Ssjg	* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION 
215321964Ssjg
216321964Ssjg2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
217321964Ssjg
218321964Ssjg	* Makefile (_MAKE_VERSION): 20160512
219321964Ssjg	  Merge with NetBSD make, pick up
220321964Ssjg	  o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
221321964Ssjg	    this is useful for gcov builds.
222321964Ssjg	  o propagate errors from filemon(4).
223321964Ssjg	
224321964Ssjg2016-05-09  Simon J. Gerraty  <sjg@bad.crufty.net>
225321964Ssjg
226321964Ssjg	* Makefile (_MAKE_VERSION): 20160509
227321964Ssjg	  Merge with NetBSD make, pick up
228321964Ssjg	  o remove use of non-standard types u_int etc.
229321964Ssjg	  o meta.c: apply realpath() before matching against metaIgnorePaths
230321964Ssjg
231321964Ssjg2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
232321964Ssjg
233321964Ssjg	* Makefile (_MAKE_VERSION): 20160404
234321964Ssjg	  Merge with NetBSD make, pick up
235321964Ssjg	  o allow makefile to set .MAKE.JOBS
236321964Ssjg
237321964Ssjg	* Makefile (PROG_NAME): use ${_MAKE_VERSION}
238321964Ssjg
239321964Ssjg2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
240321964Ssjg
241321964Ssjg	* Makefile (_MAKE_VERSION): 20160315
242321964Ssjg	  Merge with NetBSD make, pick up
243321964Ssjg	  o fix handling of archive members
244321964Ssjg
245321964Ssjg2016-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
246321964Ssjg
247321964Ssjg	* Makefile (_MAKE_VERSION): rename variable to avoid interference
248321964Ssjg	  with checks for ${MAKE_VERSION}
249321964Ssjg
250321964Ssjg2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
251321964Ssjg
252321964Ssjg	* Makefile (MAKE_VERSION): 20160310
253321964Ssjg	  Merge with NetBSD make, pick up
254321964Ssjg	  o meta.c: treat missing Read file same as Write, incase we Delete it.
255321964Ssjg
256321964Ssjg2016-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
257321964Ssjg
258321964Ssjg	* Makefile (MAKE_VERSION): 20160307
259321964Ssjg	  Merge with NetBSD make, pick up
260321964Ssjg	  o var.c: fix :ts\nnn to be octal by default.
261321964Ssjg	  o meta.c: meta_finish() to cleanup memory.
262321964Ssjg
263321964Ssjg2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
264321964Ssjg
265321964Ssjg	* Makefile (MAKE_VERSION): 20160226
266321964Ssjg	  Merge with NetBSD make, pick up
267321964Ssjg	  o meta.c: allow meta file for makeDepend if makefiles want it.
268321964Ssjg
269321964Ssjg2016-02-19  Simon J. Gerraty  <sjg@bad.crufty.net>
270321964Ssjg
271321964Ssjg	* var.c: default .MAKE.SAVE_DOLLARS to FALSE
272321964Ssjg	  for backwards compatability.
273321964Ssjg
274321964Ssjg	* Makefile (MAKE_VERSION): 20160220
275321964Ssjg	  Merge with NetBSD make, pick up
276321964Ssjg	  o var.c: add knob to control handling of '$$' in :=
277321964Ssjg
278321964Ssjg2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
279321964Ssjg
280321964Ssjg	* Makefile (MAKE_VERSION): 20160218
281321964Ssjg	  Merge with NetBSD make, pick up
282321964Ssjg	  o var.c: add .export-literal allows us to fix sys.clean-env.mk
283321964Ssjg	    post the changes to Var_Subst.
284321964Ssjg	    Var_Subst now takes flags, and does not consume '$$' in :=
285321964Ssjg
286321964Ssjg2016-02-17  Simon J. Gerraty  <sjg@bad.crufty.net>
287321964Ssjg
288321964Ssjg	* Makefile (MAKE_VERSION): 20160217
289321964Ssjg	  Merge with NetBSD make, pick up
290321964Ssjg	  o var.c: preserve '$$' in :=
291321964Ssjg	  o parse.c: add .dinclude for handling included 
292321964Ssjg	    makefile like .depend
293321964Ssjg
294293174Ssjg2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>
295293174Ssjg
296293174Ssjg	* Makefile (MAKE_VERSION): 20151220
297293174Ssjg	  Merge with NetBSD make, pick up
298293174Ssjg	  o suff.c: re-initialize suffNull when clearing suffixes.
299293174Ssjg
300292068Ssjg2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>
301292068Ssjg
302292068Ssjg	* Makefile (MAKE_VERSION): 20151201
303292068Ssjg	  Merge with NetBSD make, pick up
304292068Ssjg	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
305292068Ssjg	  o meta.c: meta_oodate: use lstat(2) for checking link target
306292068Ssjg	    in case it is a symlink.
307292068Ssjg	  o var.c: avoid calling brk_string and Var_Export1 with empty
308292068Ssjg	    strings.
309292068Ssjg	
310292068Ssjg2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
311292068Ssjg
312292068Ssjg	* Makefile (MAKE_VERSION): 20151126
313292068Ssjg	  Merge with NetBSD make, pick up
314292068Ssjg	  o parse.c: ParseTrackInput don't access beyond 
315292068Ssjg	    end of old value.
316292068Ssjg	
317292068Ssjg2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>
318292068Ssjg
319292068Ssjg	* Makefile (MAKE_VERSION): 20151022
320292068Ssjg
321292068Ssjg	* Add support for BSD/OS which lacks inttypes.h
322292068Ssjg	  and really needs sys/param.h for sys/sysctl.h
323292068Ssjg	  also 'type' is not a shell builtin.
324292068Ssjg
325292068Ssjg	* var.c: eliminate uint32_t and need for inttypes.h
326292068Ssjg	
327292068Ssjg	* main.c: PrintOnError flush stdout before run .ERROR
328292068Ssjg
329292068Ssjg	* parse.c: cope with _SC_PAGESIZE not being defined.
330292068Ssjg
331292068Ssjg	
332292068Ssjg2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
333292068Ssjg
334292068Ssjg	* Makefile (MAKE_VERSION): 20151020
335292068Ssjg	  Merge with NetBSD make, pick up
336292068Ssjg	  o var.c: fix uninitialized var 
337292068Ssjg
338292068Ssjg2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
339292068Ssjg
340292068Ssjg	* var.c: the conditional expressions used with ':?' can be
341292068Ssjg	expensive, if already discarding do not evaluate or expand
342292068Ssjg	anything. 
343292068Ssjg
344292068Ssjg2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
345292068Ssjg
346292068Ssjg	* Makefile (MAKE_VERSION): 20151010
347292068Ssjg	  Merge with NetBSD make, pick up
348292068Ssjg	  o Add Boolean wantit flag to Var_Subst and Var_Parse
349292068Ssjg	    when FALSE we know we are discarding the result and can
350292068Ssjg	    skip operations like Cmd_Exec.
351292068Ssjg
352292068Ssjg2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
353292068Ssjg
354292068Ssjg	* Makefile (MAKE_VERSION): 20151009
355292068Ssjg	  Merge with NetBSD make, pick up
356292068Ssjg	  o var.c: don't check for NULL before free()
357292068Ssjg	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
358292068Ssjg
359292068Ssjg2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
360292068Ssjg
361292068Ssjg	* Makefile (MAKE_VERSION): 20150910
362292068Ssjg	  Merge with NetBSD make, pick up
363292068Ssjg	  o main.c: with -w print Enter/Leaving messages for objdir too
364292068Ssjg	    if necessary.
365292068Ssjg	  o centralize shell metachar handling
366292068Ssjg	
367292068Ssjg	* FILES: add metachar.[ch]
368292068Ssjg
369292068Ssjg2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
370292068Ssjg
371292068Ssjg	* Makefile (MAKE_VERSION): 20150606
372292068Ssjg	  Merge with NetBSD make, pick up
373292068Ssjg	  o make.1: document .OBJDIR target
374292068Ssjg
375292068Ssjg2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
376292068Ssjg
377292068Ssjg	* Makefile (MAKE_VERSION): 20150505
378292068Ssjg	  Merge with NetBSD make, pick up
379292068Ssjg	  o cond.c: be strict about lhs of comparison when evaluating .if
380292068Ssjg	    but less so when called from variable expansion.
381292068Ssjg	  o unit-tests/cond2.mk: test various error conditions
382292068Ssjg
383292068Ssjg2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
384292068Ssjg
385292068Ssjg	* machine.sh (MACHINE): Add Bitrig 
386292068Ssjg	  patch from joerg@netbsd.org
387292068Ssjg
388292068Ssjg2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
389292068Ssjg
390292068Ssjg	* Makefile (MAKE_VERSION): 20150418
391292068Ssjg	  Merge with NetBSD make, pick up
392292068Ssjg	  o job.c: use memmove() rather than memcpy()
393292068Ssjg
394292068Ssjg	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
395292068Ssjg	  case, so skip it.
396292068Ssjg
397292068Ssjg2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
398292068Ssjg
399292068Ssjg	* Makefile (MAKE_VERSION): 20150411
400292068Ssjg	  bump version - only mk/ changes.
401292068Ssjg	
402292068Ssjg2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
403292068Ssjg
404292068Ssjg	* Makefile (MAKE_VERSION): 20150410
405292068Ssjg	  Merge with NetBSD make, pick up
406292068Ssjg	  o document different handling of '-' in jobs mode vs compat
407292068Ssjg	  o fix jobs mode so that '-' only applies to whole job
408292068Ssjg	    when shell lacks hasErrCtl
409292068Ssjg	  o meta.c: use separate vars to track lcwd and latestdir (read)
410292068Ssjg	    per process
411292068Ssjg	
412292068Ssjg2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
413292068Ssjg
414292068Ssjg	* Makefile (MAKE_VERSION): 20150401
415292068Ssjg	  Merge with NetBSD make, pick up
416292068Ssjg	  o meta.c: close meta file in child
417292068Ssjg	
418292068Ssjg	* Makefile: use BINDIR.bmake if set.
419292068Ssjg	  Same for MANDIR and SHAREDIR
420292068Ssjg	  Handy for testing release candidates
421292068Ssjg	  in various environments.
422292068Ssjg	
423292068Ssjg2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
424292068Ssjg
425292068Ssjg	* move initialization of savederr to block where it is used
426292068Ssjg	  to avoid spurious warning from gcc5
427292068Ssjg
428292068Ssjg2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
429292068Ssjg
430292068Ssjg	* Makefile (MAKE_VERSION): 20141111
431292068Ssjg	  just a cooler number
432292068Ssjg
433292068Ssjg2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
434292068Ssjg
435292068Ssjg	* Makefile (MAKE_VERSION): 20141105
436292068Ssjg	  Merge with NetBSD make, pick up
437292068Ssjg	  o revert major overhaul of suffix handling
438292068Ssjg	    and POSIX compliance - too much breakage
439292068Ssjg	    and impossible to make backwards compatible.
440292068Ssjg	  o we still have the new unit test structure which is ok.
441292068Ssjg	  o meta.c ensure "-- filemon" is at start of line.
442292068Ssjg
443292068Ssjg2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
444292068Ssjg
445292068Ssjg	* configure.in: test that result of getconf PATH_MAX is numeric
446292068Ssjg	  and discard if not.  Apparently needed for Hurd.
447292068Ssjg
448292068Ssjg2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
449292068Ssjg
450292068Ssjg	* Makefile (MAKE_VERSION): 20140830
451292068Ssjg	  Merge with NetBSD make, pick up
452292068Ssjg	  o major overhaul of suffix handling
453292068Ssjg	  o improved POSIX compliance
454292068Ssjg	  o overhauled unit-tests
455292068Ssjg
456276305Sngie2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
457276305Sngie
458276305Sngie	* Makefile (MAKE_VERSION): 20140620
459276305Sngie	  Merge with NetBSD make, pick up
460292068Ssjg	  o var.c return varNoError rather than var_Error for ::= modifiers.
461276305Sngie
462276305Sngie2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
463276305Sngie
464276305Sngie	* Makefile (MAKE_VERSION): 20140522
465276305Sngie	  Merge with NetBSD make, pick up
466276305Sngie	  o var.c detect some parse errors.
467276305Sngie
468276305Sngie2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
469276305Sngie
470276305Sngie	* Fix spelling errors - patch from Pedro Giffuni
471276305Sngie
472276305Sngie2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
473276305Sngie
474276305Sngie	* Makefile (MAKE_VERSION): 20140214
475276305Sngie	  Merge with NetBSD make, pick up
476276305Sngie	  o .INCLUDEFROM*
477276305Sngie	  o use Var_Value to get MAKEOBJDIR[PREFIX]
478276305Sngie	  o reduced realloc'ign in brk_string.
479276305Sngie	* configure.in: add a check for compiler supporting __func__
480276305Sngie
481276305Sngie2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
482276305Sngie
483276305Sngie	* boot-strap: ignore mksrc=none
484276305Sngie
485276305Sngie2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
486276305Sngie
487276305Sngie	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
488276305Sngie
489276305Sngie2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
490276305Sngie	
491276305Sngie	* Makefile (MAKE_VERSION): 20140101
492276305Sngie	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
493276305Sngie	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
494276305Sngie	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
495276305Sngie	  Hurd) 
496276305Sngie	* configure.in: Add AC_PREREQ and check for
497276305Sngie	  sysctl; patch from Andrew Shadura andrewsh at debian.org
498276305Sngie
499276305Sngie2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
500276305Sngie
501276305Sngie	* Makefile (MAKE_VERSION): 20131010
502276305Sngie	* lose the const from arg to systcl to avoid problems on older BSDs.
503276305Sngie
504276305Sngie2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
505276305Sngie
506276305Sngie	* Makefile (MAKE_VERSION): 20131001
507276305Sngie	  Merge with NetBSD make, pick up
508276305Sngie	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
509276305Sngie	    hw.machine_arch if necessary.
510276305Sngie	  o meta.c: meta_oodate - need to look at src of Link and target
511276305Sngie	    of Move as well.
512276305Sngie	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
513276305Sngie	  provide __arraycount() if needed.
514276305Sngie
515255253Ssjg2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
516255253Ssjg
517255253Ssjg	* Makefile (MAKE_VERSION): 20130904
518255253Ssjg	  Merge with NetBSD make, pick up
519255253Ssjg	  o Add VAR_INTERNAL context, so that internal setting of
520255253Ssjg	    MAKEFILE does not override value set by makefiles.
521255253Ssjg
522255253Ssjg2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
523255253Ssjg
524255253Ssjg	* Makefile (MAKE_VERSION): 20130902
525255253Ssjg	  Merge with NetBSD make, pick up
526255253Ssjg	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
527255253Ssjg
528255253Ssjg2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
529255253Ssjg
530255253Ssjg	* Makefile (MAKE_VERSION): 20130828
531255253Ssjg	  Merge with NetBSD make, pick up
532255253Ssjg	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
533255253Ssjg	  o Call Job_SetPrefix() from Job_Init() so makefiles have
534255253Ssjg	    opportunity to set .MAKE.JOB.PREFIX
535255253Ssjg
536253883Ssjg2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
537253883Ssjg
538253883Ssjg	* Makefile (MAKE_VERSION): 20130730
539253883Ssjg	  Merge with NetBSD make, pick up
540253883Ssjg	  o Allow suppression of --- job -- tokens by setting
541253883Ssjg	    .MAKE.JOB.PREFIX empty.
542253883Ssjg
543253883Ssjg2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
544253883Ssjg
545253883Ssjg	* Makefile (MAKE_VERSION): 20130716
546253883Ssjg	  Merge with NetBSD make, pick up
547276305Sngie	  o number of gmake compatibility tweaks
548253883Ssjg	    -w for gmake style entering/leaving messages
549253883Ssjg	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
550253883Ssjg	    handle MAKEFLAGS containing only letters.
551253883Ssjg	  o when overriding a GLOBAL variable on the command line,
552253883Ssjg	    delete it from GLOBAL context so -V doesn't show the wrong
553253883Ssjg	    value.
554253883Ssjg	
555253883Ssjg2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
556253883Ssjg
557253883Ssjg	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
558253883Ssjg
559253883Ssjg	* Makefile (MAKE_VERSION): 20130706
560253883Ssjg	  Merge with NetBSD make, pick up
561253883Ssjg	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
562253883Ssjg	    true so that CompatRunCommand() can use it, to ensure
563253883Ssjg	    consistent behavior with jobs mode.
564253883Ssjg	  o use MAKE_LEVEL_ENV to define the variable to propagate
565253883Ssjg	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
566253883Ssjg	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
567253883Ssjg	    paths to ignore.
568253883Ssjg
569251422Ssjg2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
570251422Ssjg
571251422Ssjg	* Makefile (MAKE_VERSION): 20130604
572251422Ssjg	  Merge with NetBSD make, pick up
573251422Ssjg	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
574251422Ssjg	    to avoid leaking descriptors.
575251422Ssjg
576251422Ssjg2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
577251422Ssjg
578251422Ssjg	* Makefile (MAKE_VERSION): 20130528
579251422Ssjg	  Merge with NetBSD make, pick up
580251422Ssjg	  o var.c: cleanup some left-overs in VarHash()
581251422Ssjg
582250837Ssjg2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
583250837Ssjg
584250837Ssjg	* Makefile (MAKE_VERSION): 20130520
585250837Ssjg	  generate manifest from component FILES rather than have to
586250837Ssjg	  update FILES when mk/FILES changes.
587250837Ssjg
588250837Ssjg2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
589250837Ssjg
590250837Ssjg	* Makefile (MAKE_VERSION): 20130518
591250837Ssjg	  Merge with NetBSD make, pick up
592250837Ssjg	  o suff.c: don't skip all processsing for .PHONY targets
593250837Ssjg	    else wildcard srcs do not get expanded.
594250837Ssjg	  o var.c: expand name of variable to delete if necessary.
595250837Ssjg
596249033Ssjg2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
597249033Ssjg
598249033Ssjg	* Makefile (MAKE_VERSION): 20130330
599249033Ssjg	  Merge with NetBSD make, pick up
600249033Ssjg	  o meta.c: refine the handling of .OODATE in commands.
601249033Ssjg	    Rather than suppress command comparison for the entire script
602249033Ssjg	    as though .NOMETA_CMP had been used, only suppress it for the
603249033Ssjg	    one command line.
604249033Ssjg	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to 
605249033Ssjg	    suppress comparison of a command without otherwise affecting it.
606249033Ssjg	  o make.1: document that
607249033Ssjg
608249033Ssjg2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
609249033Ssjg
610249033Ssjg	* Makefile (MAKE_VERSION): 20130321
611249033Ssjg	  yes, not quite right but its a cooler number.
612249033Ssjg	  Merge with NetBSD make, pick up
613249033Ssjg	  o parse.c: fix ParseGmakeExport to be portable 
614249033Ssjg	    and add a unit-test.
615249033Ssjg	* meta.c: call meta_init() before makefiles are read and if built
616249033Ssjg	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
617249033Ssjg	  this let's makefiles test for support.
618249033Ssjg	  Call meta_mode_init() to process .MAKE.MODE.
619249033Ssjg
620249033Ssjg2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
621249033Ssjg
622249033Ssjg	* Makefile (MAKE_VERSION): 20130305
623249033Ssjg	  Merge with NetBSD make, pick up
624249033Ssjg	  o run .STALE: target when a dependency from .depend is missing.
625249033Ssjg	  o job.c: add Job_RunTarget() for the above and .BEGIN
626249033Ssjg
627249033Ssjg2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
628249033Ssjg
629249033Ssjg	* Makefile (MAKE_VERSION): 20130303
630249033Ssjg	  Merge with NetBSD make, pick up
631249033Ssjg	  o main.c: set .MAKE.OS to utsname.sysname
632249033Ssjg	  o job.c: more checks for read and poll errors
633249033Ssjg	  o var.c: lose VarChangeCase() saves 4% time
634249033Ssjg
635249033Ssjg2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
636249033Ssjg
637249033Ssjg	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
638249033Ssjg	  want to use MAKEOBJDIR
639249033Ssjg
640246223Ssjg2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
641246223Ssjg
642246223Ssjg	* Merge with NetBSD make, pick up
643246223Ssjg	  o make.1: more info on how shell commands are handled.
644246223Ssjg	  o job.c,main.c: detect write errors to job pipes.
645246223Ssjg
646246223Ssjg2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
647246223Ssjg
648246223Ssjg	* Makefile (MAKE_VERSION): 20130123
649246223Ssjg	  Merge with NetBSD make, pick up
650246223Ssjg	  o meta.c: if script uses .OODATE and meta_oodate() decides
651246223Ssjg	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
652246223Ssjg	  o var.c: in debug output indicate which variabale modifiers
653246223Ssjg	    apply to.
654246223Ssjg	  o remove Check_Cwd logic the makefiles have been fixed.
655246223Ssjg	
656246223Ssjg2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
657246223Ssjg
658246223Ssjg	* makefile.in: add a simple makefile for folk who insist on
659246223Ssjg	  ./configure; make; make install
660246223Ssjg	  it just runs boot-strap
661246223Ssjg	* include mk/* to accommodate the above
662246223Ssjg	* boot-strap:  re-work to accommodate the above
663246223Ssjg	  mksrc defaults to $Mydir/mk
664246223Ssjg	  allow op={configure,build,install,clean,all}
665246223Ssjg	  add options to facilitate install
666246223Ssjg	* Makefile.config.in: just the bits set by configure
667246223Ssjg	* Makefile: bump version to 20121212
668246223Ssjg	  abandon Makefile.in (NetBSD Makefile)
669246223Ssjg	  leverage mk/* instead
670246223Ssjg	* configure.in: ensure srcdir is absolute
671246223Ssjg
672243115Ssjg2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
673243115Ssjg
674243115Ssjg	* Makefile.in (MAKE_VERSION): 20121111
675243115Ssjg	  fix generation of bmake.cat1
676243115Ssjg
677243115Ssjg2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
678243115Ssjg
679243115Ssjg	* Makefile.in (MAKE_VERSION): 20121109
680243115Ssjg	  Merge with NetBSD make, pick up
681243115Ssjg	  o make.c: MakeBuildChild: return 0 so search continues if a
682243115Ssjg	    .ORDER dependency is detected.
683243115Ssjg	  o unit-tests/order: test the above
684243115Ssjg	
685243115Ssjg2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
686243115Ssjg
687243115Ssjg	* Makefile.in (MAKE_VERSION): 20121102
688243115Ssjg	  Merge with NetBSD make, pick up
689243115Ssjg	  o cond.c: allow cond_state[] to grow.
690243115Ssjg	    In meta mode with a very large tree, we can hit the limit
691243115Ssjg	    while processing dirdeps.
692243115Ssjg	
693243115Ssjg2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
694243115Ssjg
695243115Ssjg	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
696243115Ssjg
697242102Ssjg2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
698242102Ssjg
699242102Ssjg	* Makefile.in (MAKE_VERSION): 20121010
700242102Ssjg	  o protect syntax that only bmake parses correctly.
701242102Ssjg	  o remove auto setting of FORCE_MACHINE, use configure's
702242102Ssjg	    --with-force-machine=whatever if that is desired.
703242102Ssjg	
704242102Ssjg2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
705242102Ssjg
706242102Ssjg	* Makefile.in: do not lose history from make.1 when generating bmake.1
707242102Ssjg
708242102Ssjg2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
709242102Ssjg
710242102Ssjg	* Makefile.in (MAKE_VERSION): 20121007
711242102Ssjg	  Merge with NetBSD make, pick up
712242102Ssjg	  o compat.c: ignore empty commands - same as jobs mode.
713242102Ssjg	  o make.1: document meta chars that cause use of shell
714242102Ssjg
715242102Ssjg2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
716242102Ssjg
717242102Ssjg	* Makefile.in (MAKE_VERSION): bump version to 20120911
718242102Ssjg	* bsd.after-import.mk: include Makefile.inc early and allow it to
719242102Ssjg	  override PROG
720242102Ssjg
721240330Smarcel2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
722240330Smarcel
723240330Smarcel	* Makefile.in (MAKE_VERSION): bump version to 20120831
724240330Smarcel	  Merge with NetBSD make, pick up
725240330Smarcel	  o cast sizeof() to int for comparison
726240330Smarcel	  o minor make.1 tweak
727240330Smarcel
728240330Smarcel2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
729240330Smarcel
730240330Smarcel	* Makefile.in (MAKE_VERSION): bump version to 20120830
731240330Smarcel	  Merge with NetBSD make, pick up
732240330Smarcel	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
733240330Smarcel	  o debug flag -dV causes -V to show raw value regardless.
734240330Smarcel	
735240330Smarcel2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
736240330Smarcel
737240330Smarcel	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
738240330Smarcel	  gets SRCTOP set.
739240330Smarcel
740238152Sobrien2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
741238152Sobrien
742238152Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120704
743238152Sobrien	  Merge with NetBSD make, pick up
744238152Sobrien	  o Job_ParseShell should call Shell_Init if it has been
745238152Sobrien	    previously called.
746238152Sobrien	* Makefile.in: set USE_META based on configure result.
747238152Sobrien	  also .PARSEDIR is safer indicator of bmake.
748238152Sobrien
749238152Sobrien2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
750238152Sobrien
751238152Sobrien	* Makefile.in: bump version to 20120626
752238152Sobrien	  ensure CPPFLAGS is in CFLAGS
753238152Sobrien	* meta.c: avoid nested externs
754238152Sobrien	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
755238152Sobrien	
756237578Sobrien2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
757237578Sobrien
758237578Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120620
759237578Sobrien	  Merge with NetBSD make, pick up
760237578Sobrien	  o make_malloc.c: avoid including make_malloc.h again
761237578Sobrien
762237578Sobrien	* Makefile.in: avoid bmake only syntax or protect with
763237578Sobrien	  .if defined(.MAKE.LEVEL)
764237578Sobrien	* bsd.after-import.mk: replace .-include with .sinclude
765237578Sobrien	  ensure? SRCTOP gets a value
766237578Sobrien	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
767237578Sobrien
768237578Sobrien2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
769237578Sobrien
770237578Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120612
771237578Sobrien	  Merge with NetBSD make, pick up
772237578Sobrien	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
773237578Sobrien	    for greater portability.
774237578Sobrien	  o unit-tests/forloop: check that .for works as expected wrt
775237578Sobrien	    number of times and with "quoted strings".
776237578Sobrien	
777236769Sobrien2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
778236769Sobrien
779236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120606
780236769Sobrien	  Merge with NetBSD make, pick up
781236769Sobrien	  o compat.c: use kill(2) rather than raise(3).
782236769Sobrien	* configure.in: look for sys/dev/filemon
783236769Sobrien	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
784236769Sobrien	  and pass BOOTSTRAP_XTRAS to boot-strap.
785236769Sobrien
786236769Sobrien2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
787236769Sobrien
788236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120604
789236769Sobrien	  Merge with NetBSD make, pick up
790236769Sobrien	  o util.c and var.c share same var for tracking if environ
791236769Sobrien	    has been reallocated.
792236769Sobrien	  o util.c provide getenv with setenv.
793236769Sobrien	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
794236769Sobrien	  when the shell actively strips .MAKE.* from the environment.
795236769Sobrien	  We still refer to the variable always as .MAKE.LEVEL
796236769Sobrien	* util.c fix bug in findenv() was finding prefix of name.
797236769Sobrien	* compat.c: re-raising SIGINT etc after running .INTERRUPT
798236769Sobrien	  results in more reliable termination of all activity on many
799236769Sobrien	  platforms.
800236769Sobrien
801236769Sobrien2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
802236769Sobrien
803236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120602
804236769Sobrien	  Merge with NetBSD make, pick up
805236769Sobrien	  o for.c: handle quoted items in .for list
806236769Sobrien
807236769Sobrien2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
808236769Sobrien
809236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120530
810236769Sobrien	  Merge with NetBSD make, pick up
811236769Sobrien	  o compat.c: ignore empty command.
812236769Sobrien
813236769Sobrien2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
814236769Sobrien
815236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120524
816236769Sobrien	* FILES: add bsd.after-import.mk:
817236769Sobrien	  A simple means of integrating bmake into a BSD build system.
818236769Sobrien
819236769Sobrien2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
820236769Sobrien
821236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120520
822236769Sobrien	  Merge with NetBSD make, pick up
823236769Sobrien	  o increased limit for nested conditionals.
824236769Sobrien	
825236769Sobrien2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
826236769Sobrien
827236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120518
828236769Sobrien	  Merge with NetBSD make, pick up
829236769Sobrien	  o use _exit(2) in signal hanlder
830236769Sobrien	  o Don't use the [dir] cache when building nodes that might have
831236769Sobrien	    changed since the last exec.
832236769Sobrien	  o Avoid nested extern declaration warnings.
833236769Sobrien
834236769Sobrien2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
835236769Sobrien
836236769Sobrien	* meta.c (fgetLine): avoid %z - not portable.
837236769Sobrien	* parse.c: Since we moved include of sys/mman.h
838236769Sobrien	  and def's of MAP_COPY etc. we got dups from a merge.
839236769Sobrien
840236769Sobrien2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
841236769Sobrien
842236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120420
843236769Sobrien	  Merge with NetBSD make, pick up
844236769Sobrien	  o restore duplicate supression in .MAKE.MAKEFILES
845236769Sobrien	    runtime saving can be significant.
846236769Sobrien	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
847236769Sobrien	    consumption up to 20%. 
848236769Sobrien
849236769Sobrien2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
850236769Sobrien
851236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120420
852236769Sobrien          Merge with NetBSD make, pick up
853236769Sobrien	  o remove duplicate supression in .MAKE.MAKEFILES
854236769Sobrien	  o improved dir cache behavior
855236769Sobrien	  o gmake'ish export command
856236769Sobrien	
857236769Sobrien2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
858236769Sobrien
859236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20120325
860236769Sobrien	  Merge with NetBSD make, pick up
861236769Sobrien	  o fix parsing of :[#] in conditionals.
862236769Sobrien
863236769Sobrien2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
864236769Sobrien
865236769Sobrien	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
866236769Sobrien	  since some systems cannot cope with .Nx <version>
867236769Sobrien
868236769Sobrien2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
869236769Sobrien
870236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20111111
871236769Sobrien	  Merge with NetBSD make, pick up
872236769Sobrien	  o debug output for .PARSEDIR and .PARSEFILE
873236769Sobrien
874236769Sobrien2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
875236769Sobrien
876236769Sobrien	* Makefile.in (MAKE_VERSION):  bump version to 20111010
877236769Sobrien
878236769Sobrien2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
879236769Sobrien
880236769Sobrien	* boot-strap: check for an expected file in the dirs we look for.
881236769Sobrien	* make-bootstrap.sh: pass on LDSTATIC
882236769Sobrien
883236769Sobrien2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
884236769Sobrien
885236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20111001
886236769Sobrien	  Merge with NetBSD make, pick up
887236769Sobrien	  o ensure .PREFIX is set for .PHONY
888236769Sobrien	    and .TARGET set for .PHONY run via .END
889236769Sobrien	  o __dead used consistently
890236769Sobrien	
891236769Sobrien2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
892236769Sobrien
893236769Sobrien	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
894236769Sobrien
895236769Sobrien2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
896236769Sobrien
897236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110905
898236769Sobrien	  Merge with NetBSD make, pick up
899236769Sobrien	  o meta_oodate: ignore makeDependfile
900236769Sobrien	
901236769Sobrien2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
902236769Sobrien
903236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110828
904236769Sobrien	  Merge with NetBSD make, pick up
905236769Sobrien	  o silent=yes in .MAKE.MODE causes meta mode to mark targets 
906236769Sobrien	    as SILENT if a .meta file is created
907236769Sobrien
908236769Sobrien2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
909236769Sobrien
910236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110818
911236769Sobrien	  Merge with NetBSD make, pick up
912236769Sobrien	  o in meta mode, if target flagged .META a missing .meta file
913236769Sobrien	    means target is out-of-date
914236769Sobrien	  o fixes for gcc 4.5 warnings
915236769Sobrien	  o simplify job printing code
916236769Sobrien	
917236769Sobrien2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
918236769Sobrien
919236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110808
920236769Sobrien	  Merge with NetBSD make, pick up
921236769Sobrien	  o do not touch OP_SPECIAL targets when doing make -t
922236769Sobrien	
923236769Sobrien2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
924236769Sobrien
925236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110622
926236769Sobrien	  Merge with NetBSD make, pick up
927236769Sobrien	  o meta_oodate detect corrupted .meta file and declare oodate.
928236769Sobrien	* configure.in: add check for setsid
929236769Sobrien	
930236769Sobrien2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
931236769Sobrien
932236769Sobrien	* Merge with NetBSD make, pick up
933236769Sobrien	  o unit-tests/modts now works on MirBSD
934236769Sobrien
935236769Sobrien2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
936236769Sobrien
937236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110606
938236769Sobrien	  Merge with NetBSD make, pick up
939236769Sobrien	  o ApplyModifiers: when we parse a variable which is not
940236769Sobrien	    the entire modifier string, or not followed by ':', do not
941236769Sobrien	    consider it as containing modifiers.
942236769Sobrien	  o loadfile: ensure newline at end of mapped file.
943236769Sobrien
944236769Sobrien2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
945236769Sobrien
946236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110505
947236769Sobrien	  Merge with NetBSD make, pick up
948236769Sobrien	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
949236769Sobrien	    of make's control.  In meta mode, any generated file within
950236769Sobrien	    said bailiwick, which  is found to be missing, causes current
951236769Sobrien	    target to be out-of-date. 
952236769Sobrien	
953236769Sobrien2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
954236769Sobrien
955236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110411
956236769Sobrien	  Merge with NetBSD make, pick up
957236769Sobrien	  o when long modifiers fail to match, check sysV style.
958236769Sobrien	    - add a test case
959236769Sobrien	
960236769Sobrien2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
961236769Sobrien
962236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110410
963236769Sobrien	  Merge with NetBSD make, pick up
964236769Sobrien	  o :hash - cheap 32bit hash of value
965236769Sobrien	  o :localtime, :gmtime - use value as format string for strftime.
966236769Sobrien	
967236769Sobrien2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
968236769Sobrien
969236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110330
970236769Sobrien	  mostly because its a cooler version.
971236769Sobrien	  Merge with NetBSD make, pick up
972236769Sobrien	  o NetBSD tags for meta.[ch]
973236769Sobrien	  o job.c call meta_job_finish() after meta_job_error().
974236769Sobrien	  o meta_job_error() should call meta_job_finish() to ensure
975236769Sobrien	    .meta file is closed, and safe to copy - if .ERROR target wants.
976236769Sobrien	   meta_job_finish() is safe to call repeatedly.
977236769Sobrien	
978236769Sobrien2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
979236769Sobrien
980236769Sobrien	* unit-tests/modts: use printf if it is a builtin, 
981236769Sobrien	  to save us from MirBSD
982236769Sobrien
983236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110329
984236769Sobrien	  Merge with NetBSD make, pick up
985236769Sobrien	  o fix for use after free() in CondDoExists().
986236769Sobrien	  o meta_oodate() report extra commands and return earlier.
987236769Sobrien	
988236769Sobrien2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
989236769Sobrien
990236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110327
991236769Sobrien	  Merge with NetBSD make, pick up
992236769Sobrien	  o meta.c, if .MAKE.MODE contains curdirOk=yes
993236769Sobrien	    allow creating .meta files in .CURDIR
994236769Sobrien	* boot-strap (TOOL_DIFF): aparently at least on linux distro
995236769Sobrien	  formats the output of 'type' differently - so eat any "()"
996236769Sobrien
997236769Sobrien2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
998236769Sobrien
999236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110306
1000236769Sobrien	  Merge with NetBSD make, pick up
1001236769Sobrien	  o meta.c, only do getcwd() once
1002236769Sobrien	
1003236769Sobrien2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1004236769Sobrien
1005236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110305
1006236769Sobrien	  Merge with NetBSD make, pick up
1007236769Sobrien	  o correct sysV substitution handling of empty lhs and variable
1008236769Sobrien	  o correct exists() check for dir with trailing /
1009236769Sobrien	  o correct handling of modifiers for non-existant variables
1010236769Sobrien	    during evaluation of conditionals.
1011236769Sobrien	  o ensure MAP_FILE is defined.
1012236769Sobrien	  o meta.c use curdir[] now exported by main.c
1013236769Sobrien	
1014236769Sobrien2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
1015236769Sobrien
1016236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110225
1017236769Sobrien	  Merge with NetBSD make, pick up
1018236769Sobrien	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
1019236769Sobrien	    makefiles have been read.
1020236769Sobrien	  o fix example of :? modifier in man page.
1021236769Sobrien	
1022236769Sobrien2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1023236769Sobrien
1024236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110214
1025236769Sobrien	  Merge with NetBSD make, pick up
1026236769Sobrien	  o meta.c handle realpath() failing when generating meta file
1027236769Sobrien	    name.
1028236769Sobrien
1029236769Sobrien	* sigcompat.c: convert to ansi so we can use higher warning levels.
1030236769Sobrien
1031236769Sobrien
1032236769Sobrien2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
1033236769Sobrien
1034236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110207
1035236769Sobrien	  Merge with NetBSD make, pick up
1036236769Sobrien	  o fix for bug in meta mode.
1037236769Sobrien	
1038236769Sobrien2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
1039236769Sobrien
1040236769Sobrien	* parse.c: SunOS 5.8 at least does not have MAP_FILE
1041236769Sobrien
1042236769Sobrien2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1043236769Sobrien
1044236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20110101
1045236769Sobrien	  Merge with NetBSD make, pick up
1046236769Sobrien	  o use mmap(2) if available, for reading makefiles
1047236769Sobrien
1048236769Sobrien2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
1049236769Sobrien
1050236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20101215
1051236769Sobrien	  Merge with NetBSD make, pick up
1052236769Sobrien	  o ensure meta_job_error() does not report a previous .meta file
1053236769Sobrien	    as being culprit.
1054236769Sobrien
1055236769Sobrien2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1056236769Sobrien
1057236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20101210
1058236769Sobrien	  Merge with NetBSD make, pick up
1059236769Sobrien	  o meta_oodate: track cwd per process, and only consider target
1060236769Sobrien	    out-of-date if missing file is outside make's CWD.
1061236769Sobrien	    Ignore files in /tmp/ etc.
1062236769Sobrien	  o to ensure unit-tests results match, need to control LC_ALL
1063236769Sobrien	    as well as LANG.
1064236769Sobrien	  o fix for parsing bug in var.c
1065236769Sobrien
1066236769Sobrien2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1067236769Sobrien
1068236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20101126
1069236769Sobrien	  Merge with NetBSD make, pick up
1070236769Sobrien	  o if stale dependency is an IMPSRC, search via .PATH
1071236769Sobrien	  o meta_oodate: if a referenced file is missing, target is
1072236769Sobrien	    out-of-date.
1073236769Sobrien	  o meta_oodate: if a target uses .OODATE in its commands,
1074236769Sobrien	    it (.OODATE) needs to be recomputed.
1075236769Sobrien	  o keep a pointer to youngest child node, rather than just its
1076236769Sobrien	    mtime.
1077236769Sobrien	
1078236769Sobrien2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
1079236769Sobrien
1080236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20101101
1081236769Sobrien
1082236769Sobrien2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1083236769Sobrien
1084236769Sobrien	* machine.sh: like os.sh, 
1085236769Sobrien	allow for uname -p producing useless drivel
1086236769Sobrien
1087236769Sobrien2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
1088236769Sobrien
1089236769Sobrien	* boot-strap: document configure knobs for meta and filemon.
1090236769Sobrien
1091236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100911
1092236769Sobrien	  Merge with NetBSD make, pick up
1093236769Sobrien	  o meta.c - meta mode
1094236769Sobrien
1095236769Sobrien	* make-bootstrap.sh.in: handle meta.c
1096236769Sobrien	* configure.in: add knobs for use_meta and filemon_h
1097236769Sobrien	  also, look for dirname, str[e]sep and strlcpy
1098236769Sobrien	* util.c: add simple err[x] and warn[x]
1099236769Sobrien
1100236769Sobrien2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1101236769Sobrien
1102236769Sobrien	* boot-strap (TOOL_DIFF): set this to ensure tests use
1103236769Sobrien	  the same version of diff that configure tested
1104236769Sobrien
1105236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100808
1106236769Sobrien	  Merge with NetBSD make, pick up
1107236769Sobrien	  o in jobs mode, when we discover we cannot make something,
1108236769Sobrien	    call PrintOnError before exit.
1109236769Sobrien	
1110236769Sobrien2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
1111236769Sobrien
1112236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100806
1113236769Sobrien	  Merge with NetBSD make, pick up
1114236769Sobrien	  o formatting fixes for ignored errors
1115236769Sobrien	  o ensure jobs are cleaned up regardless of where wait() was called.
1116236769Sobrien
1117236769Sobrien2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
1118236769Sobrien
1119236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100618
1120236769Sobrien	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
1121236769Sobrien
1122236769Sobrien2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
1123236769Sobrien
1124236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100616
1125236769Sobrien	  Merge with NetBSD make, pick up
1126236769Sobrien	  o man page update
1127236769Sobrien	  o call PrintOnError from JobFinish when we detect an error we
1128236769Sobrien	    are not ignoring. 
1129236769Sobrien	
1130236769Sobrien2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
1131236769Sobrien
1132236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100606
1133236769Sobrien	  Merge with NetBSD make, pick up
1134236769Sobrien	  o man page update
1135236769Sobrien
1136236769Sobrien2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1137236769Sobrien
1138236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100605
1139236769Sobrien	  Merge with NetBSD make, pick up
1140236769Sobrien	  o use bmake_signal() which is a wrapper around sigaction() 
1141236769Sobrien	    in place of signal()
1142236769Sobrien	  o add .export-env to allow exporting variables to environment
1143236769Sobrien	    without tracking (so no re-export when the internal value is
1144236769Sobrien	    changed).
1145236769Sobrien	
1146236769Sobrien2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
1147236769Sobrien
1148236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100524
1149236769Sobrien	  Merge with NetBSD make, pick up
1150236769Sobrien	  o fix for .info et al being greedy.
1151236769Sobrien
1152236769Sobrien2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
1153236769Sobrien
1154236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100520
1155236769Sobrien	  Merge with NetBSD make, pick up
1156236769Sobrien	  o back to using realpath on argv[0] 
1157236769Sobrien	    but only if contains '/' and does not start with '/'.
1158236769Sobrien
1159236769Sobrien2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1160236769Sobrien
1161236769Sobrien	* boot-strap: use absolute path for bmake when running tests.
1162236769Sobrien
1163236769Sobrien	* Makefile.in (MAKE_VERSION):  bump version to 20100510
1164236769Sobrien	  Merge with NetBSD make, pick up
1165236769Sobrien	  o revert use of realpath on argv[0]
1166236769Sobrien	    too many corner cases.
1167236769Sobrien	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
1168236769Sobrien
1169236769Sobrien2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1170236769Sobrien
1171236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100505
1172236769Sobrien	  Merge with NetBSD make, pick up
1173236769Sobrien	  o fix for missed SIGCHLD when compiled with SunPRO
1174236769Sobrien	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
1175236769Sobrien	    done the job.
1176236769Sobrien
1177236769Sobrien2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1178236769Sobrien
1179236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100430
1180236769Sobrien	  Merge with NetBSD make, pick up
1181236769Sobrien	  o fflush stdout before writing to stdout
1182236769Sobrien	
1183236769Sobrien2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
1184236769Sobrien
1185236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100423
1186236769Sobrien	  Merge with NetBSD make, pick up
1187236769Sobrien	  o updated unit tests for Haiku (this time for sure).
1188236769Sobrien	* boot-strap: based on patch from joerg 
1189236769Sobrien	  honor --with-default-sys-path better.
1190236769Sobrien	* boot-strap: remove mention of --with-prefix-sys-path
1191236769Sobrien	
1192236769Sobrien2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
1193236769Sobrien
1194236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100422
1195236769Sobrien	* Merge with NetBSD make, pick up
1196236769Sobrien	  o fix for vfork() on Darwin.
1197236769Sobrien	  o fix for bogus $TMPDIR.
1198236769Sobrien	  o set .MAKE.MODE=compat for -B
1199236769Sobrien	  o set .MAKE.JOBS=max_jobs for -j max_jobs
1200236769Sobrien	  o allow unit-tests to run without any *.mk
1201236769Sobrien	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
1202236769Sobrien	* boot-strap: ignore /usr/share/mk except on NetBSD.
1203236769Sobrien	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
1204236769Sobrien	  ensure sort(1) behaves as expected. 
1205236769Sobrien	
1206236769Sobrien2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1207236769Sobrien
1208236769Sobrien	* boot-strap: add FindHereOrAbove so we can use -m .../mk
1209236769Sobrien
1210236769Sobrien2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
1211236769Sobrien
1212236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100420
1213236769Sobrien	* Merge with NetBSD make, pick up
1214236769Sobrien	  o fix for variable realpath() behavior.
1215236769Sobrien	    we have to stat(2) the result to be sure.
1216236769Sobrien	  o fix for .export (all) when nested vars use :sh
1217236769Sobrien	
1218236769Sobrien2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
1219236769Sobrien
1220236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100414
1221236769Sobrien	* Merge with NetBSD make, pick up
1222236769Sobrien	  o use realpath to resolve argv[0] (for .MAKE) if needed.
1223236769Sobrien	  o add realpath from libc.
1224236769Sobrien	  o add :tA to resolve variable via realpath(3) if possible.
1225236769Sobrien
1226236769Sobrien2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
1227236769Sobrien
1228236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100408
1229236769Sobrien	* Merge with NetBSD make, pick up
1230236769Sobrien	  o unit tests for .ERROR, .error
1231236769Sobrien	  o fix for .ERROR to ensure it cannot be default target.
1232236769Sobrien
1233236769Sobrien2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
1234236769Sobrien
1235236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100406
1236236769Sobrien	* Merge with NetBSD make, pick up
1237236769Sobrien	  o fix for compat mode "Error code" going to debug_file.
1238236769Sobrien	  o fix for .ALLSRC being populated twice.
1239236769Sobrien	  o support for .info, .warning and .error directives
1240236769Sobrien	  o .MAKE.MODE to control make's operational mode
1241236769Sobrien	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
1242236769Sobrien	    name(s).
1243236769Sobrien	  o .MAKE.DEPENDFILE to control the name of the depend file
1244236769Sobrien	  o .ERROR target - run on failure.
1245236769Sobrien	
1246236769Sobrien2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1247236769Sobrien
1248236769Sobrien	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
1249236769Sobrien
1250236769Sobrien	* os.sh,arch.c: patch for Haiku from joerg at netbsd
1251236769Sobrien
1252236769Sobrien2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
1253236769Sobrien
1254236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100222
1255236769Sobrien	* Merge with NetBSD make, pick up
1256236769Sobrien	  o better error msg for .for with mutiple inter vars
1257236769Sobrien	
1258236769Sobrien	* boot-strap: 
1259236769Sobrien	  o use make-bootstrap.sh from joerg at netbsd
1260236769Sobrien	    to avoid the need for a native make when bootstrapping.
1261236769Sobrien	  o add "" everywhere ;-)
1262236769Sobrien	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
1263236769Sobrien	    otherwise the pre-formated version.
1264236769Sobrien
1265236769Sobrien2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
1266236769Sobrien
1267236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20100102
1268236769Sobrien	* Merge with NetBSD make, pick up:
1269236769Sobrien	  o fix for -m .../
1270236769Sobrien
1271236769Sobrien2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
1272236769Sobrien
1273236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20091118
1274236769Sobrien	* Merge with NetBSD make, pick up:
1275236769Sobrien	  o .unexport
1276236769Sobrien	  o report lines that start with '.' and should have ':'
1277236769Sobrien	    (catch typo's of .el*if).
1278236769Sobrien	
1279236769Sobrien2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
1280236769Sobrien
1281236769Sobrien	* configure.in: Ensure that srcdir and mksrc are absolute paths.
1282236769Sobrien
1283236769Sobrien2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1284236769Sobrien
1285236769Sobrien	* Makefile.in (MAKE_VERSION): fix version to 20091007
1286236769Sobrien
1287236769Sobrien2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
1288236769Sobrien
1289236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 200910007
1290236769Sobrien	* Merge with NetBSD make, pick up:
1291236769Sobrien	  o fix for parsing of :S;...;...; applied to .for loop iterator
1292236769Sobrien	    appearing in a dependency line. 
1293236769Sobrien	
1294236769Sobrien2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
1295236769Sobrien
1296236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20090909
1297236769Sobrien	* Merge with NetBSD make, pick up:
1298236769Sobrien	  o fix for -C, .CURDIR and .OBJDIR
1299236769Sobrien	* boot-strap: 
1300236769Sobrien	  o allow share_dir to be set independent of prefix.
1301236769Sobrien	  o select default share_dir better when prefix ends in $HOST_TARGET
1302236769Sobrien	  o if FORCE_BSD_MK etc were set, include them in the suggested
1303236769Sobrien	    install-mk command.
1304236769Sobrien
1305236769Sobrien2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
1306236769Sobrien
1307236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20090908
1308236769Sobrien	* Merge with NetBSD make, pick up:
1309236769Sobrien	  o .MAKE.LEVEL for recursion tracking
1310236769Sobrien	  o fix for :M scanning \:
1311236769Sobrien
1312236769Sobrien2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
1313236769Sobrien
1314236769Sobrien	* configure.in: Don't -D__EXTENSIONS__ if
1315236769Sobrien	AC_USE_SYSTEM_EXTENSIONS says "no".
1316236769Sobrien
1317236769Sobrien2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
1318236769Sobrien
1319236769Sobrien	* Makefile.in (MAKE_VERSION): bump version to 20090826
1320236769Sobrien	Simplify MAKE_VERSION to just the bare date.
1321236769Sobrien	* Merge with NetBSD make, pick up:
1322236769Sobrien	  o -C directory support.
1323236769Sobrien	  o support for SIGINFO
1324236769Sobrien	  o use $TMPDIR for temp files.
1325236769Sobrien	  o child of vfork should be careful about modifying parent's state.
1326236769Sobrien	
1327236769Sobrien
1328236769Sobrien2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
1329236769Sobrien
1330236769Sobrien	* Appy some patches for MiNT from David Brownlee
1331236769Sobrien
1332236769Sobrien2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
1333236769Sobrien
1334236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20090222
1335236769Sobrien	* Merge with NetBSD make, pick up:
1336236769Sobrien	  o Possible null pointer de-ref in Var_Set.
1337236769Sobrien
1338236769Sobrien2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
1339236769Sobrien
1340236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20090204
1341236769Sobrien	* Merge with NetBSD make, pick up:
1342236769Sobrien	  o bmake_malloc et al moved to their own .c
1343236769Sobrien	  o Count both () and {} when looking for the end of a :M pattern
1344236769Sobrien	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
1345236769Sobrien	  o strlist.c - functions for processing extendable arrays of pointers to strings.
1346236769Sobrien	  o ClientData replaced with void *, so const void * can be used.
1347236769Sobrien	  o New debug flag C for DEBUG_CWD
1348236769Sobrien
1349236769Sobrien2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
1350236769Sobrien
1351236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20081111
1352236769Sobrien	  Apply patch from Joerg Sonnenberge to
1353236769Sobrien	  configure.in:
1354236769Sobrien	  o remove some redundant checks
1355236769Sobrien	  o check for emlloc etc only in libutil and require the whole family.
1356236769Sobrien	  util.c:
1357236769Sobrien	  o remove [v]asprintf which is no longer used.
1358236769Sobrien	
1359236769Sobrien2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1360236769Sobrien
1361236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20081101
1362236769Sobrien	* Merge with NetBSD make, pick up:
1363236769Sobrien	  o util.c: avoid use of putenv() - christos
1364236769Sobrien
1365236769Sobrien2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
1366236769Sobrien
1367236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20081030
1368236769Sobrien	  pick up man page tweaks.
1369236769Sobrien
1370236769Sobrien2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
1371236769Sobrien
1372236769Sobrien	* Makefile.in: move processing of LIBOBJS to after is definition!
1373236769Sobrien	  thus we'll have getenv.c in SRCS only if needed.
1374236769Sobrien
1375236769Sobrien	* make.1: add examples of how to use :?
1376236769Sobrien
1377236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20081029
1378236769Sobrien	* Merge with NetBSD make, pick up:
1379236769Sobrien	  o fix for .END processing with -j
1380236769Sobrien	  o segfault from Parse_Error when no makefile is open
1381236769Sobrien	  o handle numeric expressions in any variable expansion
1382236769Sobrien	  o debug output now defaults to stderr, -dF to change it - apb
1383236769Sobrien	  o make now uses bmake_malloc etc so that it can build natively 
1384236769Sobrien	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
1385236769Sobrien
1386236769Sobrien2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
1387236769Sobrien
1388236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20080808
1389236769Sobrien	* Merge with NetBSD make, pick up:
1390236769Sobrien	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
1391236769Sobrien	    long lines in Makefiles 
1392236769Sobrien	  o optimizations for VarQuote by joerg
1393236769Sobrien	  o fix for PR/38756: dominik: make dumps core on invalid makefile
1394236769Sobrien	
1395236769Sobrien2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
1396236769Sobrien
1397236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20080515
1398236769Sobrien	* Merge with NetBSD make, pick up:
1399236769Sobrien	  o fix skip setting vars in VAR_GLOBAL context, to handle
1400236769Sobrien	    cases where VAR_CMD is used for other than command line vars.
1401236769Sobrien
1402236769Sobrien2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
1403236769Sobrien
1404236769Sobrien	* boot-strap (make_version): we may need to look in
1405236769Sobrien	$prefix/share/mk for sys.mk 
1406236769Sobrien
1407236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20080514
1408236769Sobrien	* Merge with NetBSD make, pick up:
1409236769Sobrien	  o skip setting vars in VAR_GLOBAL context, when already set in
1410236769Sobrien	  VAR_CMD which takes precedence.
1411236769Sobrien
1412236769Sobrien2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
1413236769Sobrien
1414236769Sobrien	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
1415236769Sobrien	* Merge with NetBSD make, pick up:
1416236769Sobrien	  o fix for ?= when LHS contains variable reference.
1417236769Sobrien
1418236769Sobrien2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1419236769Sobrien
1420236769Sobrien	* merge some patches from NetBSD pkgsrc.
1421236769Sobrien	
1422236769Sobrien	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
1423236769Sobrien	the MAKSYSPATH used during bootstrap. 
1424236769Sobrien
1425236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20080215
1426236769Sobrien	* Merge with NetBSD make, pick up:
1427236769Sobrien	  o warn if non-space chars follow 'empty' in a conditional.
1428236769Sobrien
1429236769Sobrien2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
1430236769Sobrien
1431236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20080118
1432236769Sobrien	* Merge with NetBSD make, pick up:
1433236769Sobrien	  o consider dependencies read from .depend as optional - dsl
1434236769Sobrien	  o remember when buffer for reading makefile grows - dsl
1435236769Sobrien	  o add -dl (aka LOUD) - David O'Brien
1436236769Sobrien
1437236769Sobrien2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
1438236769Sobrien
1439236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20071022
1440236769Sobrien	* Merge with NetBSD make, pick up:
1441236769Sobrien	  o Allow .PATH<suffix> to be used for .include ""
1442236769Sobrien
1443236769Sobrien	* boot-strap: source default settings from .bmake-boot-strap.rc
1444236769Sobrien
1445236769Sobrien2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
1446236769Sobrien
1447236769Sobrien	* Makefile.in: fix maninstall on various systems 
1448236769Sobrien	  provided that our man.mk is used.
1449236769Sobrien	  For non-BSD systems we install the preformatted page
1450236769Sobrien	  into $MANDIR/cat1
1451236769Sobrien
1452236769Sobrien2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
1453236769Sobrien
1454236769Sobrien	* boot-strap: make bmake.1 too, so maninstall works.
1455236769Sobrien
1456236769Sobrien2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
1457236769Sobrien
1458236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20071014
1459236769Sobrien	* Merge with NetBSD make, pick up:
1460236769Sobrien	  o revamped handling of defshell - configure no longer needs to
1461236769Sobrien	    know the content of the shells array - apb
1462236769Sobrien	  o stop Var_Subst modifying its input - apb
1463236769Sobrien	  o avoid calling ParseTrackInput too often - dsl
1464236769Sobrien
1465236769Sobrien2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
1466236769Sobrien
1467236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20071011
1468236769Sobrien	* Merge with NetBSD make, pick up:
1469236769Sobrien	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
1470236769Sobrien
1471236769Sobrien	* sigcompat.c: some tweaks for HP-UX 11.x based on 
1472236769Sobrien	  patch from Tobias Nygren
1473236769Sobrien
1474236769Sobrien	* configure.in: update handling of --with-defshell to match
1475236769Sobrien	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
1476236769Sobrien	  will now do what one might hope - provided the chosen shell
1477236769Sobrien	  behaves enough like sh.
1478236769Sobrien
1479236769Sobrien2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
1480236769Sobrien
1481236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20071008
1482236769Sobrien	* Merge with NetBSD make, pick up:
1483236769Sobrien	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
1484236769Sobrien	  o .export/.MAKE.EXPORTED - export of variables - sjg
1485236769Sobrien	  o .MAKE.MAKEFILES - track all makefiles read - sjg
1486236769Sobrien	  o performance improvements - dsl
1487236769Sobrien	  o revamp parallel job scheduling - dsl
1488236769Sobrien	
1489236769Sobrien2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1490236769Sobrien
1491236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20060728
1492236769Sobrien	* Merge with NetBSD make, pick up:
1493236769Sobrien	  o extra debug info during variable and cond processing - sjg
1494236769Sobrien	  o shell definition now covers newline - rillig
1495236769Sobrien	  o minor mem leak in PrintOnError - sjg
1496236769Sobrien
1497236769Sobrien2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
1498236769Sobrien
1499236769Sobrien	* Makefile.in (BMAKE_VERSION):  bump to 20060511
1500236769Sobrien	* Merge with NetBSD make, pick up:
1501236769Sobrien	  o more memory leaks - coverity
1502236769Sobrien	  o possible overflow in ArchFindMember - coverity
1503236769Sobrien	  o extract variable modifier code out of Var_Parse()
1504236769Sobrien	    so it can be called recursively - sjg
1505236769Sobrien	  o unit-tests/moderrs - sjg
1506236769Sobrien
1507236769Sobrien2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
1508236769Sobrien
1509236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20060412
1510236769Sobrien	* Merge with NetBSD make, pick up:
1511236769Sobrien	  o fixes for some memory leaks - coverity
1512236769Sobrien	  o only read first sys.mk etc when searching sysIncPath - sjg
1513236769Sobrien
1514236769Sobrien	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
1515236769Sobrien	setting ${MAKEFILE} - OBATA Akio
1516236769Sobrien
1517236769Sobrien2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
1518236769Sobrien
1519236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20060318
1520236769Sobrien	* Merge with NetBSD make, pick up:
1521236769Sobrien	  o cleanup of job.c to remove remote handling, distcc is more
1522236769Sobrien	    useful and this code was likely bit-rotting - dsl
1523236769Sobrien	  o fix for :P modifier - sjg
1524236769Sobrien	* boot-strap: set default prefix to something reasonable 
1525236769Sobrien	  (for me anyway). 
1526236769Sobrien
1527236769Sobrien2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
1528236769Sobrien
1529236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20060301
1530236769Sobrien	* Merge with NetBSD make, pick up:
1531236769Sobrien	  o make .WAIT apply recursively, document and test case - apb
1532236769Sobrien	  o allow variable modifiers in a variable appear anywhere in
1533236769Sobrien	    modifier list, document and test case - sjg
1534236769Sobrien
1535236769Sobrien2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
1536236769Sobrien
1537236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20060222
1538236769Sobrien	* Merge with NetBSD make, pick up:
1539236769Sobrien	  o improved job token handling - dsl
1540236769Sobrien	  o SIG_DFL the correct signal before exec - dsl
1541236769Sobrien	  o more debug info during parsing - dsl
1542236769Sobrien	  o allow variable modifiers to be specified via variable - sjg
1543236769Sobrien	* boot-strap: explain why we died if no mksrc
1544236769Sobrien
1545236769Sobrien2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
1546236769Sobrien
1547236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20051105
1548236769Sobrien	* configure.in: always set default_sys_path 
1549236769Sobrien	  default is ${prefix}/share/mk
1550236769Sobrien	  - remove prefix_sys_path, anyone wanting more than above
1551236769Sobrien	    needs to set it manually.
1552236769Sobrien
1553236769Sobrien2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
1554236769Sobrien
1555236769Sobrien	* boot-strap: make this a bit easier for pkgsrc folk.
1556236769Sobrien	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
1557236769Sobrien	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
1558236769Sobrien
1559236769Sobrien2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
1560236769Sobrien
1561236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20051102
1562236769Sobrien	* job.c (JobFinish): fix likely ancient merge lossage
1563236769Sobrien	fix from Todd Vierling.
1564236769Sobrien	* boot-strap (srcdir): allow setting mksrc=none
1565236769Sobrien
1566236769Sobrien2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
1567236769Sobrien
1568236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20051031
1569236769Sobrien	* ranlib.h: skip on OSF too.
1570236769Sobrien	  (NetBSD PR 31864)
1571236769Sobrien
1572236769Sobrien2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
1573236769Sobrien
1574236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20051002
1575236769Sobrien	  fix a silly typo
1576236769Sobrien
1577236769Sobrien2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
1578236769Sobrien
1579236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20051001
1580236769Sobrien	  support for UnixWare and some other systems,
1581236769Sobrien	  based on patches from pkgsrc/bootstrap
1582236769Sobrien
1583236769Sobrien2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
1584236769Sobrien
1585236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20050901
1586236769Sobrien	* Merge with NetBSD make, pick up:
1587236769Sobrien	  o possible parse error causing us to wander off.
1588236769Sobrien
1589236769Sobrien2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
1590236769Sobrien
1591236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20050606
1592236769Sobrien	* Merge with NetBSD make, pick up:
1593236769Sobrien	  o :0x modifier for randomizing a list
1594236769Sobrien	  o fixes for a number of -Wuninitialized issues.
1595236769Sobrien
1596236769Sobrien2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
1597236769Sobrien
1598236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20050530
1599236769Sobrien	* Merge with NetBSD make, pick up:
1600236769Sobrien	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
1601236769Sobrien
1602236769Sobrien	* README: was seriously out of date.
1603236769Sobrien	
1604236769Sobrien2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
1605236769Sobrien
1606236769Sobrien	* Important to use .MAKE rather than MAKE.
1607236769Sobrien
1608236769Sobrien2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
1609236769Sobrien
1610236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20050315
1611236769Sobrien	* Merge with NetBSD make, pick up:
1612236769Sobrien	  o don't mistake .elsefoo for .else
1613236769Sobrien	  o use suffix-specific search path correctly
1614236769Sobrien	  o bunch of style nits
1615236769Sobrien
1616236769Sobrien2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
1617236769Sobrien
1618236769Sobrien	* boot-strap: 
1619236769Sobrien	o ensure that args to --src and --with-mksrc
1620236769Sobrien	  are resolved before giving them to configure.
1621236769Sobrien	o add -o "objdir" so that builder can control it,
1622236769Sobrien	  default is $OS as determined by os.sh
1623236769Sobrien	o add -q to suppress all the install instructions.
1624236769Sobrien
1625236769Sobrien2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
1626236769Sobrien
1627236769Sobrien	* Remove __IDSTRING()
1628236769Sobrien
1629236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20040508
1630236769Sobrien	* Merge with NetBSD make, pick up:
1631236769Sobrien	  o posix fixes
1632236769Sobrien	    - remove '-e' from compat mode
1633236769Sobrien	    - add support for '+' command-line prefix.
1634236769Sobrien	  o fix for handling '--' on command-line.
1635236769Sobrien	  o fix include in lst.lib/lstInt.h to simplify '-I's
1636236769Sobrien	  o we also picked up replacement of MAKE_BOOTSTRAP 
1637236769Sobrien	    with !MAKE_NATIVE which is a noop, but possibly confusing.
1638236769Sobrien
1639236769Sobrien2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
1640236769Sobrien
1641236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20040414
1642236769Sobrien	* Merge with NetBSD make, pick up:
1643236769Sobrien	  o allow quoted strings on lhs of conditionals
1644236769Sobrien	  o issue warning when extra .else is seen
1645236769Sobrien	  o print line numer when errors encountered during parsing from
1646236769Sobrien	  string.
1647236769Sobrien
1648236769Sobrien2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
1649236769Sobrien
1650236769Sobrien	* Makefile.in (BMAKE_VERSION):  bump to 20040220
1651236769Sobrien	* Merge with NetBSD make, pick up:
1652236769Sobrien	  o fix for old :M parsing bug.
1653236769Sobrien	  o re-jigged unit-tests
1654236769Sobrien
1655236769Sobrien2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
1656236769Sobrien
1657236769Sobrien	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
1658236769Sobrien	so that './bmake -f Makefile test' works.
1659236769Sobrien	
1660236769Sobrien2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
1661236769Sobrien
1662236769Sobrien	* Makefile.in: (BMAKE_VERSION): bump to 20040214
1663236769Sobrien	* Merge with NetBSD make, pick up:
1664236769Sobrien	  o search upwards for *.mk
1665236769Sobrien	  o fix for double free of var substitution buffers
1666236769Sobrien	  o use of getopt replaced with custom code, since the usage
1667236769Sobrien	  (re-scanning) isn't posix compatible.
1668236769Sobrien
1669236769Sobrien2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
1670236769Sobrien
1671236769Sobrien	* arch.c: don't include ranlib.h on ELF systems
1672236769Sobrien	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
1673236769Sobrien
1674236769Sobrien2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
1675236769Sobrien
1676236769Sobrien	* Makefile.in (BMAKE_VERSION): bump to 20040118
1677236769Sobrien
1678236769Sobrien	* boot-strap (while): export vars we assign to on cmdline
1679236769Sobrien	* unit-test/Makefile.in: ternary is .PHONY
1680236769Sobrien
1681236769Sobrien2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
1682236769Sobrien
1683236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20040108
1684236769Sobrien	* Merge with NetBSD make, pick up:
1685236769Sobrien	  o fix for ternary modifier
1686236769Sobrien
1687236769Sobrien2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
1688236769Sobrien
1689236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20040105
1690236769Sobrien	* Merge with NetBSD make, pick up:
1691236769Sobrien	  o fix for cond.c to handle compound expressions better
1692236769Sobrien	  o variable expansion within sysV style replacements
1693236769Sobrien	  
1694236769Sobrien2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
1695236769Sobrien
1696236769Sobrien	* Make portable snprintf safer - output to /dev/null first to
1697236769Sobrien	check space needed.
1698236769Sobrien
1699236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20031222
1700236769Sobrien	* Merge with NetBSD make, pick up:
1701236769Sobrien	  o -dg3 to show input graph when things go wrong.
1702236769Sobrien	  o explicitly look for makefiles in objdir if not found in curdir so
1703236769Sobrien	    that errors in .depend etc will be reported accurarely. 
1704236769Sobrien	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
1705236769Sobrien	    instead as it more accurately reflects the expected behavior and
1706236769Sobrien	    is more consistently implemented.
1707236769Sobrien	  o avoid use of asprintf.
1708236769Sobrien
1709236769Sobrien2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
1710236769Sobrien
1711236769Sobrien	* util.c: Add asprintf and vasprintf.
1712236769Sobrien
1713236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20030928
1714236769Sobrien	* Merge with NetBSD make, pick up:
1715236769Sobrien	:[] modifier - allows picking words from a variable.
1716236769Sobrien	:tW modifier - allows treating value as one big word.
1717236769Sobrien	W flag for :C and :S - allows treating value as one big word.
1718236769Sobrien	
1719236769Sobrien2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
1720236769Sobrien
1721236769Sobrien	* Merge with NetBSD make
1722236769Sobrien	pick up -de flag to enable printing failed command.
1723236769Sobrien	don't skip 1st two dir entries (normally . and ..) since
1724236769Sobrien	coda does not have them.
1725236769Sobrien
1726236769Sobrien2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
1727236769Sobrien
1728236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20030909
1729236769Sobrien	* Merge with NetBSD make, pick up:
1730236769Sobrien	- changes for -V '${VAR}' to print fully expanded value
1731236769Sobrien	  cf. -V VAR
1732236769Sobrien	- CompatRunCommand now prints the command that failed.
1733236769Sobrien	- several files got updated 3 clause Berkeley license.
1734236769Sobrien	
1735236769Sobrien2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
1736236769Sobrien
1737236769Sobrien	* boot-strap: Allow setting configure args on command line.
1738236769Sobrien
1739236769Sobrien2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
1740236769Sobrien
1741236769Sobrien	* configure.in: add --with-defshell to allow sh or ksh
1742236769Sobrien	to be selected as default shell.
1743236769Sobrien
1744236769Sobrien	* Makefile.in: bump version to 20030731
1745236769Sobrien
1746236769Sobrien	* Merge with NetBSD make 
1747236769Sobrien	Pick up .SHELL spec for ksh and associate man page changes.
1748236769Sobrien	Also compat mode now uses the same shell specs.
1749236769Sobrien
1750236769Sobrien2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
1751236769Sobrien
1752236769Sobrien	* var.c (Var_Parse): ensure delim is initialized.
1753236769Sobrien
1754236769Sobrien	* unit-tests/Makefile.in: use single quotes to avoid problems from
1755236769Sobrien	some shells.
1756236769Sobrien
1757236769Sobrien	* makefile.boot.in:
1758236769Sobrien	Run the unit-tests as part of the bootstrap procedure.
1759236769Sobrien
1760236769Sobrien2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
1761236769Sobrien
1762236769Sobrien	* unit-tests/Makefile.in: always force complaints from
1763236769Sobrien	${TEST_MAKE} to be from 'make'.
1764236769Sobrien
1765236769Sobrien	* configure.in: add check for 'diff -u'
1766236769Sobrien	also fix some old autoconf'isms
1767236769Sobrien	
1768236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
1769236769Sobrien	if using GCC add -Wno-cast-qual to CFLAGS for var.o
1770236769Sobrien
1771236769Sobrien	* Merge with NetBSD make
1772236769Sobrien	Pick up fix for :ts parsing error in some cases.
1773236769Sobrien	Pick unit-tests.
1774236769Sobrien
1775236769Sobrien2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
1776236769Sobrien
1777236769Sobrien	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
1778236769Sobrien
1779236769Sobrien	* var.c (Var_Parse): fix bug in :ts modifier, after const
1780236769Sobrien	correctness fixes, must pass nstr to VarModify.
1781236769Sobrien
1782236769Sobrien2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
1783236769Sobrien
1784236769Sobrien	* Makefile.in: BMAKE_VERSION switch to a date based version.
1785236769Sobrien	We'll generally use the date of last import from NetBSD.
1786236769Sobrien
1787236769Sobrien	* Merge with NetBSD make
1788236769Sobrien	Pick up fixes for const-correctness, now passes WARNS=3 on
1789236769Sobrien	NetBSD.
1790236769Sobrien	Pick up :ts modifier, allows controlling the separator used
1791236769Sobrien	between words in variable expansion.
1792236769Sobrien
1793236769Sobrien2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
1794236769Sobrien
1795236769Sobrien	* FILES: include boot-strap and os.sh
1796236769Sobrien
1797236769Sobrien	* Makefile.in: only set WARNS if we are NetBSD, the effect on
1798236769Sobrien	FreeBSD is known to be bad.
1799236769Sobrien
1800236769Sobrien	* makefile.boot.in (bootstrap): make this the default target.
1801236769Sobrien
1802236769Sobrien	* Makefile.in: bump version to 3.1.19
1803236769Sobrien
1804236769Sobrien	* machine.sh: avoid A-Z with tr as it is bound to lose.
1805236769Sobrien
1806236769Sobrien2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
1807236769Sobrien
1808236769Sobrien	* Merge with NetBSD make
1809236769Sobrien	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
1810236769Sobrien	Plus some doc fixes.
1811236769Sobrien	
1812236769Sobrien2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
1813236769Sobrien
1814236769Sobrien	* Merge with NetBSD make
1815236769Sobrien	Pick up fix for PR/1523 - don't count a library as built, if there
1816236769Sobrien	is no way to build it 
1817236769Sobrien
1818236769Sobrien	* Bump version to 3.1.18
1819236769Sobrien
1820236769Sobrien2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
1821236769Sobrien
1822236769Sobrien	* Merge with NetBSD make
1823236769Sobrien	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
1824236769Sobrien	appears in src list.
1825236769Sobrien
1826236769Sobrien2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
1827236769Sobrien
1828236769Sobrien	* Merge with NetBSD make (mmm 10th anniversary!)
1829236769Sobrien	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
1830236769Sobrien	pick up -X which tells us to not export VAR=val via setenv if
1831236769Sobrien	we are already doing so via MAKEFLAGS.  This saves valuable env
1832236769Sobrien	space on systems like Darwin.
1833236769Sobrien	set MAKE_VERSION to 3.1.17
1834236769Sobrien
1835236769Sobrien	* parse.c: pix up fix for suffix rules
1836236769Sobrien
1837236769Sobrien2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
1838236769Sobrien
1839236769Sobrien	* Merge with NetBSD make.
1840236769Sobrien	pick up fix for propagating -B via MAKEFLAGS.
1841236769Sobrien	set MAKE_VERSION to 3.1.16
1842236769Sobrien
1843236769Sobrien	* Apply some patches from pkgsrc-bootstrap/bmake
1844236769Sobrien	Originally by Grant Beattie <grant@netbsd.org>
1845236769Sobrien	I may have missed some - since they are based on bmake-3.1.12
1846236769Sobrien	
1847236769Sobrien2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
1848236769Sobrien
1849236769Sobrien	* makefile.boot.in (bmake): update install targets for those that
1850236769Sobrien	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
1851236769Sobrien	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
1852236769Sobrien
1853236769Sobrien	* bmake.cat1: update the pre-formatted man page!
1854236769Sobrien
1855236769Sobrien2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
1856236769Sobrien
1857236769Sobrien	* Merge with NetBSD make.
1858236769Sobrien	pick up fix for premature free of pointer used in call
1859236769Sobrien	to Dir_InitCur().
1860236769Sobrien	set MAKE_VERSION to 3.1.15
1861236769Sobrien
1862236769Sobrien2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
1863236769Sobrien
1864236769Sobrien	* configure.in: determine suitable value for MKSRC.
1865236769Sobrien	override using --with-mksrc=PATH.
1866236769Sobrien
1867236769Sobrien	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
1868236769Sobrien	configs(8) will use 'sun4' as an alias for 'sparc'.
1869236769Sobrien
1870236769Sobrien2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
1871236769Sobrien
1872236769Sobrien	* Merge with NetBSD make.
1873236769Sobrien	pick up ${.PATH}
1874236769Sobrien	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
1875236769Sobrien	set MAKE_VERSION to 3.1.14
1876236769Sobrien	add configure checks for killpg and sys/socket.h
1877236769Sobrien
1878236769Sobrien2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
1879236769Sobrien
1880236769Sobrien	* tag bmake-3-1-13
1881236769Sobrien	
1882236769Sobrien	* makefile.boot.in (bmake): use install-mk
1883236769Sobrien	Also setup ./mk before trying to invoke bmake.boot incase we
1884236769Sobrien	needed install-mk to create a sys.mk for us. 
1885236769Sobrien
1886236769Sobrien	* configure.in: If we need to add -I${srcdir}/missing, make it an
1887236769Sobrien	absolute path so that it works for lst.lib too.
1888236769Sobrien
1889236769Sobrien	* make.h: always include sys/cdefs.h since we provide one if the
1890236769Sobrien	host does not.
1891236769Sobrien	
1892236769Sobrien	* Makefile.in (install-mk): 
1893236769Sobrien	use MKSRC/install-mk which will do the right thing.
1894236769Sobrien	use uname -p for ARCH if possible.
1895236769Sobrien	since install-mk will setup links bsd.prog.mk -> prog.mk if
1896236769Sobrien	needed, just .include bsd.prog.mk
1897236769Sobrien
1898236769Sobrien	* Merge with NetBSD make (NetBSD-1.6)
1899236769Sobrien	Code is ansi-C only now.
1900236769Sobrien	Bug in handling of dotLast is fixed.
1901236769Sobrien	Can now assign .OBJDIR and make will reset its notions of life.
1902236769Sobrien	New modifiers :tu :tl for toUpper and toLower.
1903236769Sobrien
1904236769SobrienTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
1905236769Sobrien
1906236769Sobrien	* Merge with NetBSD make
1907236769Sobrien	pick up fix for .END failure in compat mode.
1908236769Sobrien	pick up fix for extra va_end() in ParseVErrorInternal.
1909236769Sobrien
1910236769SobrienThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
1911236769Sobrien
1912236769Sobrien	* configure.in: for systems that have sys/cdefs.h check if it is
1913236769Sobrien	compatible.  If not, include the one under missing, but tell it to
1914236769Sobrien	include the native one too - necessary on Linux.
1915236769Sobrien
1916236769Sobrien	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
1917236769Sobrien	include_next (for gcc) to get the native sys/cdefs.h
1918236769Sobrien
1919236769SobrienTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1920236769Sobrien
1921236769Sobrien	* job.c (JobFinish): Fix an earlier merge bug that resulted in
1922236769Sobrien	leaking descriptors when using -jN.
1923236769Sobrien	
1924236769Sobrien	* job.c (JobPrintCommand): See if "curdir" exists before
1925236769Sobrien	attempting to chdir().  Doing the chdir directly in make (when in
1926236769Sobrien	compat mode) fails silently, so let the -jN version do the same.
1927236769Sobrien	This can happen when building kernels in an object tree and
1928236769Sobrien	playing clever games to reset .CURDIR.
1929236769Sobrien
1930236769Sobrien	* Merged with NetBSD make
1931236769Sobrien	pick up .USEBEFORE
1932236769Sobrien
1933236769SobrienTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1934236769Sobrien
1935236769Sobrien	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
1936236769Sobrien
1937236769SobrienTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1938236769Sobrien
1939236769Sobrien	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
1940236769Sobrien	us not to export the iterator variable when using VAR_CMD context.
1941236769Sobrien
1942236769SobrienSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1943236769Sobrien
1944236769Sobrien	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
1945236769Sobrien	its the wrong "fix".
1946236769Sobrien
1947236769SobrienSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1948236769Sobrien
1949236769Sobrien	* Redesigned export of VAR_CMD's via MAKEFLAGS.
1950236769Sobrien	We now simply append the variable names to .MAKEOVERRIDES, and
1951236769Sobrien	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
1952236769Sobrien	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
1953236769Sobrien	Apart from fixing quoting bugs in previous version, this allows us
1954236769Sobrien	to export vars to the environment by simply doing:
1955236769Sobrien	.MAKEOVERRIDES+= PATH 
1956236769Sobrien	Merged again with NetBSD make, but the above is the only change.
1957236769Sobrien
1958236769Sobrien	* configure.in: added
1959236769Sobrien	--disable-pwd-override		disable $PWD overriding getcwd()
1960236769Sobrien	--disable-check-make-chdir	disable make trying to guess 
1961236769Sobrien		when it should automatically cd ${.CURDIR}
1962236769Sobrien
1963236769Sobrien	* Merge with NetBSD make, changes include:
1964236769Sobrien	parse.c (ParseDoDependency): Spot that the syntax error is
1965236769Sobrien	caused by an unresolved cvs/rcs conflict and say so.
1966236769Sobrien	var.c: most of Var* functions now take a ctxt as 1st arg.
1967236769Sobrien	now does variable substituion on rhs of sysv style modifiers.
1968236769Sobrien	
1969236769Sobrien	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
1970236769Sobrien	is now done here.  We append the name='value' to .MAKEOVERRIDES
1971236769Sobrien	rather than directly into MAKEFLAGS as this allows a Makefile to
1972236769Sobrien	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
1973236769Sobrien	very similar mechanism.  Note that in adding name='value' to
1974236769Sobrien	.MAKEOVERRIDES we do the moral equivalent of:
1975236769Sobrien	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
1976236769Sobrien
1977236769SobrienFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1978236769Sobrien
1979236769Sobrien	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
1980236769Sobrien
1981236769Sobrien	* Merged with NetBSD make
1982236769Sobrien	make -dx can now be used to run commands via sh -x
1983236769Sobrien	better error messages on exec failures.
1984236769Sobrien
1985236769SobrienThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
1986236769Sobrien
1987236769Sobrien	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
1988236769Sobrien	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
1989236769Sobrien	MACHINE etc otherwise they propagate from the previous bmake.
1990236769Sobrien
1991236769Sobrien	* configure.in (machine): allow --with-machine=generic to make
1992236769Sobrien	configure use machine.sh to set MACHINE. 
1993236769Sobrien
1994236769Sobrien	* job.c (JobInterrupt): convert to using WAIT_T and friends.
1995236769Sobrien
1996236769Sobrien	* Makefile.in: mention in bmake.1 that we use autoconf.
1997236769Sobrien
1998236769Sobrien	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
1999236769Sobrien
2000236769SobrienWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
2001236769Sobrien
2002236769Sobrien	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
2003236769Sobrien	as that rather defeats the usefulness of ${MAKEFILE}.
2004236769Sobrien
2005236769Sobrien	* main.c (MainParseArgs): append command line variable assignments
2006236769Sobrien	to MAKEFLAGS so that they get propagated to child make's.
2007236769Sobrien	Apparently this is required POSIX behaviour?  Its useful anyway.
2008236769Sobrien
2009236769SobrienTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
2010236769Sobrien
2011236769Sobrien	* compat.c (CompatRunCommand): don't use perror() since stdio may
2012236769Sobrien	cause problems in child of vfork().
2013236769Sobrien
2014236769Sobrien	* compat.c, main.c: Call PrintOnError() when we are going to bail.
2015236769Sobrien	This routine prints out the .curdir where we stopped and will also
2016236769Sobrien	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
2017236769Sobrien
2018236769Sobrien	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
2019236769Sobrien	:@ expansion.
2020236769Sobrien
2021236769Sobrien	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
2022236769Sobrien
2023236769Sobrien	* Added RCSid's for the files we've touched.
2024236769Sobrien	
2025236769SobrienThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
2026236769Sobrien
2027236769Sobrien	* configure.in:	Thanks to some clues from mdb@juniper.net,
2028236769Sobrien	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
2029236769Sobrien	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
2030236769Sobrien
2031236769Sobrien  --with-machine=MACHINE  explicitly set MACHINE
2032236769Sobrien  --with-force-machine=MACHINE  set FORCE_MACHINE
2033236769Sobrien  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
2034236769Sobrien  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
2035236769Sobrien  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
2036236769Sobrien  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
2037236769Sobrien 	
2038236769Sobrien	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
2039236769Sobrien
2040236769Sobrien	* makefile: added a pathetically simple makefile to drive
2041236769Sobrien	bootstrapping.  Running configure by hand is more useful.
2042236769Sobrien
2043236769Sobrien	* Makefile.in: added MAKE_VERSION, and reworked things to be less
2044236769Sobrien	dependent on NetBSD bsd.*.mk
2045236769Sobrien	
2046236769Sobrien	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
2047236769Sobrien	_PATH_OBJDIRPREFIX for those that don't want a default.
2048236769Sobrien	construct _PATH_DEFSYSPATH from the info we get from configure.
2049236769Sobrien
2050236769Sobrien	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
2051236769Sobrien	if MAKE_VERSION is defined.
2052236769Sobrien	
2053236769Sobrien	* compat.c: when we bail, print out the .CURDIR we were in.
2054236769Sobrien	
2055236769SobrienSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
2056236769Sobrien
2057236769Sobrien	* Merged with NetBSD make
2058236769Sobrien
2059236769Sobrien	* var.c: fixed a bug in the handling of the modifier :P
2060236769Sobrien	if the node as found but the path was null, we segfault trying to
2061236769Sobrien	duplicate it.
2062236769Sobrien
2063236769SobrienMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
2064236769Sobrien
2065236769Sobrien	* Merged with NetBSD make
2066236769Sobrien	
2067236769Sobrien	* make.c: Make_OODate's test for a library out of date was using
2068236769Sobrien	cmtime where it should have used mtime (my bug).
2069236769Sobrien
2070236769Sobrien	* compat.c: Use perror() to tell us what really went wrong when we
2071236769Sobrien	cannot exec a command.
2072236769Sobrien	
2073236769SobrienFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2074236769Sobrien
2075236769Sobrien	* Merged with NetBSD make
2076236769Sobrien	
2077236769SobrienSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2078236769Sobrien
2079236769Sobrien	* Merged with NetBSD make
2080236769Sobrien	
2081236769SobrienThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2082236769Sobrien
2083236769Sobrien	* Merged with NetBSD make
2084236769Sobrien	
2085236769SobrienTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2086236769Sobrien
2087236769Sobrien	* Merged with NetBSD make
2088236769Sobrien	
2089236769SobrienThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2090236769Sobrien
2091236769Sobrien	* util.c: don't provide signal() since we use sigcompat.c
2092236769Sobrien
2093236769Sobrien	* Makefile.in: added a build target.
2094236769Sobrien
2095236769Sobrien	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
2096236769Sobrien	These allow some quite clever magic.
2097236769Sobrien
2098236769Sobrien	* main.c (main): added support for getenv(MAKESYSPATH).
2099236769Sobrien
2100236769SobrienMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2101236769Sobrien
2102236769Sobrien	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
2103236769Sobrien	This avoids objdir having a different value depending on how a
2104236769Sobrien	directory was reached (via command line, or subdir.mk).
2105236769Sobrien
2106236769Sobrien	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
2107236769Sobrien	
2108236769SobrienMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
2109236769Sobrien
2110236769Sobrien	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
2111236769Sobrien	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
2112236769Sobrien	I've been testing this in NetBSD's make for some weeks.
2113236769Sobrien
2114236769Sobrien	* Turn Makefile into Makefile.in and make it useful.
2115236769Sobrien	
2116236769SobrienTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
2117236769Sobrien
2118236769Sobrien	* Imported NetBSD's -current make(1) and resolve conflicts.
2119236769Sobrien	
2120236769Sobrien	* Applied autoconf patches from bmake v2
2121236769Sobrien
2122236769Sobrien	* Imported clean code base from NetBSD-1.0
2123