summaryrefslogtreecommitdiff
path: root/devel/bmake/files/ChangeLog
blob: 9d8e5c0604c87bd6a6d990db563ff10ba9522ef2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20081101
	* Merge with NetBSD make, pick up:
	  o util.c: avoid use of putenv() - christos

2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20081030
	  pick up man page tweaks.

2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: move processing of LIBOBJS to after is definition!
	  thus we'll have getenv.c in SRCS only if needed.

	* make.1: add examples of how to use :?

	* Makefile.in (BMAKE_VERSION): bump version to 20081029
	* Merge with NetBSD make, pick up:
	  o fix for .END processing with -j
	  o segfault from Parse_Error when no makefile is open
	  o handle numeric expressions in any variable expansion
	  o debug output now defaults to stderr, -dF to change it - apb
	  o make now uses bmake_malloc etc so that it can build natively 
	    on OS/X - wasn't an issue for bmake, but we want to keep in sync.

2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080808
	* Merge with NetBSD make, pick up:
	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
	    long lines in Makefiles 
	  o optimizations for VarQuote by joerg
	  o fix for PR/38756: dominik: make dumps core on invalid makefile
	
2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080515
	* Merge with NetBSD make, pick up:
	  o fix skip setting vars in VAR_GLOBAL context, to handle
	    cases where VAR_CMD is used for other than command line vars.

2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap (make_version): we may need to look in
	$prefix/share/mk for sys.mk 

	* Makefile.in (BMAKE_VERSION): bump version to 20080514
	* Merge with NetBSD make, pick up:
	  o skip setting vars in VAR_GLOBAL context, when already set in
	  VAR_CMD which takes precedence.

2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
	* Merge with NetBSD make, pick up:
	  o fix for ?= when LHS contains variable reference.

2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* merge some patches from NetBSD pkgsrc.
	
	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
	the MAKSYSPATH used during bootstrap. 

	* Makefile.in (BMAKE_VERSION): bump version to 20080215
	* Merge with NetBSD make, pick up:
	  o warn if non-space chars follow 'empty' in a conditional.

2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20080118
	* Merge with NetBSD make, pick up:
	  o consider dependencies read from .depend as optional - dsl
	  o remember when buffer for reading makefile grows - dsl
	  o add -dl (aka LOUD) - David O'Brien

2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071022
	* Merge with NetBSD make, pick up:
	  o Allow .PATH<suffix> to be used for .include ""

	* boot-strap: source default settings from .bmake-boot-strap.rc

2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: fix maninstall on various systems 
	  provided that our man.mk is used.
	  For non-BSD systems we install the preformatted page
	  into $MANDIR/cat1

2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make bmake.1 too, so maninstall works.

2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071014
	* Merge with NetBSD make, pick up:
	  o revamped handling of defshell - configure no longer needs to
	    know the content of the shells array - apb
	  o stop Var_Subst modifying its input - apb
	  o avoid calling ParseTrackInput too often - dsl

2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20071011
	* Merge with NetBSD make, pick up:
	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.

	* sigcompat.c: some tweaks for HP-UX 11.x based on 
	  patch from Tobias Nygren

	* configure.in: update handling of --with-defshell to match
	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
	  will now do what one might hope - provided the chosen shell
	  behaves enough like sh.

2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20071008
	* Merge with NetBSD make, pick up:
	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
	  o .export/.MAKE.EXPORTED - export of variables - sjg
	  o .MAKE.MAKEFILES - track all makefiles read - sjg
	  o performance improvements - dsl
	  o revamp parallel job scheduling - dsl
	
2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060728
	* Merge with NetBSD make, pick up:
	  o extra debug info during variable and cond processing - sjg
	  o shell definition now covers newline - rillig
	  o minor mem leak in PrintOnError - sjg

2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump to 20060511
	* Merge with NetBSD make, pick up:
	  o more memory leaks - coverity
	  o possible overflow in ArchFindMember - coverity
	  o extract variable modifier code out of Var_Parse()
	    so it can be called recursively - sjg
	  o unit-tests/moderrs - sjg

2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060412
	* Merge with NetBSD make, pick up:
	  o fixes for some memory leaks - coverity
	  o only read first sys.mk etc when searching sysIncPath - sjg

	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
	setting ${MAKEFILE} - OBATA Akio

2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060318
	* Merge with NetBSD make, pick up:
	  o cleanup of job.c to remove remote handling, distcc is more
	    useful and this code was likely bit-rotting - dsl
	  o fix for :P modifier - sjg
	* boot-strap: set default prefix to something reasonable 
	  (for me anyway). 

2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060301
	* Merge with NetBSD make, pick up:
	  o make .WAIT apply recursively, document and test case - apb
	  o allow variable modifiers in a variable appear anywhere in
	    modifier list, document and test case - sjg

2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20060222
	* Merge with NetBSD make, pick up:
	  o improved job token handling - dsl
	  o SIG_DFL the correct signal before exec - dsl
	  o more debug info during parsing - dsl
	  o allow variable modifiers to be specified via variable - sjg
	* boot-strap: explain why we died if no mksrc

2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051105
	* configure.in: always set default_sys_path 
	  default is ${prefix}/share/mk
	  - remove prefix_sys_path, anyone wanting more than above
	    needs to set it manually.

2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: make this a bit easier for pkgsrc folk.
	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'

2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051102
	* job.c (JobFinish): fix likely ancient merge lossage
	fix from Todd Vierling.
	* boot-strap (srcdir): allow setting mksrc=none

2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051031
	* ranlib.h: skip on OSF too.
	  (NetBSD PR 31864)

2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051002
	  fix a silly typo

2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20051001
	  support for UnixWare and some other systems,
	  based on patches from pkgsrc/bootstrap

2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050901
	* Merge with NetBSD make, pick up:
	  o possible parse error causing us to wander off.

2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050606
	* Merge with NetBSD make, pick up:
	  o :0x modifier for randomizing a list
	  o fixes for a number of -Wuninitialized issues.

2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050530
	* Merge with NetBSD make, pick up:
	  o Handle dependencies for .BEGIN, .END and .INTERRUPT

	* README: was seriously out of date.
	
2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Important to use .MAKE rather than MAKE.

2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20050315
	* Merge with NetBSD make, pick up:
	  o don't mistake .elsefoo for .else
	  o use suffix-specific search path correctly
	  o bunch of style nits

2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: 
	o ensure that args to --src and --with-mksrc
	  are resolved before giving them to configure.
	o add -o "objdir" so that builder can control it,
	  default is $OS as determined by os.sh
	o add -q to suppress all the install instructions.

2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Remove __IDSTRING()

	* Makefile.in (BMAKE_VERSION): bump to 20040508
	* Merge with NetBSD make, pick up:
	  o posix fixes
	    - remove '-e' from compat mode
	    - add support for '+' command-line prefix.
	  o fix for handling '--' on command-line.
	  o fix include in lst.lib/lstInt.h to simplify '-I's
	  o we also picked up replacement of MAKE_BOOTSTRAP 
	    with !MAKE_NATIVE which is a noop, but possibly confusing.

2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20040414
	* Merge with NetBSD make, pick up:
	  o allow quoted strings on lhs of conditionals
	  o issue warning when extra .else is seen
	  o print line numer when errors encountered during parsing from
	  string.

2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION):  bump to 20040220
	* Merge with NetBSD make, pick up:
	  o fix for old :M parsing bug.
	  o re-jigged unit-tests

2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
	so that './bmake -f Makefile test' works.
	
2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: (BMAKE_VERSION): bump to 20040214
	* Merge with NetBSD make, pick up:
	  o search upwards for *.mk
	  o fix for double free of var substitution buffers
	  o use of getopt replaced with custom code, since the usage
	  (re-scanning) isn't posix compatible.

2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* arch.c: don't include ranlib.h on ELF systems
	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).

2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump to 20040118

	* boot-strap (while): export vars we assign to on cmdline
	* unit-test/Makefile.in: ternary is .PHONY

2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20040108
	* Merge with NetBSD make, pick up:
	  o fix for ternary modifier

2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20040105
	* Merge with NetBSD make, pick up:
	  o fix for cond.c to handle compound expressions better
	  o variable expansion within sysV style replacements
	  
2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>

	* Make portable snprintf safer - output to /dev/null first to
	check space needed.

	* Makefile.in (BMAKE_VERSION): bump version to 20031222
	* Merge with NetBSD make, pick up:
	  o -dg3 to show input graph when things go wrong.
	  o explicitly look for makefiles in objdir if not found in curdir so
	    that errors in .depend etc will be reported accurarely. 
	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
	    instead as it more accurately reflects the expected behavior and
	    is more consistently implemented.
	  o avoid use of asprintf.

2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* util.c: Add asprintf and vasprintf.

	* Makefile.in (BMAKE_VERSION): bump version to 20030928
	* Merge with NetBSD make, pick up:
	:[] modifier - allows picking words from a variable.
	:tW modifier - allows treating value as one big word.
	W flag for :C and :S - allows treating value as one big word.
	
2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	pick up -de flag to enable printing failed command.
	don't skip 1st two dir entries (normally . and ..) since
	coda does not have them.

2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20030909
	* Merge with NetBSD make, pick up:
	- changes for -V '${VAR}' to print fully expanded value
	  cf. -V VAR
	- CompatRunCommand now prints the command that failed.
	- several files got updated 3 clause Berkeley license.
	
2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>

	* boot-strap: Allow setting configure args on command line.

2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: add --with-defshell to allow sh or ksh
	to be selected as default shell.

	* Makefile.in: bump version to 20030731

	* Merge with NetBSD make 
	Pick up .SHELL spec for ksh and associate man page changes.
	Also compat mode now uses the same shell specs.

2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>

	* var.c (Var_Parse): ensure delim is initialized.

	* unit-tests/Makefile.in: use single quotes to avoid problems from
	some shells.

	* makefile.boot.in:
	Run the unit-tests as part of the bootstrap procedure.

2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>

	* unit-tests/Makefile.in: always force complaints from
	${TEST_MAKE} to be from 'make'.

	* configure.in: add check for 'diff -u'
	also fix some old autoconf'isms
	
	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
	if using GCC add -Wno-cast-qual to CFLAGS for var.o

	* Merge with NetBSD make
	Pick up fix for :ts parsing error in some cases.
	Pick unit-tests.

2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in (BMAKE_VERSION): bump version to 20030723.

	* var.c (Var_Parse): fix bug in :ts modifier, after const
	correctness fixes, must pass nstr to VarModify.

2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>

	* Makefile.in: BMAKE_VERSION switch to a date based version.
	We'll generally use the date of last import from NetBSD.

	* Merge with NetBSD make
	Pick up fixes for const-correctness, now passes WARNS=3 on
	NetBSD.
	Pick up :ts modifier, allows controlling the separator used
	between words in variable expansion.

2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>

	* FILES: include boot-strap and os.sh

	* Makefile.in: only set WARNS if we are NetBSD, the effect on
	FreeBSD is known to be bad.

	* makefile.boot.in (bootstrap): make this the default target.

	* Makefile.in: bump version to 3.1.19

	* machine.sh: avoid A-Z with tr as it is bound to lose.

2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
	Plus some doc fixes.
	
2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for PR/1523 - don't count a library as built, if there
	is no way to build it 

	* Bump version to 3.1.18

2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make
	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
	appears in src list.

2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make (mmm 10th anniversary!)
	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
	pick up -X which tells us to not export VAR=val via setenv if
	we are already doing so via MAKEFLAGS.  This saves valuable env
	space on systems like Darwin.
	set MAKE_VERSION to 3.1.17

	* parse.c: pix up fix for suffix rules

2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up fix for propagating -B via MAKEFLAGS.
	set MAKE_VERSION to 3.1.16

	* Apply some patches from pkgsrc-bootstrap/bmake
	Originally by Grant Beattie <grant@netbsd.org>
	I may have missed some - since they are based on bmake-3.1.12
	
2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>

	* makefile.boot.in (bmake): update install targets for those that
	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.

	* bmake.cat1: update the pre-formatted man page!

2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up fix for premature free of pointer used in call
	to Dir_InitCur().
	set MAKE_VERSION to 3.1.15

2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>

	* configure.in: determine suitable value for MKSRC.
	override using --with-mksrc=PATH.

	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
	configs(8) will use 'sun4' as an alias for 'sparc'.

2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>

	* Merge with NetBSD make.
	pick up ${.PATH}
	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
	set MAKE_VERSION to 3.1.14
	add configure checks for killpg and sys/socket.h

2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>

	* tag bmake-3-1-13
	
	* makefile.boot.in (bmake): use install-mk
	Also setup ./mk before trying to invoke bmake.boot incase we
	needed install-mk to create a sys.mk for us. 

	* configure.in: If we need to add -I${srcdir}/missing, make it an
	absolute path so that it works for lst.lib too.

	* make.h: always include sys/cdefs.h since we provide one if the
	host does not.
	
	* Makefile.in (install-mk): 
	use MKSRC/install-mk which will do the right thing.
	use uname -p for ARCH if possible.
	since install-mk will setup links bsd.prog.mk -> prog.mk if
	needed, just .include bsd.prog.mk

	* Merge with NetBSD make (NetBSD-1.6)
	Code is ansi-C only now.
	Bug in handling of dotLast is fixed.
	Can now assign .OBJDIR and make will reset its notions of life.
	New modifiers :tu :tl for toUpper and toLower.

Tue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>

	* Merge with NetBSD make
	pick up fix for .END failure in compat mode.
	pick up fix for extra va_end() in ParseVErrorInternal.

Thu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>

	* configure.in: for systems that have sys/cdefs.h check if it is
	compatible.  If not, include the one under missing, but tell it to
	include the native one too - necessary on Linux.

	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
	include_next (for gcc) to get the native sys/cdefs.h

Tue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* job.c (JobFinish): Fix an earlier merge bug that resulted in
	leaking descriptors when using -jN.
	
	* job.c (JobPrintCommand): See if "curdir" exists before
	attempting to chdir().  Doing the chdir directly in make (when in
	compat mode) fails silently, so let the -jN version do the same.
	This can happen when building kernels in an object tree and
	playing clever games to reset .CURDIR.

	* Merged with NetBSD make
	pick up .USEBEFORE

Tue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.

Tue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
	us not to export the iterator variable when using VAR_CMD context.

Sun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
	its the wrong "fix".

Sat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Redesigned export of VAR_CMD's via MAKEFLAGS.
	We now simply append the variable names to .MAKEOVERRIDES, and
	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
	Apart from fixing quoting bugs in previous version, this allows us
	to export vars to the environment by simply doing:
	.MAKEOVERRIDES+= PATH 
	Merged again with NetBSD make, but the above is the only change.

	* configure.in: added
	--disable-pwd-override		disable $PWD overriding getcwd()
	--disable-check-make-chdir	disable make trying to guess 
		when it should automatically cd ${.CURDIR}

	* Merge with NetBSD make, changes include:
	parse.c (ParseDoDependency): Spot that the syntax error is
	caused by an unresolved cvs/rcs conflict and say so.
	var.c: most of Var* functions now take a ctxt as 1st arg.
	now does variable substituion on rhs of sysv style modifiers.
	
	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
	is now done here.  We append the name='value' to .MAKEOVERRIDES
	rather than directly into MAKEFLAGS as this allows a Makefile to
	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
	very similar mechanism.  Note that in adding name='value' to
	.MAKEOVERRIDES we do the moral equivalent of:
	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'

Fri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H

	* Merged with NetBSD make
	make -dx can now be used to run commands via sh -x
	better error messages on exec failures.

Thu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
	MACHINE etc otherwise they propagate from the previous bmake.

	* configure.in (machine): allow --with-machine=generic to make
	configure use machine.sh to set MACHINE. 

	* job.c (JobInterrupt): convert to using WAIT_T and friends.

	* Makefile.in: mention in bmake.1 that we use autoconf.

	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.

Wed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
	as that rather defeats the usefulness of ${MAKEFILE}.

	* main.c (MainParseArgs): append command line variable assignments
	to MAKEFLAGS so that they get propagated to child make's.
	Apparently this is required POSIX behaviour?  Its useful anyway.

Tue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* compat.c (CompatRunCommand): don't use perror() since stdio may
	cause problems in child of vfork().

	* compat.c, main.c: Call PrintOnError() when we are going to bail.
	This routine prints out the .curdir where we stopped and will also
	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.

	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
	:@ expansion.

	* var.c: VarLoopExpand: ignore addSpace if a \n is present.

	* Added RCSid's for the files we've touched.
	
Thu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* configure.in:	Thanks to some clues from mdb@juniper.net,
	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
	as well as what ends up in _PATH_DEFSYSPATH.  We now have:

  --with-machine=MACHINE  explicitly set MACHINE
  --with-force-machine=MACHINE  set FORCE_MACHINE
  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
 	
	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.

	* makefile: added a pathetically simple makefile to drive
	bootstrapping.  Running configure by hand is more useful.

	* Makefile.in: added MAKE_VERSION, and reworked things to be less
	dependent on NetBSD bsd.*.mk
	
	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
	_PATH_OBJDIRPREFIX for those that don't want a default.
	construct _PATH_DEFSYSPATH from the info we get from configure.

	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
	if MAKE_VERSION is defined.
	
	* compat.c: when we bail, print out the .CURDIR we were in.
	
Sat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make

	* var.c: fixed a bug in the handling of the modifier :P
	if the node as found but the path was null, we segfault trying to
	duplicate it.

Mon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
	* make.c: Make_OODate's test for a library out of date was using
	cmtime where it should have used mtime (my bug).

	* compat.c: Use perror() to tell us what really went wrong when we
	cannot exec a command.
	
Fri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Sat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Thu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Tue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Merged with NetBSD make
	
Thu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* util.c: don't provide signal() since we use sigcompat.c

	* Makefile.in: added a build target.

	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
	These allow some quite clever magic.

	* main.c (main): added support for getenv(MAKESYSPATH).

Mon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
	This avoids objdir having a different value depending on how a
	directory was reached (via command line, or subdir.mk).

	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
	
Mon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
	I've been testing this in NetBSD's make for some weeks.

	* Turn Makefile into Makefile.in and make it useful.
	
Tue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>

	* Imported NetBSD's -current make(1) and resolve conflicts.
	
	* Applied autoconf patches from bmake v2

	* Imported clean code base from NetBSD-1.0