xref: /freebsd/contrib/bmake/ChangeLog (revision ef0b253881c9546ff88d3ed8480df7c791b3ddff)
1*ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
2*ef0b2538SSimon J. Gerraty
3*ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200606
4*ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
5*ef0b2538SSimon J. Gerraty	o make.1: cleanup
6*ef0b2538SSimon J. Gerraty
7*ef0b2538SSimon J. Gerraty	* Makefile: fix depends for main.o which broke MAKE_VERSION
8*ef0b2538SSimon J. Gerraty
9*ef0b2538SSimon J. Gerraty2020-06-05  Simon J Gerraty  <sjg@beast.crufty.net>
10*ef0b2538SSimon J. Gerraty
11*ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200605
12*ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
13*ef0b2538SSimon J. Gerraty	o dir.c: cached_stats - don't confuse stat and lstat results.
14*ef0b2538SSimon J. Gerraty	o var.c: add :Or for reverse sort.
15*ef0b2538SSimon J. Gerraty
16*ef0b2538SSimon J. Gerraty2020-05-24  Simon J Gerraty  <sjg@beast.crufty.net>
17*ef0b2538SSimon J. Gerraty
18*ef0b2538SSimon J. Gerraty	* configure.in: add AC_PROG_CC_C99 for mipspro compiler
19*ef0b2538SSimon J. Gerraty	also if --with-filemon= specifies path to filemon.h
20*ef0b2538SSimon J. Gerraty	set use_filemon=dev
21*ef0b2538SSimon J. Gerraty	* dirname.c: remove include of namespace.h
22*ef0b2538SSimon J. Gerraty
2349caa483SSimon J. Gerraty2020-05-17  Simon J Gerraty  <sjg@beast.crufty.net>
2449caa483SSimon J. Gerraty
2549caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200517
2649caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
2749caa483SSimon J. Gerraty	o modified dollar tests to avoid shell dependencies
2849caa483SSimon J. Gerraty	o new tests for .INCLUDEFROM
2949caa483SSimon J. Gerraty
3049caa483SSimon J. Gerraty2020-05-16  Simon J Gerraty  <sjg@beast.crufty.net>
3149caa483SSimon J. Gerraty
3249caa483SSimon J. Gerraty	* unit-tests/dollar.mk: tweak  '1 dollar literal' test
3349caa483SSimon J. Gerraty	to not depend so much on shell behavior
3449caa483SSimon J. Gerraty
3549caa483SSimon J. Gerraty2020-05-10  Simon J Gerraty  <sjg@beast.crufty.net>
3649caa483SSimon J. Gerraty
3749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200510
3849caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
3949caa483SSimon J. Gerraty	o unit test for dollar handling
4049caa483SSimon J. Gerraty
4149caa483SSimon J. Gerraty2020-05-06  Simon J Gerraty  <sjg@beast.crufty.net>
4249caa483SSimon J. Gerraty
4349caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200506
4449caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
4549caa483SSimon J. Gerraty	o str.c: empty string does not match % pattern
4649caa483SSimon J. Gerraty	  plus unit-test changes
4749caa483SSimon J. Gerraty
4849caa483SSimon J. Gerraty2020-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
4949caa483SSimon J. Gerraty
5049caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200504
5149caa483SSimon J. Gerraty	May the 4th be with you
5249caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
5349caa483SSimon J. Gerraty	o var.c: import handling of old sysV style modifier using '%'
5449caa483SSimon J. Gerraty	o str.c: refactor brk_string
5549caa483SSimon J. Gerraty	o unit-tests: add test case for lazy conditions
5649caa483SSimon J. Gerraty
5749caa483SSimon J. Gerraty2020-04-18  Simon J Gerraty  <sjg@beast.crufty.net>
5849caa483SSimon J. Gerraty
5949caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200418
6049caa483SSimon J. Gerraty
6149caa483SSimon J. Gerraty	* configure.in: use_makefile=no for cygwin et al.
6249caa483SSimon J. Gerraty	case insensitive filesystems just don't work if both
6349caa483SSimon J. Gerraty	makefile and Makefile exist.
6449caa483SSimon J. Gerraty	NOTE: bmake does not support cygwin and likely never will,
6549caa483SSimon J. Gerraty	but if brave souls want to try it - help them out.
6649caa483SSimon J. Gerraty
6749caa483SSimon J. Gerraty2020-04-02  Simon J Gerraty  <sjg@beast.crufty.net>
6849caa483SSimon J. Gerraty
6949caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200402
7049caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
7149caa483SSimon J. Gerraty	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
7249caa483SSimon J. Gerraty	  a blank command is perfectly valid.
7349caa483SSimon J. Gerraty
7449caa483SSimon J. Gerraty2020-03-30  Simon J Gerraty  <sjg@beast.crufty.net>
7549caa483SSimon J. Gerraty
7649caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200330
7749caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
7849caa483SSimon J. Gerraty	o make.h: extern debug_file
7949caa483SSimon J. Gerraty
8049caa483SSimon J. Gerraty2020-03-18  Simon J Gerraty  <sjg@beast.crufty.net>
8149caa483SSimon J. Gerraty
8249caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200318
8349caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
8449caa483SSimon J. Gerraty	o meta.c: meta_oodate, check for corrupted meta file
8549caa483SSimon J. Gerraty	  earlier and more often.
8649caa483SSimon J. Gerraty
8749caa483SSimon J. Gerraty2020-02-20  Simon J Gerraty  <sjg@beast.crufty.net>
8849caa483SSimon J. Gerraty
8949caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200220
9049caa483SSimon J. Gerraty
9149caa483SSimon J. Gerraty2020-02-19  Simon J Gerraty  <sjg@beast.crufty.net>
9249caa483SSimon J. Gerraty
9349caa483SSimon J. Gerraty	* boot-strap: unset MAKEFLAGS
9449caa483SSimon J. Gerraty
9549caa483SSimon J. Gerraty2020-02-12  Simon J Gerraty  <sjg@beast.crufty.net>
9649caa483SSimon J. Gerraty
9749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200212
9849caa483SSimon J. Gerraty	* meta.c: meta_compat_parent check for USE_FILEMON
9949caa483SSimon J. Gerraty	  patch from Soeren Tempel
10049caa483SSimon J. Gerraty
10149caa483SSimon J. Gerraty2020-02-05  Simon J Gerraty  <sjg@beast.crufty.net>
10249caa483SSimon J. Gerraty
10349caa483SSimon J. Gerraty	* VERSION: 20200205
10449caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
10549caa483SSimon J. Gerraty	o meta.c: fix compat mode, need to call meta_job_output()
10649caa483SSimon J. Gerraty	o job.c: extra fds for meta mode not needed if using filemon_dev
10749caa483SSimon J. Gerraty
10849caa483SSimon J. Gerraty2020-01-22  Simon J Gerraty  <sjg@beast.crufty.net>
10949caa483SSimon J. Gerraty
11049caa483SSimon J. Gerraty	* VERSION: 20200122
11149caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
11249caa483SSimon J. Gerraty	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
11349caa483SSimon J. Gerraty	  returns FALSE.
11449caa483SSimon J. Gerraty
11549caa483SSimon J. Gerraty2020-01-21  Simon J Gerraty  <sjg@beast.crufty.net>
11649caa483SSimon J. Gerraty
11749caa483SSimon J. Gerraty	* VERSION: 20200121
11849caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
11949caa483SSimon J. Gerraty	o filemon/filemon_{dev,ktrace}.c: allow selection of
12049caa483SSimon J. Gerraty	  filemon implementation.  filemon_dev.c uses the kernel module
12149caa483SSimon J. Gerraty	  while filemon_ktrace.c leverages the fktrace api available in
12249caa483SSimon J. Gerraty	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
12349caa483SSimon J. Gerraty	  adding support for other tracing mechanisms such as strace on
12449caa483SSimon J. Gerraty	  Linux.
12549caa483SSimon J. Gerraty	o meta.c: when target is out-of-date per normal make rules
12649caa483SSimon J. Gerraty	  record value of .OODATE in meta file.
12749caa483SSimon J. Gerraty
12849caa483SSimon J. Gerraty2019-09-26  Simon J Gerraty  <sjg@beast.crufty.net>
12949caa483SSimon J. Gerraty
13049caa483SSimon J. Gerraty	* VERSION: 20190926
13149caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
13249caa483SSimon J. Gerraty	  o parse.c: don't pass NULL to realpath(3)
13349caa483SSimon J. Gerraty	    some versions cannot handle it.
13449caa483SSimon J. Gerraty
13549caa483SSimon J. Gerraty2019-04-09  Simon J Gerraty  <sjg@beast.crufty.net>
13649caa483SSimon J. Gerraty
13749caa483SSimon J. Gerraty	* VERSION: 20190409
13849caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
13949caa483SSimon J. Gerraty	  o parse.c: ParseDoDependency: free paths rather than assert
14049caa483SSimon J. Gerraty
14149caa483SSimon J. Gerraty2018-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
14249caa483SSimon J. Gerraty
14349caa483SSimon J. Gerraty	* VERSION: 20181222
14449caa483SSimon J. Gerraty
14549caa483SSimon J. Gerraty	* configure.in: add --without-makefile to avoid generating
14649caa483SSimon J. Gerraty	  makefile and make-bootstrap.sh
14749caa483SSimon J. Gerraty
14849caa483SSimon J. Gerraty	* include Makefile.inc if it exists
14949caa483SSimon J. Gerraty
15049caa483SSimon J. Gerraty	* Use Makefile and Makefile.config.in in unit-tests
15149caa483SSimon J. Gerraty	  so we can use just: make obj && make && make test
15249caa483SSimon J. Gerraty	  when bmake is already available.
15349caa483SSimon J. Gerraty	  We add --without-makefile to CONFIGURE_ARGS in this case.
15449caa483SSimon J. Gerraty
15549caa483SSimon J. Gerraty	* tweak bsd.after-import.mk (captures Makefile.config etc
15649caa483SSimon J. Gerraty	  after import to FreeBSD for example) to cope with all the above.
15749caa483SSimon J. Gerraty
158dfd669abSSimon J. Gerraty2018-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
159dfd669abSSimon J. Gerraty
160dfd669abSSimon J. Gerraty	* VERSION: 20181221
161dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
162dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .PARSEDIR
163dfd669abSSimon J. Gerraty	    and apply if relative, and then use .PARSEFILE
164dfd669abSSimon J. Gerraty	    for consistent result.
165dfd669abSSimon J. Gerraty
166dfd669abSSimon J. Gerraty2018-12-20  Simon J Gerraty  <sjg@beast.crufty.net>
167dfd669abSSimon J. Gerraty
168dfd669abSSimon J. Gerraty	* VERSION: 20181220
169dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
170dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
171dfd669abSSimon J. Gerraty	    is relative
172dfd669abSSimon J. Gerraty	  o var.c: avoid SEGFAULT in .unexport-env
173dfd669abSSimon J. Gerraty	    when MAKELEVEL is not set
174dfd669abSSimon J. Gerraty
175dfd669abSSimon J. Gerraty2018-12-16  Simon J Gerraty  <sjg@beast.crufty.net>
176dfd669abSSimon J. Gerraty
177dfd669abSSimon J. Gerraty	* VERSION: 20181216
178dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
179dfd669abSSimon J. Gerraty	  o fix for unit-tests/varquote.mk on Debian
180dfd669abSSimon J. Gerraty
1812eae894cSSimon J. Gerraty2018-09-21  Simon J. Gerraty  <sjg@bad.crufty.net>
1822eae894cSSimon J. Gerraty
1832eae894cSSimon J. Gerraty	* VERSION: 20180919
1842eae894cSSimon J. Gerraty	  Merge with NetBSD make, pick up
1852eae894cSSimon J. Gerraty	  o var.c: add :q
1862eae894cSSimon J. Gerraty	  o dir.c: cleanup caching of stats
1872eae894cSSimon J. Gerraty
1882eae894cSSimon J. Gerraty2018-09-21  Simon J Gerraty  <sjg@beast.crufty.net>
1892eae894cSSimon J. Gerraty
1902eae894cSSimon J. Gerraty	* Makefile.config.in: use += where it makes sense.
1912eae894cSSimon J. Gerraty
192494f7191SSimon J. Gerraty2018-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
193494f7191SSimon J. Gerraty
194494f7191SSimon J. Gerraty	* VERSION: 20180512
195494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
196494f7191SSimon J. Gerraty	  o job.c: skip polling job token pipe
197494f7191SSimon J. Gerraty
198494f7191SSimon J. Gerraty2018-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
199494f7191SSimon J. Gerraty
200494f7191SSimon J. Gerraty	* VERSION: 20180405
201494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
202494f7191SSimon J. Gerraty	  o parse.c: be more cautious about detecting depenency line
203494f7191SSimon J. Gerraty	    rather than sysV style include.
204494f7191SSimon J. Gerraty
20550d2e745SSimon J. Gerraty2018-02-22  Simon J. Gerraty  <sjg@bad.crufty.net>
20650d2e745SSimon J. Gerraty
20750d2e745SSimon J. Gerraty	* VERSION: 20180222
20850d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
20950d2e745SSimon J. Gerraty	  o parse.c: avoid calling sysconf for every call to loadfile
21050d2e745SSimon J. Gerraty
21150d2e745SSimon J. Gerraty2018-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
21250d2e745SSimon J. Gerraty
21350d2e745SSimon J. Gerraty	* VERSION: 20180218
21450d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
21550d2e745SSimon J. Gerraty	  o var.c: Var_Set handle NULL value anytime.
21650d2e745SSimon J. Gerraty
21750d2e745SSimon J. Gerraty2018-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
21850d2e745SSimon J. Gerraty
21950d2e745SSimon J. Gerraty	* VERSION: 20180212
22050d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
22150d2e745SSimon J. Gerraty	  o parse.c: do not treat .info as warning with -W
22250d2e745SSimon J. Gerraty
22350d2e745SSimon J. Gerraty2017-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
22450d2e745SSimon J. Gerraty
22550d2e745SSimon J. Gerraty	* VERSION: 20171207
22650d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
22750d2e745SSimon J. Gerraty	  o var.c: Var_Append use Var_Set if var not previously set
22850d2e745SSimon J. Gerraty	    so that VAR_CMD is handled correctly.
22950d2e745SSimon J. Gerraty	    Add a suitable unit-test.
23050d2e745SSimon J. Gerraty
23150d2e745SSimon J. Gerraty2017-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
23250d2e745SSimon J. Gerraty
23350d2e745SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20171126
23450d2e745SSimon J. Gerraty
23550d2e745SSimon J. Gerraty	* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
23650d2e745SSimon J. Gerraty	  since AC_TRY_COMPILE puts input inside main()
23750d2e745SSimon J. Gerraty	  which upsets modern compilers.
23850d2e745SSimon J. Gerraty
23950d2e745SSimon J. Gerraty2017-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
24050d2e745SSimon J. Gerraty
24150d2e745SSimon J. Gerraty	* VERSION: 20171118
24250d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
24350d2e745SSimon J. Gerraty	  o var.c: do not append to variable set on command line
24450d2e745SSimon J. Gerraty	    add unit-test to catch this.
24550d2e745SSimon J. Gerraty
246e22fef7dSSimon J. Gerraty2017-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
247e22fef7dSSimon J. Gerraty
248e22fef7dSSimon J. Gerraty	* VERSION: 20171028
249e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
250e22fef7dSSimon J. Gerraty	  o main.c: ignore empty MAKEOBJDIR
251e22fef7dSSimon J. Gerraty
252e22fef7dSSimon J. Gerraty	* Makefile.config.in:
253e22fef7dSSimon J. Gerraty	  make @prefix@ @machine*@ and @default_sys_path@ defaults.
254e22fef7dSSimon J. Gerraty
255e22fef7dSSimon J. Gerraty2017-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
256e22fef7dSSimon J. Gerraty
257e22fef7dSSimon J. Gerraty	* VERSION: 20171005
258e22fef7dSSimon J. Gerraty
259e22fef7dSSimon J. Gerraty	* unit-tests/dotwait.mk: redirect stderr through pipe for more
260e22fef7dSSimon J. Gerraty	  consistent result on some platforms.
261e22fef7dSSimon J. Gerraty
262e22fef7dSSimon J. Gerraty2017-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
263e22fef7dSSimon J. Gerraty
264e22fef7dSSimon J. Gerraty	* machine.sh: entry for AIX
265e22fef7dSSimon J. Gerraty
266e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
267e22fef7dSSimon J. Gerraty
268e22fef7dSSimon J. Gerraty	* VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
269e22fef7dSSimon J. Gerraty	  to a file that can be included by configure as well as make.
270e22fef7dSSimon J. Gerraty	  This allows configure to set set _MAKE_VERSION in make-bootstrap.sh
271e22fef7dSSimon J. Gerraty
272e22fef7dSSimon J. Gerraty2017-08-10  Simon J. Gerraty  <sjg@bad.crufty.net>
273e22fef7dSSimon J. Gerraty
274e22fef7dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170810
275e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
276e22fef7dSSimon J. Gerraty	  o meta.c: if target is in subdir we only need subdir name in
277e22fef7dSSimon J. Gerraty	    meta_name.
278e22fef7dSSimon J. Gerraty
279c7019bf7SSimon J. Gerraty2017-07-20  Simon J. Gerraty  <sjg@bad.crufty.net>
280c7019bf7SSimon J. Gerraty
281c7019bf7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170720
282c7019bf7SSimon J. Gerraty	  Merge with NetBSD make, pick up
283c7019bf7SSimon J. Gerraty	  o compat.c: pass SIGINT etc onto child and wait for it to exit
284c7019bf7SSimon J. Gerraty	    before we self-terminate.
285c7019bf7SSimon J. Gerraty
2868695518cSSimon J. Gerraty2017-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
2878695518cSSimon J. Gerraty
2888695518cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170711
2898695518cSSimon J. Gerraty	  forgot to update after merge on 20170708 ;-)
2908695518cSSimon J. Gerraty	  o main.c: refactor to reduce size of main function.
2918695518cSSimon J. Gerraty	    add -v option to always fully expand values.
2928695518cSSimon J. Gerraty	  o meta.c: ensure command output in meta file has ending newline
2938695518cSSimon J. Gerraty	    even when filemon not being used.
2948695518cSSimon J. Gerraty	    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
2958695518cSSimon J. Gerraty	    pathname via ':L' since any ':' in pathname breaks that.
2968695518cSSimon J. Gerraty	    Instead set a '${.p.}' to pathname in the target context and
2978695518cSSimon J. Gerraty	    use that.
2988695518cSSimon J. Gerraty
299cac6fd11SSimon J. Gerraty2017-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
300cac6fd11SSimon J. Gerraty
301cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170510
302cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
303cac6fd11SSimon J. Gerraty	  o main.c: Main_SetObjdir: ensure buf2 is in scope
304cac6fd11SSimon J. Gerraty
305cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
306cac6fd11SSimon J. Gerraty
307cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170505
308cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
309cac6fd11SSimon J. Gerraty
310cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
311cac6fd11SSimon J. Gerraty
312cac6fd11SSimon J. Gerraty	* parse.c: not everyone has stdint.h
313cac6fd11SSimon J. Gerraty
314cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
315cac6fd11SSimon J. Gerraty
316cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170501
317cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
318cac6fd11SSimon J. Gerraty
319cac6fd11SSimon J. Gerraty2017-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
320cac6fd11SSimon J. Gerraty
321cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170421
322cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
323cac6fd11SSimon J. Gerraty	  o str.c: Str_Match: fix closure tests for [^] and add unit-test.
324cac6fd11SSimon J. Gerraty
325e1cee40dSSimon J. Gerraty2017-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
326e1cee40dSSimon J. Gerraty
327e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170420
328e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
329e1cee40dSSimon J. Gerraty	  o main.c: only use -C arg "as is" if it contains no
330e1cee40dSSimon J. Gerraty	    relative component.
331e1cee40dSSimon J. Gerraty
332e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
333e1cee40dSSimon J. Gerraty
334e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170418
335e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
336e1cee40dSSimon J. Gerraty	  o main.c: fix Main_SetObjdir() for relative paths (eg obj).
337e1cee40dSSimon J. Gerraty
338e1cee40dSSimon J. Gerraty2017-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
339e1cee40dSSimon J. Gerraty
340e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170417
341e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
342e1cee40dSSimon J. Gerraty	  o fixes a number of coverity complaints
343e1cee40dSSimon J. Gerraty	    - check return value of fseek, fcntl
344e1cee40dSSimon J. Gerraty	    - plug memory leak in Dir_FindFile, Var_LoopExpand,
345e1cee40dSSimon J. Gerraty	      JobPrintCommand, ParseTraditionalInclude
346e1cee40dSSimon J. Gerraty	    - use bmake_malloc() where NULL is not tollerated
347e1cee40dSSimon J. Gerraty	    - use MAKE_ATTR_UNUSED rather that kludges like
348e1cee40dSSimon J. Gerraty	      return(unused ? 0 : 0)
349e1cee40dSSimon J. Gerraty	    - use purge_cached_realpaths() rather than abuse cached_realpath()
350e1cee40dSSimon J. Gerraty
351b46b9039SSimon J. Gerraty2017-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
352b46b9039SSimon J. Gerraty
353b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170413
354b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
355b46b9039SSimon J. Gerraty	  o main.c: when setting .OBJDIR ignore '$' in paths.
356b46b9039SSimon J. Gerraty
357b46b9039SSimon J. Gerraty	* job.c: use MALLOC_OPTIONS to set malloc_options.
358b46b9039SSimon J. Gerraty
359b46b9039SSimon J. Gerraty2017-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
360b46b9039SSimon J. Gerraty
361b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170411
362b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
363b46b9039SSimon J. Gerraty	  o str.c: Str_Match: allow [^a-z] to behave as expected.
364b46b9039SSimon J. Gerraty
365b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
366b46b9039SSimon J. Gerraty
367b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170326
368b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
369b46b9039SSimon J. Gerraty	  o main.c: purge relative paths from realpath cache when .OBJDIR
370b46b9039SSimon J. Gerraty	    is changed.
371b46b9039SSimon J. Gerraty
372b46b9039SSimon J. Gerraty2017-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
373b46b9039SSimon J. Gerraty
374b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170311
375b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
376b46b9039SSimon J. Gerraty          o main.c: only use -C arg "as is" if it starts with '/'.
377b46b9039SSimon J. Gerraty
3781ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
3791ce939a7SSimon J. Gerraty
3801ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170301
3811ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
382b46b9039SSimon J. Gerraty	  o main.c: use -C arg "as is" rather than getcwd()
3831ce939a7SSimon J. Gerraty	    if they identify the same directory.
3841ce939a7SSimon J. Gerraty	  o parse.c: ensure loadfile buffer is \n terminated in non-mmap case
3851ce939a7SSimon J. Gerraty
3861ce939a7SSimon J. Gerraty2017-02-01  Simon J. Gerraty  <sjg@bad.crufty.net>
3871ce939a7SSimon J. Gerraty
3881ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170201
3891ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
3901ce939a7SSimon J. Gerraty	  o var.c: allow :_=var and avoid use of special context.
3911ce939a7SSimon J. Gerraty
3921ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
3931ce939a7SSimon J. Gerraty
3941ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170130
3951ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
3961ce939a7SSimon J. Gerraty	  o var.c: add :range and :_
3971ce939a7SSimon J. Gerraty	  o main.c: partially initialize Dir_* before MainParseArgs()
3981ce939a7SSimon J. Gerraty	    can be called.
3991ce939a7SSimon J. Gerraty	    If -V, skip Main_ExportMAKEFLAGS()
4001ce939a7SSimon J. Gerraty
4011ce939a7SSimon J. Gerraty2017-01-14  Simon J. Gerraty  <sjg@bad.crufty.net>
4021ce939a7SSimon J. Gerraty
4031ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170114
4041ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
4051ce939a7SSimon J. Gerraty	  o var.c: allow specifying the utc value used by :{gm,local}time
4061ce939a7SSimon J. Gerraty
40745447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
40845447996SSimon J. Gerraty
40945447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161212
41045447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
41145447996SSimon J. Gerraty          o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.
41245447996SSimon J. Gerraty
41345447996SSimon J. Gerraty2016-12-09  Simon J. Gerraty  <sjg@bad.crufty.net>
41445447996SSimon J. Gerraty
41545447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161209
41645447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
41745447996SSimon J. Gerraty	  o main.c: cleanup setting of .OBJDIR
41845447996SSimon J. Gerraty	  o parse.c: avoid coredump from (var)=val
41945447996SSimon J. Gerraty
42045447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
42145447996SSimon J. Gerraty
42245447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161126
42345447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
42445447996SSimon J. Gerraty	  o make.c: Make_OODate: report src node name if path not set
42545447996SSimon J. Gerraty
42645447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
42745447996SSimon J. Gerraty
42845447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160926
42945447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
43045447996SSimon J. Gerraty	  o support for .DELETE_ON_ERROR: (remove targets that fail)
43145447996SSimon J. Gerraty
43245447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
43345447996SSimon J. Gerraty
43445447996SSimon J. Gerraty	* Makefile MAN: tweak .Dt to match ${PROG}
43545447996SSimon J. Gerraty
43695e3ed2cSSimon J. Gerraty2016-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
43795e3ed2cSSimon J. Gerraty
43895e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160818
43995e3ed2cSSimon J. Gerraty	  its a neater number; pick up whitespace fixes to man page.
44095e3ed2cSSimon J. Gerraty
44195e3ed2cSSimon J. Gerraty2016-08-17  Simon J. Gerraty  <sjg@bad.crufty.net>
44295e3ed2cSSimon J. Gerraty
44395e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160817
44495e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
44595e3ed2cSSimon J. Gerraty	  o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
44695e3ed2cSSimon J. Gerraty	    so we can call it before adding entries to missingFiles.
44795e3ed2cSSimon J. Gerraty	    Thus we do not track files we have been told to ignore.
44895e3ed2cSSimon J. Gerraty
44995e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
45095e3ed2cSSimon J. Gerraty
45195e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160815
45295e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
45395e3ed2cSSimon J. Gerraty	  o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
45495e3ed2cSSimon J. Gerraty	    pathnames, and skip if the expansion is empty.
45595e3ed2cSSimon J. Gerraty	    Useful for dirdeps.mk when checking DIRDEPS_CACHE.
45695e3ed2cSSimon J. Gerraty
45795e3ed2cSSimon J. Gerraty2016-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
45895e3ed2cSSimon J. Gerraty
45995e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160812
46095e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
46195e3ed2cSSimon J. Gerraty	  o meta.c: remove all missingFiles entries that match a deleted
46295e3ed2cSSimon J. Gerraty	    dir.
46395e3ed2cSSimon J. Gerraty	  o main.c: set .ERROR_CMD if possible.
46495e3ed2cSSimon J. Gerraty
46539ac7ef4SSimon J. Gerraty2016-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
46639ac7ef4SSimon J. Gerraty
46739ac7ef4SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160606
46839ac7ef4SSimon J. Gerraty	  Merge with NetBSD make, pick up
46939ac7ef4SSimon J. Gerraty	  o dir.c: extend mtimes cache to others via cached_stat()
47039ac7ef4SSimon J. Gerraty
471b778b302SSimon J. Gerraty2016-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
472b778b302SSimon J. Gerraty
473b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160604
474b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
475b778b302SSimon J. Gerraty	  o meta.c: missing filemon data is only relevant if we read a
476b778b302SSimon J. Gerraty	    meta file.
477b778b302SSimon J. Gerraty	    Also do not return oodate for a missing metafile if gn->path
478b778b302SSimon J. Gerraty	    points to .CURDIR
479b778b302SSimon J. Gerraty
480b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
481b778b302SSimon J. Gerraty
482b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160602
483b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
484b778b302SSimon J. Gerraty	  o cached_realpath(): avoid hitting filesystem more than necessary.
485b778b302SSimon J. Gerraty	  o meta.c: refactor need_meta decision, add knobs for
486b778b302SSimon J. Gerraty	    missing meta file and filemon data wrt out-of-datedness.
487b778b302SSimon J. Gerraty
488b778b302SSimon J. Gerraty2016-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
489b778b302SSimon J. Gerraty
490b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160528
491b778b302SSimon J. Gerraty
492b778b302SSimon J. Gerraty	* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION
493b778b302SSimon J. Gerraty
494e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
495e48f47ddSSimon J. Gerraty
496e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160512
497e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
498e48f47ddSSimon J. Gerraty	  o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
499e48f47ddSSimon J. Gerraty	    this is useful for gcov builds.
500e48f47ddSSimon J. Gerraty	  o propagate errors from filemon(4).
501e48f47ddSSimon J. Gerraty
502e48f47ddSSimon J. Gerraty2016-05-09  Simon J. Gerraty  <sjg@bad.crufty.net>
503e48f47ddSSimon J. Gerraty
504e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160509
505e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
506e48f47ddSSimon J. Gerraty	  o remove use of non-standard types u_int etc.
507e48f47ddSSimon J. Gerraty	  o meta.c: apply realpath() before matching against metaIgnorePaths
508e48f47ddSSimon J. Gerraty
509e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
510e48f47ddSSimon J. Gerraty
511e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160404
512e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
513e48f47ddSSimon J. Gerraty	  o allow makefile to set .MAKE.JOBS
514e48f47ddSSimon J. Gerraty
515e48f47ddSSimon J. Gerraty	* Makefile (PROG_NAME): use ${_MAKE_VERSION}
516e48f47ddSSimon J. Gerraty
5173bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
5183bebe729SSimon J. Gerraty
5193bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160315
5203bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
5213bebe729SSimon J. Gerraty	  o fix handling of archive members
5223bebe729SSimon J. Gerraty
5233bebe729SSimon J. Gerraty2016-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
5243bebe729SSimon J. Gerraty
5253bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): rename variable to avoid interference
5263bebe729SSimon J. Gerraty	  with checks for ${MAKE_VERSION}
5273bebe729SSimon J. Gerraty
5283bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
5293bebe729SSimon J. Gerraty
5303bebe729SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160310
5313bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
5323bebe729SSimon J. Gerraty	  o meta.c: treat missing Read file same as Write, incase we Delete it.
5333bebe729SSimon J. Gerraty
534be19d90bSSimon J. Gerraty2016-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
535be19d90bSSimon J. Gerraty
536be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160307
537be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
538be19d90bSSimon J. Gerraty	  o var.c: fix :ts\nnn to be octal by default.
539be19d90bSSimon J. Gerraty	  o meta.c: meta_finish() to cleanup memory.
540be19d90bSSimon J. Gerraty
541be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
542be19d90bSSimon J. Gerraty
543be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160226
544be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
545be19d90bSSimon J. Gerraty	  o meta.c: allow meta file for makeDepend if makefiles want it.
546be19d90bSSimon J. Gerraty
547be19d90bSSimon J. Gerraty2016-02-19  Simon J. Gerraty  <sjg@bad.crufty.net>
548be19d90bSSimon J. Gerraty
549be19d90bSSimon J. Gerraty	* var.c: default .MAKE.SAVE_DOLLARS to FALSE
550be19d90bSSimon J. Gerraty	  for backwards compatability.
551be19d90bSSimon J. Gerraty
552be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160220
553be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
554be19d90bSSimon J. Gerraty	  o var.c: add knob to control handling of '$$' in :=
555be19d90bSSimon J. Gerraty
556be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
557be19d90bSSimon J. Gerraty
558be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160218
559be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
560be19d90bSSimon J. Gerraty	  o var.c: add .export-literal allows us to fix sys.clean-env.mk
561be19d90bSSimon J. Gerraty	    post the changes to Var_Subst.
562be19d90bSSimon J. Gerraty	    Var_Subst now takes flags, and does not consume '$$' in :=
563be19d90bSSimon J. Gerraty
564be19d90bSSimon J. Gerraty2016-02-17  Simon J. Gerraty  <sjg@bad.crufty.net>
565be19d90bSSimon J. Gerraty
566be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160217
567be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
568be19d90bSSimon J. Gerraty	  o var.c: preserve '$$' in :=
569be19d90bSSimon J. Gerraty	  o parse.c: add .dinclude for handling included
570be19d90bSSimon J. Gerraty	    makefile like .depend
571be19d90bSSimon J. Gerraty
5726e050540SSimon J. Gerraty2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>
5736e050540SSimon J. Gerraty
5746e050540SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151220
5756e050540SSimon J. Gerraty	  Merge with NetBSD make, pick up
5766e050540SSimon J. Gerraty	  o suff.c: re-initialize suffNull when clearing suffixes.
5776e050540SSimon J. Gerraty
578ac3446e9SSimon J. Gerraty2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>
579ac3446e9SSimon J. Gerraty
580ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151201
581ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
582ac3446e9SSimon J. Gerraty	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
583ac3446e9SSimon J. Gerraty	  o meta.c: meta_oodate: use lstat(2) for checking link target
584ac3446e9SSimon J. Gerraty	    in case it is a symlink.
585ac3446e9SSimon J. Gerraty	  o var.c: avoid calling brk_string and Var_Export1 with empty
586ac3446e9SSimon J. Gerraty	    strings.
587ac3446e9SSimon J. Gerraty
588ac3446e9SSimon J. Gerraty2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
589ac3446e9SSimon J. Gerraty
590ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151126
591ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
592ac3446e9SSimon J. Gerraty	  o parse.c: ParseTrackInput don't access beyond
593ac3446e9SSimon J. Gerraty	    end of old value.
594ac3446e9SSimon J. Gerraty
595ac3446e9SSimon J. Gerraty2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>
596ac3446e9SSimon J. Gerraty
597ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151022
598ac3446e9SSimon J. Gerraty
599ac3446e9SSimon J. Gerraty	* Add support for BSD/OS which lacks inttypes.h
600ac3446e9SSimon J. Gerraty	  and really needs sys/param.h for sys/sysctl.h
601ac3446e9SSimon J. Gerraty	  also 'type' is not a shell builtin.
602ac3446e9SSimon J. Gerraty
603ac3446e9SSimon J. Gerraty	* var.c: eliminate uint32_t and need for inttypes.h
604ac3446e9SSimon J. Gerraty
605ac3446e9SSimon J. Gerraty	* main.c: PrintOnError flush stdout before run .ERROR
606ac3446e9SSimon J. Gerraty
607ac3446e9SSimon J. Gerraty	* parse.c: cope with _SC_PAGESIZE not being defined.
608ac3446e9SSimon J. Gerraty
609ac3446e9SSimon J. Gerraty
6104c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
6114c620fe5SSimon J. Gerraty
6124c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151020
6134c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
6144c620fe5SSimon J. Gerraty	  o var.c: fix uninitialized var
6154c620fe5SSimon J. Gerraty
6164c620fe5SSimon J. Gerraty2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
6174c620fe5SSimon J. Gerraty
6184c620fe5SSimon J. Gerraty	* var.c: the conditional expressions used with ':?' can be
6194c620fe5SSimon J. Gerraty	expensive, if already discarding do not evaluate or expand
6204c620fe5SSimon J. Gerraty	anything.
6214c620fe5SSimon J. Gerraty
6224c620fe5SSimon J. Gerraty2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6234c620fe5SSimon J. Gerraty
6244c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151010
6254c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
6264c620fe5SSimon J. Gerraty	  o Add Boolean wantit flag to Var_Subst and Var_Parse
6274c620fe5SSimon J. Gerraty	    when FALSE we know we are discarding the result and can
6284c620fe5SSimon J. Gerraty	    skip operations like Cmd_Exec.
6294c620fe5SSimon J. Gerraty
6304c620fe5SSimon J. Gerraty2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
6314c620fe5SSimon J. Gerraty
6324c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151009
6334c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
6344c620fe5SSimon J. Gerraty	  o var.c: don't check for NULL before free()
6354c620fe5SSimon J. Gerraty	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
6364c620fe5SSimon J. Gerraty
6374c620fe5SSimon J. Gerraty2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
6384c620fe5SSimon J. Gerraty
6394c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150910
6404c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
6414c620fe5SSimon J. Gerraty	  o main.c: with -w print Enter/Leaving messages for objdir too
6424c620fe5SSimon J. Gerraty	    if necessary.
6434c620fe5SSimon J. Gerraty	  o centralize shell metachar handling
6444c620fe5SSimon J. Gerraty
6454c620fe5SSimon J. Gerraty	* FILES: add metachar.[ch]
6464c620fe5SSimon J. Gerraty
647128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
648128a4105SSimon J. Gerraty
649128a4105SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150606
650128a4105SSimon J. Gerraty	  Merge with NetBSD make, pick up
651128a4105SSimon J. Gerraty	  o make.1: document .OBJDIR target
652128a4105SSimon J. Gerraty
65328a6bc81SSimon J. Gerraty2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
65428a6bc81SSimon J. Gerraty
65528a6bc81SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150505
65628a6bc81SSimon J. Gerraty	  Merge with NetBSD make, pick up
65728a6bc81SSimon J. Gerraty	  o cond.c: be strict about lhs of comparison when evaluating .if
65828a6bc81SSimon J. Gerraty	    but less so when called from variable expansion.
65928a6bc81SSimon J. Gerraty	  o unit-tests/cond2.mk: test various error conditions
66028a6bc81SSimon J. Gerraty
66128a6bc81SSimon J. Gerraty2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
66228a6bc81SSimon J. Gerraty
66328a6bc81SSimon J. Gerraty	* machine.sh (MACHINE): Add Bitrig
66428a6bc81SSimon J. Gerraty	  patch from joerg@netbsd.org
66528a6bc81SSimon J. Gerraty
666db29cad8SSimon J. Gerraty2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
667db29cad8SSimon J. Gerraty
668db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150418
669db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
670db29cad8SSimon J. Gerraty	  o job.c: use memmove() rather than memcpy()
671db29cad8SSimon J. Gerraty
672db29cad8SSimon J. Gerraty	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
673db29cad8SSimon J. Gerraty	  case, so skip it.
674db29cad8SSimon J. Gerraty
675db29cad8SSimon J. Gerraty2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
676db29cad8SSimon J. Gerraty
677db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150411
678db29cad8SSimon J. Gerraty	  bump version - only mk/ changes.
679db29cad8SSimon J. Gerraty
680db29cad8SSimon J. Gerraty2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
681db29cad8SSimon J. Gerraty
682db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150410
683db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
684db29cad8SSimon J. Gerraty	  o document different handling of '-' in jobs mode vs compat
685db29cad8SSimon J. Gerraty	  o fix jobs mode so that '-' only applies to whole job
686db29cad8SSimon J. Gerraty	    when shell lacks hasErrCtl
687db29cad8SSimon J. Gerraty	  o meta.c: use separate vars to track lcwd and latestdir (read)
688db29cad8SSimon J. Gerraty	    per process
689db29cad8SSimon J. Gerraty
690db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
691db29cad8SSimon J. Gerraty
692db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150401
693db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
694db29cad8SSimon J. Gerraty	  o meta.c: close meta file in child
695db29cad8SSimon J. Gerraty
696db29cad8SSimon J. Gerraty	* Makefile: use BINDIR.bmake if set.
697db29cad8SSimon J. Gerraty	  Same for MANDIR and SHAREDIR
698db29cad8SSimon J. Gerraty	  Handy for testing release candidates
699db29cad8SSimon J. Gerraty	  in various environments.
700db29cad8SSimon J. Gerraty
701db29cad8SSimon J. Gerraty2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
702db29cad8SSimon J. Gerraty
703db29cad8SSimon J. Gerraty	* move initialization of savederr to block where it is used
704db29cad8SSimon J. Gerraty	  to avoid spurious warning from gcc5
705db29cad8SSimon J. Gerraty
706db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
707db29cad8SSimon J. Gerraty
708db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141111
709db29cad8SSimon J. Gerraty	  just a cooler number
710db29cad8SSimon J. Gerraty
711db29cad8SSimon J. Gerraty2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
712db29cad8SSimon J. Gerraty
713db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141105
714db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
715db29cad8SSimon J. Gerraty	  o revert major overhaul of suffix handling
716db29cad8SSimon J. Gerraty	    and POSIX compliance - too much breakage
717db29cad8SSimon J. Gerraty	    and impossible to make backwards compatible.
718db29cad8SSimon J. Gerraty	  o we still have the new unit test structure which is ok.
719db29cad8SSimon J. Gerraty	  o meta.c ensure "-- filemon" is at start of line.
720db29cad8SSimon J. Gerraty
721db29cad8SSimon J. Gerraty2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
722db29cad8SSimon J. Gerraty
723db29cad8SSimon J. Gerraty	* configure.in: test that result of getconf PATH_MAX is numeric
724db29cad8SSimon J. Gerraty	  and discard if not.  Apparently needed for Hurd.
725db29cad8SSimon J. Gerraty
726db29cad8SSimon J. Gerraty2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
727db29cad8SSimon J. Gerraty
728db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140830
729db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
730db29cad8SSimon J. Gerraty	  o major overhaul of suffix handling
731db29cad8SSimon J. Gerraty	  o improved POSIX compliance
732db29cad8SSimon J. Gerraty	  o overhauled unit-tests
733db29cad8SSimon J. Gerraty
7345bcb7424SSimon J. Gerraty2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
7355bcb7424SSimon J. Gerraty
7365bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140620
7375bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
738db29cad8SSimon J. Gerraty	  o var.c return varNoError rather than var_Error for ::= modifiers.
7395bcb7424SSimon J. Gerraty
7405bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
7415bcb7424SSimon J. Gerraty
7425bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140522
7435bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
7445bcb7424SSimon J. Gerraty	  o var.c detect some parse errors.
7455bcb7424SSimon J. Gerraty
7465bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
7475bcb7424SSimon J. Gerraty
7485bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
7495bcb7424SSimon J. Gerraty
7505bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
7515bcb7424SSimon J. Gerraty
7525bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140214
7535bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
7545bcb7424SSimon J. Gerraty	  o .INCLUDEFROM*
7555bcb7424SSimon J. Gerraty	  o use Var_Value to get MAKEOBJDIR[PREFIX]
7565bcb7424SSimon J. Gerraty	  o reduced realloc'ign in brk_string.
7575bcb7424SSimon J. Gerraty	* configure.in: add a check for compiler supporting __func__
7585bcb7424SSimon J. Gerraty
7590dede8b0SSimon J. Gerraty2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
7600dede8b0SSimon J. Gerraty
7610dede8b0SSimon J. Gerraty	* boot-strap: ignore mksrc=none
7620dede8b0SSimon J. Gerraty
7630dede8b0SSimon J. Gerraty2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
7640dede8b0SSimon J. Gerraty
7650dede8b0SSimon J. Gerraty	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
7660dede8b0SSimon J. Gerraty
7670dede8b0SSimon J. Gerraty2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7680dede8b0SSimon J. Gerraty
7690dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140101
7700dede8b0SSimon J. Gerraty	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
7710dede8b0SSimon J. Gerraty	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
7720dede8b0SSimon J. Gerraty	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
7730dede8b0SSimon J. Gerraty	  Hurd)
7740dede8b0SSimon J. Gerraty	* configure.in: Add AC_PREREQ and check for
7750dede8b0SSimon J. Gerraty	  sysctl; patch from Andrew Shadura andrewsh at debian.org
7760dede8b0SSimon J. Gerraty
7770dede8b0SSimon J. Gerraty2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
7780dede8b0SSimon J. Gerraty
7790dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131010
7800dede8b0SSimon J. Gerraty	* lose the const from arg to systcl to avoid problems on older BSDs.
7810dede8b0SSimon J. Gerraty
7820dede8b0SSimon J. Gerraty2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7830dede8b0SSimon J. Gerraty
7840dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131001
7850dede8b0SSimon J. Gerraty	  Merge with NetBSD make, pick up
7860dede8b0SSimon J. Gerraty	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
7870dede8b0SSimon J. Gerraty	    hw.machine_arch if necessary.
7880dede8b0SSimon J. Gerraty	  o meta.c: meta_oodate - need to look at src of Link and target
7890dede8b0SSimon J. Gerraty	    of Move as well.
7900dede8b0SSimon J. Gerraty	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
7910dede8b0SSimon J. Gerraty	  provide __arraycount() if needed.
7920dede8b0SSimon J. Gerraty
7931bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
7941bbe5942SSimon J. Gerraty
7951bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130904
7961bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
7971bbe5942SSimon J. Gerraty	  o Add VAR_INTERNAL context, so that internal setting of
7981bbe5942SSimon J. Gerraty	    MAKEFILE does not override value set by makefiles.
7991bbe5942SSimon J. Gerraty
8001bbe5942SSimon J. Gerraty2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
8011bbe5942SSimon J. Gerraty
8021bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130902
8031bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
8041bbe5942SSimon J. Gerraty	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
8051bbe5942SSimon J. Gerraty
8061bbe5942SSimon J. Gerraty2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
8071bbe5942SSimon J. Gerraty
8081bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130828
8091bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
8101bbe5942SSimon J. Gerraty	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
8111bbe5942SSimon J. Gerraty	  o Call Job_SetPrefix() from Job_Init() so makefiles have
8121bbe5942SSimon J. Gerraty	    opportunity to set .MAKE.JOB.PREFIX
8131bbe5942SSimon J. Gerraty
81451ee2c1cSSimon J. Gerraty2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
81551ee2c1cSSimon J. Gerraty
81651ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130730
81751ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
81851ee2c1cSSimon J. Gerraty	  o Allow suppression of --- job -- tokens by setting
81951ee2c1cSSimon J. Gerraty	    .MAKE.JOB.PREFIX empty.
82051ee2c1cSSimon J. Gerraty
82151ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
82251ee2c1cSSimon J. Gerraty
82351ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130716
82451ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
8255bcb7424SSimon J. Gerraty	  o number of gmake compatibility tweaks
82651ee2c1cSSimon J. Gerraty	    -w for gmake style entering/leaving messages
82751ee2c1cSSimon J. Gerraty	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
82851ee2c1cSSimon J. Gerraty	    handle MAKEFLAGS containing only letters.
82951ee2c1cSSimon J. Gerraty	  o when overriding a GLOBAL variable on the command line,
83051ee2c1cSSimon J. Gerraty	    delete it from GLOBAL context so -V doesn't show the wrong
83151ee2c1cSSimon J. Gerraty	    value.
83251ee2c1cSSimon J. Gerraty
83351ee2c1cSSimon J. Gerraty2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
83451ee2c1cSSimon J. Gerraty
83551ee2c1cSSimon J. Gerraty	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
83651ee2c1cSSimon J. Gerraty
83751ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130706
83851ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
83951ee2c1cSSimon J. Gerraty	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
84051ee2c1cSSimon J. Gerraty	    true so that CompatRunCommand() can use it, to ensure
84151ee2c1cSSimon J. Gerraty	    consistent behavior with jobs mode.
84251ee2c1cSSimon J. Gerraty	  o use MAKE_LEVEL_ENV to define the variable to propagate
84351ee2c1cSSimon J. Gerraty	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
84451ee2c1cSSimon J. Gerraty	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
84551ee2c1cSSimon J. Gerraty	    paths to ignore.
84651ee2c1cSSimon J. Gerraty
84774d2e02bSSimon J. Gerraty2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
84874d2e02bSSimon J. Gerraty
84974d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130604
85074d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
85174d2e02bSSimon J. Gerraty	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
85274d2e02bSSimon J. Gerraty	    to avoid leaking descriptors.
85374d2e02bSSimon J. Gerraty
85474d2e02bSSimon J. Gerraty2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
85574d2e02bSSimon J. Gerraty
85674d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130528
85774d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
85874d2e02bSSimon J. Gerraty	  o var.c: cleanup some left-overs in VarHash()
85974d2e02bSSimon J. Gerraty
86052d86256SSimon J. Gerraty2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
86152d86256SSimon J. Gerraty
86252d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130520
86352d86256SSimon J. Gerraty	  generate manifest from component FILES rather than have to
86452d86256SSimon J. Gerraty	  update FILES when mk/FILES changes.
86552d86256SSimon J. Gerraty
86652d86256SSimon J. Gerraty2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
86752d86256SSimon J. Gerraty
86852d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130518
86952d86256SSimon J. Gerraty	  Merge with NetBSD make, pick up
87052d86256SSimon J. Gerraty	  o suff.c: don't skip all processsing for .PHONY targets
87152d86256SSimon J. Gerraty	    else wildcard srcs do not get expanded.
87252d86256SSimon J. Gerraty	  o var.c: expand name of variable to delete if necessary.
87352d86256SSimon J. Gerraty
8741748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
8751748de26SSimon J. Gerraty
8761748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130330
8771748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
8781748de26SSimon J. Gerraty	  o meta.c: refine the handling of .OODATE in commands.
8791748de26SSimon J. Gerraty	    Rather than suppress command comparison for the entire script
8801748de26SSimon J. Gerraty	    as though .NOMETA_CMP had been used, only suppress it for the
8811748de26SSimon J. Gerraty	    one command line.
8821748de26SSimon J. Gerraty	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
8831748de26SSimon J. Gerraty	    suppress comparison of a command without otherwise affecting it.
8841748de26SSimon J. Gerraty	  o make.1: document that
8851748de26SSimon J. Gerraty
8861748de26SSimon J. Gerraty2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
8871748de26SSimon J. Gerraty
8881748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130321
8891748de26SSimon J. Gerraty	  yes, not quite right but its a cooler number.
8901748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
8911748de26SSimon J. Gerraty	  o parse.c: fix ParseGmakeExport to be portable
8921748de26SSimon J. Gerraty	    and add a unit-test.
8931748de26SSimon J. Gerraty	* meta.c: call meta_init() before makefiles are read and if built
8941748de26SSimon J. Gerraty	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
8951748de26SSimon J. Gerraty	  this let's makefiles test for support.
8961748de26SSimon J. Gerraty	  Call meta_mode_init() to process .MAKE.MODE.
8971748de26SSimon J. Gerraty
8981748de26SSimon J. Gerraty2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
8991748de26SSimon J. Gerraty
9001748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130305
9011748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
9021748de26SSimon J. Gerraty	  o run .STALE: target when a dependency from .depend is missing.
9031748de26SSimon J. Gerraty	  o job.c: add Job_RunTarget() for the above and .BEGIN
9041748de26SSimon J. Gerraty
9051748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
9061748de26SSimon J. Gerraty
9071748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130303
9081748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
9091748de26SSimon J. Gerraty	  o main.c: set .MAKE.OS to utsname.sysname
9101748de26SSimon J. Gerraty	  o job.c: more checks for read and poll errors
9111748de26SSimon J. Gerraty	  o var.c: lose VarChangeCase() saves 4% time
9121748de26SSimon J. Gerraty
9131748de26SSimon J. Gerraty2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
9141748de26SSimon J. Gerraty
9151748de26SSimon J. Gerraty	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
9161748de26SSimon J. Gerraty	  want to use MAKEOBJDIR
9171748de26SSimon J. Gerraty
9183cbdda60SSimon J. Gerraty2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
9193cbdda60SSimon J. Gerraty
9203cbdda60SSimon J. Gerraty	* Merge with NetBSD make, pick up
9213cbdda60SSimon J. Gerraty	  o make.1: more info on how shell commands are handled.
9223cbdda60SSimon J. Gerraty	  o job.c,main.c: detect write errors to job pipes.
9233cbdda60SSimon J. Gerraty
9243cbdda60SSimon J. Gerraty2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
9253cbdda60SSimon J. Gerraty
9263cbdda60SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130123
9273cbdda60SSimon J. Gerraty	  Merge with NetBSD make, pick up
9283cbdda60SSimon J. Gerraty	  o meta.c: if script uses .OODATE and meta_oodate() decides
9293cbdda60SSimon J. Gerraty	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
9303cbdda60SSimon J. Gerraty	  o var.c: in debug output indicate which variabale modifiers
9313cbdda60SSimon J. Gerraty	    apply to.
9323cbdda60SSimon J. Gerraty	  o remove Check_Cwd logic the makefiles have been fixed.
9333cbdda60SSimon J. Gerraty
9343cbdda60SSimon J. Gerraty2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
9353cbdda60SSimon J. Gerraty
9363cbdda60SSimon J. Gerraty	* makefile.in: add a simple makefile for folk who insist on
9373cbdda60SSimon J. Gerraty	  ./configure; make; make install
9383cbdda60SSimon J. Gerraty	  it just runs boot-strap
9393cbdda60SSimon J. Gerraty	* include mk/* to accommodate the above
9403cbdda60SSimon J. Gerraty	* boot-strap:  re-work to accommodate the above
9413cbdda60SSimon J. Gerraty	  mksrc defaults to $Mydir/mk
9423cbdda60SSimon J. Gerraty	  allow op={configure,build,install,clean,all}
9433cbdda60SSimon J. Gerraty	  add options to facilitate install
9443cbdda60SSimon J. Gerraty	* Makefile.config.in: just the bits set by configure
9453cbdda60SSimon J. Gerraty	* Makefile: bump version to 20121212
9463cbdda60SSimon J. Gerraty	  abandon Makefile.in (NetBSD Makefile)
9473cbdda60SSimon J. Gerraty	  leverage mk/* instead
9483cbdda60SSimon J. Gerraty	* configure.in: ensure srcdir is absolute
9493cbdda60SSimon J. Gerraty
95059a02420SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
95159a02420SSimon J. Gerraty
95259a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121111
95359a02420SSimon J. Gerraty	  fix generation of bmake.cat1
95459a02420SSimon J. Gerraty
95559a02420SSimon J. Gerraty2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
95659a02420SSimon J. Gerraty
95759a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121109
95859a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
95959a02420SSimon J. Gerraty	  o make.c: MakeBuildChild: return 0 so search continues if a
96059a02420SSimon J. Gerraty	    .ORDER dependency is detected.
96159a02420SSimon J. Gerraty	  o unit-tests/order: test the above
96259a02420SSimon J. Gerraty
96359a02420SSimon J. Gerraty2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
96459a02420SSimon J. Gerraty
96559a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121102
96659a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
96759a02420SSimon J. Gerraty	  o cond.c: allow cond_state[] to grow.
96859a02420SSimon J. Gerraty	    In meta mode with a very large tree, we can hit the limit
96959a02420SSimon J. Gerraty	    while processing dirdeps.
97059a02420SSimon J. Gerraty
97159a02420SSimon J. Gerraty2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
97259a02420SSimon J. Gerraty
97359a02420SSimon J. Gerraty	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
97459a02420SSimon J. Gerraty
97593036677SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
97693036677SSimon J. Gerraty
97793036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121010
97893036677SSimon J. Gerraty	  o protect syntax that only bmake parses correctly.
97993036677SSimon J. Gerraty	  o remove auto setting of FORCE_MACHINE, use configure's
98093036677SSimon J. Gerraty	    --with-force-machine=whatever if that is desired.
98193036677SSimon J. Gerraty
98293036677SSimon J. Gerraty2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
98393036677SSimon J. Gerraty
98493036677SSimon J. Gerraty	* Makefile.in: do not lose history from make.1 when generating bmake.1
98593036677SSimon J. Gerraty
98693036677SSimon J. Gerraty2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
98793036677SSimon J. Gerraty
98893036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121007
98993036677SSimon J. Gerraty	  Merge with NetBSD make, pick up
99093036677SSimon J. Gerraty	  o compat.c: ignore empty commands - same as jobs mode.
99193036677SSimon J. Gerraty	  o make.1: document meta chars that cause use of shell
99293036677SSimon J. Gerraty
99393036677SSimon J. Gerraty2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
99493036677SSimon J. Gerraty
99593036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): bump version to 20120911
99693036677SSimon J. Gerraty	* bsd.after-import.mk: include Makefile.inc early and allow it to
99793036677SSimon J. Gerraty	  override PROG
99893036677SSimon J. Gerraty
9993955d011SMarcel Moolenaar2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
10003955d011SMarcel Moolenaar
10013955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120831
10023955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10033955d011SMarcel Moolenaar	  o cast sizeof() to int for comparison
10043955d011SMarcel Moolenaar	  o minor make.1 tweak
10053955d011SMarcel Moolenaar
10063955d011SMarcel Moolenaar2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
10073955d011SMarcel Moolenaar
10083955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120830
10093955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10103955d011SMarcel Moolenaar	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
10113955d011SMarcel Moolenaar	  o debug flag -dV causes -V to show raw value regardless.
10123955d011SMarcel Moolenaar
10133955d011SMarcel Moolenaar2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
10143955d011SMarcel Moolenaar
10153955d011SMarcel Moolenaar	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
10163955d011SMarcel Moolenaar	  gets SRCTOP set.
10173955d011SMarcel Moolenaar
10183955d011SMarcel Moolenaar2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
10193955d011SMarcel Moolenaar
10203955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120704
10213955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10223955d011SMarcel Moolenaar	  o Job_ParseShell should call Shell_Init if it has been
10233955d011SMarcel Moolenaar	    previously called.
10243955d011SMarcel Moolenaar	* Makefile.in: set USE_META based on configure result.
10253955d011SMarcel Moolenaar	  also .PARSEDIR is safer indicator of bmake.
10263955d011SMarcel Moolenaar
10273955d011SMarcel Moolenaar2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
10283955d011SMarcel Moolenaar
10293955d011SMarcel Moolenaar	* Makefile.in: bump version to 20120626
10303955d011SMarcel Moolenaar	  ensure CPPFLAGS is in CFLAGS
10313955d011SMarcel Moolenaar	* meta.c: avoid nested externs
10323955d011SMarcel Moolenaar	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
10333955d011SMarcel Moolenaar
10343955d011SMarcel Moolenaar2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
10353955d011SMarcel Moolenaar
10363955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120620
10373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10383955d011SMarcel Moolenaar	  o make_malloc.c: avoid including make_malloc.h again
10393955d011SMarcel Moolenaar
10403955d011SMarcel Moolenaar	* Makefile.in: avoid bmake only syntax or protect with
10413955d011SMarcel Moolenaar	  .if defined(.MAKE.LEVEL)
10423955d011SMarcel Moolenaar	* bsd.after-import.mk: replace .-include with .sinclude
10433955d011SMarcel Moolenaar	  ensure? SRCTOP gets a value
10443955d011SMarcel Moolenaar	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
10453955d011SMarcel Moolenaar
10463955d011SMarcel Moolenaar2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
10473955d011SMarcel Moolenaar
10483955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120612
10493955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10503955d011SMarcel Moolenaar	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
10513955d011SMarcel Moolenaar	    for greater portability.
10523955d011SMarcel Moolenaar	  o unit-tests/forloop: check that .for works as expected wrt
10533955d011SMarcel Moolenaar	    number of times and with "quoted strings".
10543955d011SMarcel Moolenaar
10553955d011SMarcel Moolenaar2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
10563955d011SMarcel Moolenaar
10573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120606
10583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10593955d011SMarcel Moolenaar	  o compat.c: use kill(2) rather than raise(3).
10603955d011SMarcel Moolenaar	* configure.in: look for sys/dev/filemon
10613955d011SMarcel Moolenaar	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
10623955d011SMarcel Moolenaar	  and pass BOOTSTRAP_XTRAS to boot-strap.
10633955d011SMarcel Moolenaar
10643955d011SMarcel Moolenaar2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
10653955d011SMarcel Moolenaar
10663955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120604
10673955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10683955d011SMarcel Moolenaar	  o util.c and var.c share same var for tracking if environ
10693955d011SMarcel Moolenaar	    has been reallocated.
10703955d011SMarcel Moolenaar	  o util.c provide getenv with setenv.
10713955d011SMarcel Moolenaar	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
10723955d011SMarcel Moolenaar	  when the shell actively strips .MAKE.* from the environment.
10733955d011SMarcel Moolenaar	  We still refer to the variable always as .MAKE.LEVEL
10743955d011SMarcel Moolenaar	* util.c fix bug in findenv() was finding prefix of name.
10753955d011SMarcel Moolenaar	* compat.c: re-raising SIGINT etc after running .INTERRUPT
10763955d011SMarcel Moolenaar	  results in more reliable termination of all activity on many
10773955d011SMarcel Moolenaar	  platforms.
10783955d011SMarcel Moolenaar
10793955d011SMarcel Moolenaar2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
10803955d011SMarcel Moolenaar
10813955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120602
10823955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10833955d011SMarcel Moolenaar	  o for.c: handle quoted items in .for list
10843955d011SMarcel Moolenaar
10853955d011SMarcel Moolenaar2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
10863955d011SMarcel Moolenaar
10873955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120530
10883955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
10893955d011SMarcel Moolenaar	  o compat.c: ignore empty command.
10903955d011SMarcel Moolenaar
10913955d011SMarcel Moolenaar2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
10923955d011SMarcel Moolenaar
10933955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120524
10943955d011SMarcel Moolenaar	* FILES: add bsd.after-import.mk:
10953955d011SMarcel Moolenaar	  A simple means of integrating bmake into a BSD build system.
10963955d011SMarcel Moolenaar
10973955d011SMarcel Moolenaar2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
10983955d011SMarcel Moolenaar
10993955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120520
11003955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11013955d011SMarcel Moolenaar	  o increased limit for nested conditionals.
11023955d011SMarcel Moolenaar
11033955d011SMarcel Moolenaar2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
11043955d011SMarcel Moolenaar
11053955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120518
11063955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11073955d011SMarcel Moolenaar	  o use _exit(2) in signal hanlder
11083955d011SMarcel Moolenaar	  o Don't use the [dir] cache when building nodes that might have
11093955d011SMarcel Moolenaar	    changed since the last exec.
11103955d011SMarcel Moolenaar	  o Avoid nested extern declaration warnings.
11113955d011SMarcel Moolenaar
11123955d011SMarcel Moolenaar2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
11133955d011SMarcel Moolenaar
11143955d011SMarcel Moolenaar	* meta.c (fgetLine): avoid %z - not portable.
11153955d011SMarcel Moolenaar	* parse.c: Since we moved include of sys/mman.h
11163955d011SMarcel Moolenaar	  and def's of MAP_COPY etc. we got dups from a merge.
11173955d011SMarcel Moolenaar
11183955d011SMarcel Moolenaar2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
11193955d011SMarcel Moolenaar
11203955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
11213955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11223955d011SMarcel Moolenaar	  o restore duplicate supression in .MAKE.MAKEFILES
11233955d011SMarcel Moolenaar	    runtime saving can be significant.
11243955d011SMarcel Moolenaar	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
11253955d011SMarcel Moolenaar	    consumption up to 20%.
11263955d011SMarcel Moolenaar
11273955d011SMarcel Moolenaar2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
11283955d011SMarcel Moolenaar
11293955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
11303955d011SMarcel Moolenaar          Merge with NetBSD make, pick up
11313955d011SMarcel Moolenaar	  o remove duplicate supression in .MAKE.MAKEFILES
11323955d011SMarcel Moolenaar	  o improved dir cache behavior
11333955d011SMarcel Moolenaar	  o gmake'ish export command
11343955d011SMarcel Moolenaar
11353955d011SMarcel Moolenaar2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
11363955d011SMarcel Moolenaar
11373955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120325
11383955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11393955d011SMarcel Moolenaar	  o fix parsing of :[#] in conditionals.
11403955d011SMarcel Moolenaar
11413955d011SMarcel Moolenaar2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11423955d011SMarcel Moolenaar
11433955d011SMarcel Moolenaar	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
11443955d011SMarcel Moolenaar	  since some systems cannot cope with .Nx <version>
11453955d011SMarcel Moolenaar
11463955d011SMarcel Moolenaar2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
11473955d011SMarcel Moolenaar
11483955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111111
11493955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11503955d011SMarcel Moolenaar	  o debug output for .PARSEDIR and .PARSEFILE
11513955d011SMarcel Moolenaar
11523955d011SMarcel Moolenaar2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11533955d011SMarcel Moolenaar
11543955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20111010
11553955d011SMarcel Moolenaar
11563955d011SMarcel Moolenaar2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
11573955d011SMarcel Moolenaar
11583955d011SMarcel Moolenaar	* boot-strap: check for an expected file in the dirs we look for.
11593955d011SMarcel Moolenaar	* make-bootstrap.sh: pass on LDSTATIC
11603955d011SMarcel Moolenaar
11613955d011SMarcel Moolenaar2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
11623955d011SMarcel Moolenaar
11633955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111001
11643955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11653955d011SMarcel Moolenaar	  o ensure .PREFIX is set for .PHONY
11663955d011SMarcel Moolenaar	    and .TARGET set for .PHONY run via .END
11673955d011SMarcel Moolenaar	  o __dead used consistently
11683955d011SMarcel Moolenaar
11693955d011SMarcel Moolenaar2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
11703955d011SMarcel Moolenaar
11713955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
11723955d011SMarcel Moolenaar
11733955d011SMarcel Moolenaar2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
11743955d011SMarcel Moolenaar
11753955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110905
11763955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11773955d011SMarcel Moolenaar	  o meta_oodate: ignore makeDependfile
11783955d011SMarcel Moolenaar
11793955d011SMarcel Moolenaar2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
11803955d011SMarcel Moolenaar
11813955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110828
11823955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11833955d011SMarcel Moolenaar	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
11843955d011SMarcel Moolenaar	    as SILENT if a .meta file is created
11853955d011SMarcel Moolenaar
11863955d011SMarcel Moolenaar2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
11873955d011SMarcel Moolenaar
11883955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110818
11893955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11903955d011SMarcel Moolenaar	  o in meta mode, if target flagged .META a missing .meta file
11913955d011SMarcel Moolenaar	    means target is out-of-date
11923955d011SMarcel Moolenaar	  o fixes for gcc 4.5 warnings
11933955d011SMarcel Moolenaar	  o simplify job printing code
11943955d011SMarcel Moolenaar
11953955d011SMarcel Moolenaar2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
11963955d011SMarcel Moolenaar
11973955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110808
11983955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
11993955d011SMarcel Moolenaar	  o do not touch OP_SPECIAL targets when doing make -t
12003955d011SMarcel Moolenaar
12013955d011SMarcel Moolenaar2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
12023955d011SMarcel Moolenaar
12033955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110622
12043955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12053955d011SMarcel Moolenaar	  o meta_oodate detect corrupted .meta file and declare oodate.
12063955d011SMarcel Moolenaar	* configure.in: add check for setsid
12073955d011SMarcel Moolenaar
12083955d011SMarcel Moolenaar2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
12093955d011SMarcel Moolenaar
12103955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
12113955d011SMarcel Moolenaar	  o unit-tests/modts now works on MirBSD
12123955d011SMarcel Moolenaar
12133955d011SMarcel Moolenaar2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
12143955d011SMarcel Moolenaar
12153955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110606
12163955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12173955d011SMarcel Moolenaar	  o ApplyModifiers: when we parse a variable which is not
12183955d011SMarcel Moolenaar	    the entire modifier string, or not followed by ':', do not
12193955d011SMarcel Moolenaar	    consider it as containing modifiers.
12203955d011SMarcel Moolenaar	  o loadfile: ensure newline at end of mapped file.
12213955d011SMarcel Moolenaar
12223955d011SMarcel Moolenaar2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
12233955d011SMarcel Moolenaar
12243955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110505
12253955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12263955d011SMarcel Moolenaar	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
12273955d011SMarcel Moolenaar	    of make's control.  In meta mode, any generated file within
12283955d011SMarcel Moolenaar	    said bailiwick, which  is found to be missing, causes current
12293955d011SMarcel Moolenaar	    target to be out-of-date.
12303955d011SMarcel Moolenaar
12313955d011SMarcel Moolenaar2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
12323955d011SMarcel Moolenaar
12333955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110411
12343955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12353955d011SMarcel Moolenaar	  o when long modifiers fail to match, check sysV style.
12363955d011SMarcel Moolenaar	    - add a test case
12373955d011SMarcel Moolenaar
12383955d011SMarcel Moolenaar2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
12393955d011SMarcel Moolenaar
12403955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110410
12413955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12423955d011SMarcel Moolenaar	  o :hash - cheap 32bit hash of value
12433955d011SMarcel Moolenaar	  o :localtime, :gmtime - use value as format string for strftime.
12443955d011SMarcel Moolenaar
12453955d011SMarcel Moolenaar2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
12463955d011SMarcel Moolenaar
12473955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110330
12483955d011SMarcel Moolenaar	  mostly because its a cooler version.
12493955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12503955d011SMarcel Moolenaar	  o NetBSD tags for meta.[ch]
12513955d011SMarcel Moolenaar	  o job.c call meta_job_finish() after meta_job_error().
12523955d011SMarcel Moolenaar	  o meta_job_error() should call meta_job_finish() to ensure
12533955d011SMarcel Moolenaar	    .meta file is closed, and safe to copy - if .ERROR target wants.
12543955d011SMarcel Moolenaar	   meta_job_finish() is safe to call repeatedly.
12553955d011SMarcel Moolenaar
12563955d011SMarcel Moolenaar2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
12573955d011SMarcel Moolenaar
12583955d011SMarcel Moolenaar	* unit-tests/modts: use printf if it is a builtin,
12593955d011SMarcel Moolenaar	  to save us from MirBSD
12603955d011SMarcel Moolenaar
12613955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110329
12623955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12633955d011SMarcel Moolenaar	  o fix for use after free() in CondDoExists().
12643955d011SMarcel Moolenaar	  o meta_oodate() report extra commands and return earlier.
12653955d011SMarcel Moolenaar
12663955d011SMarcel Moolenaar2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
12673955d011SMarcel Moolenaar
12683955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110327
12693955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12703955d011SMarcel Moolenaar	  o meta.c, if .MAKE.MODE contains curdirOk=yes
12713955d011SMarcel Moolenaar	    allow creating .meta files in .CURDIR
12723955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): aparently at least on linux distro
12733955d011SMarcel Moolenaar	  formats the output of 'type' differently - so eat any "()"
12743955d011SMarcel Moolenaar
12753955d011SMarcel Moolenaar2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
12763955d011SMarcel Moolenaar
12773955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110306
12783955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12793955d011SMarcel Moolenaar	  o meta.c, only do getcwd() once
12803955d011SMarcel Moolenaar
12813955d011SMarcel Moolenaar2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
12823955d011SMarcel Moolenaar
12833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110305
12843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12853955d011SMarcel Moolenaar	  o correct sysV substitution handling of empty lhs and variable
12863955d011SMarcel Moolenaar	  o correct exists() check for dir with trailing /
12873955d011SMarcel Moolenaar	  o correct handling of modifiers for non-existant variables
12883955d011SMarcel Moolenaar	    during evaluation of conditionals.
12893955d011SMarcel Moolenaar	  o ensure MAP_FILE is defined.
12903955d011SMarcel Moolenaar	  o meta.c use curdir[] now exported by main.c
12913955d011SMarcel Moolenaar
12923955d011SMarcel Moolenaar2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
12933955d011SMarcel Moolenaar
12943955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110225
12953955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
12963955d011SMarcel Moolenaar	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
12973955d011SMarcel Moolenaar	    makefiles have been read.
12983955d011SMarcel Moolenaar	  o fix example of :? modifier in man page.
12993955d011SMarcel Moolenaar
13003955d011SMarcel Moolenaar2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
13013955d011SMarcel Moolenaar
13023955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110214
13033955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13043955d011SMarcel Moolenaar	  o meta.c handle realpath() failing when generating meta file
13053955d011SMarcel Moolenaar	    name.
13063955d011SMarcel Moolenaar
13073955d011SMarcel Moolenaar	* sigcompat.c: convert to ansi so we can use higher warning levels.
13083955d011SMarcel Moolenaar
13093955d011SMarcel Moolenaar
13103955d011SMarcel Moolenaar2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
13113955d011SMarcel Moolenaar
13123955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110207
13133955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13143955d011SMarcel Moolenaar	  o fix for bug in meta mode.
13153955d011SMarcel Moolenaar
13163955d011SMarcel Moolenaar2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
13173955d011SMarcel Moolenaar
13183955d011SMarcel Moolenaar	* parse.c: SunOS 5.8 at least does not have MAP_FILE
13193955d011SMarcel Moolenaar
13203955d011SMarcel Moolenaar2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
13213955d011SMarcel Moolenaar
13223955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110101
13233955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13243955d011SMarcel Moolenaar	  o use mmap(2) if available, for reading makefiles
13253955d011SMarcel Moolenaar
13263955d011SMarcel Moolenaar2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
13273955d011SMarcel Moolenaar
13283955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101215
13293955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13303955d011SMarcel Moolenaar	  o ensure meta_job_error() does not report a previous .meta file
13313955d011SMarcel Moolenaar	    as being culprit.
13323955d011SMarcel Moolenaar
13333955d011SMarcel Moolenaar2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
13343955d011SMarcel Moolenaar
13353955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101210
13363955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13373955d011SMarcel Moolenaar	  o meta_oodate: track cwd per process, and only consider target
13383955d011SMarcel Moolenaar	    out-of-date if missing file is outside make's CWD.
13393955d011SMarcel Moolenaar	    Ignore files in /tmp/ etc.
13403955d011SMarcel Moolenaar	  o to ensure unit-tests results match, need to control LC_ALL
13413955d011SMarcel Moolenaar	    as well as LANG.
13423955d011SMarcel Moolenaar	  o fix for parsing bug in var.c
13433955d011SMarcel Moolenaar
13443955d011SMarcel Moolenaar2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
13453955d011SMarcel Moolenaar
13463955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101126
13473955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13483955d011SMarcel Moolenaar	  o if stale dependency is an IMPSRC, search via .PATH
13493955d011SMarcel Moolenaar	  o meta_oodate: if a referenced file is missing, target is
13503955d011SMarcel Moolenaar	    out-of-date.
13513955d011SMarcel Moolenaar	  o meta_oodate: if a target uses .OODATE in its commands,
13523955d011SMarcel Moolenaar	    it (.OODATE) needs to be recomputed.
13533955d011SMarcel Moolenaar	  o keep a pointer to youngest child node, rather than just its
13543955d011SMarcel Moolenaar	    mtime.
13553955d011SMarcel Moolenaar
13563955d011SMarcel Moolenaar2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
13573955d011SMarcel Moolenaar
13583955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101101
13593955d011SMarcel Moolenaar
13603955d011SMarcel Moolenaar2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
13613955d011SMarcel Moolenaar
13623955d011SMarcel Moolenaar	* machine.sh: like os.sh,
13633955d011SMarcel Moolenaar	allow for uname -p producing useless drivel
13643955d011SMarcel Moolenaar
13653955d011SMarcel Moolenaar2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
13663955d011SMarcel Moolenaar
13673955d011SMarcel Moolenaar	* boot-strap: document configure knobs for meta and filemon.
13683955d011SMarcel Moolenaar
13693955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100911
13703955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13713955d011SMarcel Moolenaar	  o meta.c - meta mode
13723955d011SMarcel Moolenaar
13733955d011SMarcel Moolenaar	* make-bootstrap.sh.in: handle meta.c
13743955d011SMarcel Moolenaar	* configure.in: add knobs for use_meta and filemon_h
13753955d011SMarcel Moolenaar	  also, look for dirname, str[e]sep and strlcpy
13763955d011SMarcel Moolenaar	* util.c: add simple err[x] and warn[x]
13773955d011SMarcel Moolenaar
13783955d011SMarcel Moolenaar2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
13793955d011SMarcel Moolenaar
13803955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): set this to ensure tests use
13813955d011SMarcel Moolenaar	  the same version of diff that configure tested
13823955d011SMarcel Moolenaar
13833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100808
13843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13853955d011SMarcel Moolenaar	  o in jobs mode, when we discover we cannot make something,
13863955d011SMarcel Moolenaar	    call PrintOnError before exit.
13873955d011SMarcel Moolenaar
13883955d011SMarcel Moolenaar2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
13893955d011SMarcel Moolenaar
13903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100806
13913955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13923955d011SMarcel Moolenaar	  o formatting fixes for ignored errors
13933955d011SMarcel Moolenaar	  o ensure jobs are cleaned up regardless of where wait() was called.
13943955d011SMarcel Moolenaar
13953955d011SMarcel Moolenaar2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
13963955d011SMarcel Moolenaar
13973955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100618
13983955d011SMarcel Moolenaar	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
13993955d011SMarcel Moolenaar
14003955d011SMarcel Moolenaar2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
14013955d011SMarcel Moolenaar
14023955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100616
14033955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14043955d011SMarcel Moolenaar	  o man page update
14053955d011SMarcel Moolenaar	  o call PrintOnError from JobFinish when we detect an error we
14063955d011SMarcel Moolenaar	    are not ignoring.
14073955d011SMarcel Moolenaar
14083955d011SMarcel Moolenaar2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
14093955d011SMarcel Moolenaar
14103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100606
14113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14123955d011SMarcel Moolenaar	  o man page update
14133955d011SMarcel Moolenaar
14143955d011SMarcel Moolenaar2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
14153955d011SMarcel Moolenaar
14163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100605
14173955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14183955d011SMarcel Moolenaar	  o use bmake_signal() which is a wrapper around sigaction()
14193955d011SMarcel Moolenaar	    in place of signal()
14203955d011SMarcel Moolenaar	  o add .export-env to allow exporting variables to environment
14213955d011SMarcel Moolenaar	    without tracking (so no re-export when the internal value is
14223955d011SMarcel Moolenaar	    changed).
14233955d011SMarcel Moolenaar
14243955d011SMarcel Moolenaar2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
14253955d011SMarcel Moolenaar
14263955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100524
14273955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14283955d011SMarcel Moolenaar	  o fix for .info et al being greedy.
14293955d011SMarcel Moolenaar
14303955d011SMarcel Moolenaar2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
14313955d011SMarcel Moolenaar
14323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100520
14333955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14343955d011SMarcel Moolenaar	  o back to using realpath on argv[0]
14353955d011SMarcel Moolenaar	    but only if contains '/' and does not start with '/'.
14363955d011SMarcel Moolenaar
14373955d011SMarcel Moolenaar2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14383955d011SMarcel Moolenaar
14393955d011SMarcel Moolenaar	* boot-strap: use absolute path for bmake when running tests.
14403955d011SMarcel Moolenaar
14413955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20100510
14423955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14433955d011SMarcel Moolenaar	  o revert use of realpath on argv[0]
14443955d011SMarcel Moolenaar	    too many corner cases.
14453955d011SMarcel Moolenaar	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
14463955d011SMarcel Moolenaar
14473955d011SMarcel Moolenaar2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
14483955d011SMarcel Moolenaar
14493955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100505
14503955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14513955d011SMarcel Moolenaar	  o fix for missed SIGCHLD when compiled with SunPRO
14523955d011SMarcel Moolenaar	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
14533955d011SMarcel Moolenaar	    done the job.
14543955d011SMarcel Moolenaar
14553955d011SMarcel Moolenaar2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
14563955d011SMarcel Moolenaar
14573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100430
14583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14593955d011SMarcel Moolenaar	  o fflush stdout before writing to stdout
14603955d011SMarcel Moolenaar
14613955d011SMarcel Moolenaar2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
14623955d011SMarcel Moolenaar
14633955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100423
14643955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14653955d011SMarcel Moolenaar	  o updated unit tests for Haiku (this time for sure).
14663955d011SMarcel Moolenaar	* boot-strap: based on patch from joerg
14673955d011SMarcel Moolenaar	  honor --with-default-sys-path better.
14683955d011SMarcel Moolenaar	* boot-strap: remove mention of --with-prefix-sys-path
14693955d011SMarcel Moolenaar
14703955d011SMarcel Moolenaar2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
14713955d011SMarcel Moolenaar
14723955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100422
14733955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
14743955d011SMarcel Moolenaar	  o fix for vfork() on Darwin.
14753955d011SMarcel Moolenaar	  o fix for bogus $TMPDIR.
14763955d011SMarcel Moolenaar	  o set .MAKE.MODE=compat for -B
14773955d011SMarcel Moolenaar	  o set .MAKE.JOBS=max_jobs for -j max_jobs
14783955d011SMarcel Moolenaar	  o allow unit-tests to run without any *.mk
14793955d011SMarcel Moolenaar	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
14803955d011SMarcel Moolenaar	* boot-strap: ignore /usr/share/mk except on NetBSD.
14813955d011SMarcel Moolenaar	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
14823955d011SMarcel Moolenaar	  ensure sort(1) behaves as expected.
14833955d011SMarcel Moolenaar
14843955d011SMarcel Moolenaar2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
14853955d011SMarcel Moolenaar
14863955d011SMarcel Moolenaar	* boot-strap: add FindHereOrAbove so we can use -m .../mk
14873955d011SMarcel Moolenaar
14883955d011SMarcel Moolenaar2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
14893955d011SMarcel Moolenaar
14903955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100420
14913955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
14923955d011SMarcel Moolenaar	  o fix for variable realpath() behavior.
14933955d011SMarcel Moolenaar	    we have to stat(2) the result to be sure.
14943955d011SMarcel Moolenaar	  o fix for .export (all) when nested vars use :sh
14953955d011SMarcel Moolenaar
14963955d011SMarcel Moolenaar2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
14973955d011SMarcel Moolenaar
14983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100414
14993955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
15003955d011SMarcel Moolenaar	  o use realpath to resolve argv[0] (for .MAKE) if needed.
15013955d011SMarcel Moolenaar	  o add realpath from libc.
15023955d011SMarcel Moolenaar	  o add :tA to resolve variable via realpath(3) if possible.
15033955d011SMarcel Moolenaar
15043955d011SMarcel Moolenaar2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
15053955d011SMarcel Moolenaar
15063955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100408
15073955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
15083955d011SMarcel Moolenaar	  o unit tests for .ERROR, .error
15093955d011SMarcel Moolenaar	  o fix for .ERROR to ensure it cannot be default target.
15103955d011SMarcel Moolenaar
15113955d011SMarcel Moolenaar2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
15123955d011SMarcel Moolenaar
15133955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100406
15143955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
15153955d011SMarcel Moolenaar	  o fix for compat mode "Error code" going to debug_file.
15163955d011SMarcel Moolenaar	  o fix for .ALLSRC being populated twice.
15173955d011SMarcel Moolenaar	  o support for .info, .warning and .error directives
15183955d011SMarcel Moolenaar	  o .MAKE.MODE to control make's operational mode
15193955d011SMarcel Moolenaar	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
15203955d011SMarcel Moolenaar	    name(s).
15213955d011SMarcel Moolenaar	  o .MAKE.DEPENDFILE to control the name of the depend file
15223955d011SMarcel Moolenaar	  o .ERROR target - run on failure.
15233955d011SMarcel Moolenaar
15243955d011SMarcel Moolenaar2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
15253955d011SMarcel Moolenaar
15263955d011SMarcel Moolenaar	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
15273955d011SMarcel Moolenaar
15283955d011SMarcel Moolenaar	* os.sh,arch.c: patch for Haiku from joerg at netbsd
15293955d011SMarcel Moolenaar
15303955d011SMarcel Moolenaar2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
15313955d011SMarcel Moolenaar
15323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100222
15333955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
15343955d011SMarcel Moolenaar	  o better error msg for .for with mutiple inter vars
15353955d011SMarcel Moolenaar
15363955d011SMarcel Moolenaar	* boot-strap:
15373955d011SMarcel Moolenaar	  o use make-bootstrap.sh from joerg at netbsd
15383955d011SMarcel Moolenaar	    to avoid the need for a native make when bootstrapping.
15393955d011SMarcel Moolenaar	  o add "" everywhere ;-)
15403955d011SMarcel Moolenaar	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
15413955d011SMarcel Moolenaar	    otherwise the pre-formated version.
15423955d011SMarcel Moolenaar
15433955d011SMarcel Moolenaar2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
15443955d011SMarcel Moolenaar
15453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100102
15463955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
15473955d011SMarcel Moolenaar	  o fix for -m .../
15483955d011SMarcel Moolenaar
15493955d011SMarcel Moolenaar2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
15503955d011SMarcel Moolenaar
15513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20091118
15523955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
15533955d011SMarcel Moolenaar	  o .unexport
15543955d011SMarcel Moolenaar	  o report lines that start with '.' and should have ':'
15553955d011SMarcel Moolenaar	    (catch typo's of .el*if).
15563955d011SMarcel Moolenaar
15573955d011SMarcel Moolenaar2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
15583955d011SMarcel Moolenaar
15593955d011SMarcel Moolenaar	* configure.in: Ensure that srcdir and mksrc are absolute paths.
15603955d011SMarcel Moolenaar
15613955d011SMarcel Moolenaar2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
15623955d011SMarcel Moolenaar
15633955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): fix version to 20091007
15643955d011SMarcel Moolenaar
15653955d011SMarcel Moolenaar2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
15663955d011SMarcel Moolenaar
15673955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 200910007
15683955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
15693955d011SMarcel Moolenaar	  o fix for parsing of :S;...;...; applied to .for loop iterator
15703955d011SMarcel Moolenaar	    appearing in a dependency line.
15713955d011SMarcel Moolenaar
15723955d011SMarcel Moolenaar2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
15733955d011SMarcel Moolenaar
15743955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090909
15753955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
15763955d011SMarcel Moolenaar	  o fix for -C, .CURDIR and .OBJDIR
15773955d011SMarcel Moolenaar	* boot-strap:
15783955d011SMarcel Moolenaar	  o allow share_dir to be set independent of prefix.
15793955d011SMarcel Moolenaar	  o select default share_dir better when prefix ends in $HOST_TARGET
15803955d011SMarcel Moolenaar	  o if FORCE_BSD_MK etc were set, include them in the suggested
15813955d011SMarcel Moolenaar	    install-mk command.
15823955d011SMarcel Moolenaar
15833955d011SMarcel Moolenaar2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
15843955d011SMarcel Moolenaar
15853955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090908
15863955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
15873955d011SMarcel Moolenaar	  o .MAKE.LEVEL for recursion tracking
15883955d011SMarcel Moolenaar	  o fix for :M scanning \:
15893955d011SMarcel Moolenaar
15903955d011SMarcel Moolenaar2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
15913955d011SMarcel Moolenaar
15923955d011SMarcel Moolenaar	* configure.in: Don't -D__EXTENSIONS__ if
15933955d011SMarcel Moolenaar	AC_USE_SYSTEM_EXTENSIONS says "no".
15943955d011SMarcel Moolenaar
15953955d011SMarcel Moolenaar2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
15963955d011SMarcel Moolenaar
15973955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090826
15983955d011SMarcel Moolenaar	Simplify MAKE_VERSION to just the bare date.
15993955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16003955d011SMarcel Moolenaar	  o -C directory support.
16013955d011SMarcel Moolenaar	  o support for SIGINFO
16023955d011SMarcel Moolenaar	  o use $TMPDIR for temp files.
16033955d011SMarcel Moolenaar	  o child of vfork should be careful about modifying parent's state.
16043955d011SMarcel Moolenaar
16053955d011SMarcel Moolenaar
16063955d011SMarcel Moolenaar2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
16073955d011SMarcel Moolenaar
16083955d011SMarcel Moolenaar	* Appy some patches for MiNT from David Brownlee
16093955d011SMarcel Moolenaar
16103955d011SMarcel Moolenaar2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
16113955d011SMarcel Moolenaar
16123955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090222
16133955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16143955d011SMarcel Moolenaar	  o Possible null pointer de-ref in Var_Set.
16153955d011SMarcel Moolenaar
16163955d011SMarcel Moolenaar2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
16173955d011SMarcel Moolenaar
16183955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090204
16193955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16203955d011SMarcel Moolenaar	  o bmake_malloc et al moved to their own .c
16213955d011SMarcel Moolenaar	  o Count both () and {} when looking for the end of a :M pattern
16223955d011SMarcel Moolenaar	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
16233955d011SMarcel Moolenaar	  o strlist.c - functions for processing extendable arrays of pointers to strings.
16243955d011SMarcel Moolenaar	  o ClientData replaced with void *, so const void * can be used.
16253955d011SMarcel Moolenaar	  o New debug flag C for DEBUG_CWD
16263955d011SMarcel Moolenaar
16273955d011SMarcel Moolenaar2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
16283955d011SMarcel Moolenaar
16293955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081111
16303955d011SMarcel Moolenaar	  Apply patch from Joerg Sonnenberge to
16313955d011SMarcel Moolenaar	  configure.in:
16323955d011SMarcel Moolenaar	  o remove some redundant checks
16333955d011SMarcel Moolenaar	  o check for emlloc etc only in libutil and require the whole family.
16343955d011SMarcel Moolenaar	  util.c:
16353955d011SMarcel Moolenaar	  o remove [v]asprintf which is no longer used.
16363955d011SMarcel Moolenaar
16373955d011SMarcel Moolenaar2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
16383955d011SMarcel Moolenaar
16393955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081101
16403955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16413955d011SMarcel Moolenaar	  o util.c: avoid use of putenv() - christos
16423955d011SMarcel Moolenaar
16433955d011SMarcel Moolenaar2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
16443955d011SMarcel Moolenaar
16453955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081030
16463955d011SMarcel Moolenaar	  pick up man page tweaks.
16473955d011SMarcel Moolenaar
16483955d011SMarcel Moolenaar2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
16493955d011SMarcel Moolenaar
16503955d011SMarcel Moolenaar	* Makefile.in: move processing of LIBOBJS to after is definition!
16513955d011SMarcel Moolenaar	  thus we'll have getenv.c in SRCS only if needed.
16523955d011SMarcel Moolenaar
16533955d011SMarcel Moolenaar	* make.1: add examples of how to use :?
16543955d011SMarcel Moolenaar
16553955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081029
16563955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16573955d011SMarcel Moolenaar	  o fix for .END processing with -j
16583955d011SMarcel Moolenaar	  o segfault from Parse_Error when no makefile is open
16593955d011SMarcel Moolenaar	  o handle numeric expressions in any variable expansion
16603955d011SMarcel Moolenaar	  o debug output now defaults to stderr, -dF to change it - apb
16613955d011SMarcel Moolenaar	  o make now uses bmake_malloc etc so that it can build natively
16623955d011SMarcel Moolenaar	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
16633955d011SMarcel Moolenaar
16643955d011SMarcel Moolenaar2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
16653955d011SMarcel Moolenaar
16663955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080808
16673955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16683955d011SMarcel Moolenaar	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
16693955d011SMarcel Moolenaar	    long lines in Makefiles
16703955d011SMarcel Moolenaar	  o optimizations for VarQuote by joerg
16713955d011SMarcel Moolenaar	  o fix for PR/38756: dominik: make dumps core on invalid makefile
16723955d011SMarcel Moolenaar
16733955d011SMarcel Moolenaar2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
16743955d011SMarcel Moolenaar
16753955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080515
16763955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16773955d011SMarcel Moolenaar	  o fix skip setting vars in VAR_GLOBAL context, to handle
16783955d011SMarcel Moolenaar	    cases where VAR_CMD is used for other than command line vars.
16793955d011SMarcel Moolenaar
16803955d011SMarcel Moolenaar2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
16813955d011SMarcel Moolenaar
16823955d011SMarcel Moolenaar	* boot-strap (make_version): we may need to look in
16833955d011SMarcel Moolenaar	$prefix/share/mk for sys.mk
16843955d011SMarcel Moolenaar
16853955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080514
16863955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16873955d011SMarcel Moolenaar	  o skip setting vars in VAR_GLOBAL context, when already set in
16883955d011SMarcel Moolenaar	  VAR_CMD which takes precedence.
16893955d011SMarcel Moolenaar
16903955d011SMarcel Moolenaar2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
16913955d011SMarcel Moolenaar
16923955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
16933955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
16943955d011SMarcel Moolenaar	  o fix for ?= when LHS contains variable reference.
16953955d011SMarcel Moolenaar
16963955d011SMarcel Moolenaar2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
16973955d011SMarcel Moolenaar
16983955d011SMarcel Moolenaar	* merge some patches from NetBSD pkgsrc.
16993955d011SMarcel Moolenaar
17003955d011SMarcel Moolenaar	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
17013955d011SMarcel Moolenaar	the MAKSYSPATH used during bootstrap.
17023955d011SMarcel Moolenaar
17033955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080215
17043955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17053955d011SMarcel Moolenaar	  o warn if non-space chars follow 'empty' in a conditional.
17063955d011SMarcel Moolenaar
17073955d011SMarcel Moolenaar2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
17083955d011SMarcel Moolenaar
17093955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080118
17103955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17113955d011SMarcel Moolenaar	  o consider dependencies read from .depend as optional - dsl
17123955d011SMarcel Moolenaar	  o remember when buffer for reading makefile grows - dsl
17133955d011SMarcel Moolenaar	  o add -dl (aka LOUD) - David O'Brien
17143955d011SMarcel Moolenaar
17153955d011SMarcel Moolenaar2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
17163955d011SMarcel Moolenaar
17173955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071022
17183955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17193955d011SMarcel Moolenaar	  o Allow .PATH<suffix> to be used for .include ""
17203955d011SMarcel Moolenaar
17213955d011SMarcel Moolenaar	* boot-strap: source default settings from .bmake-boot-strap.rc
17223955d011SMarcel Moolenaar
17233955d011SMarcel Moolenaar2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
17243955d011SMarcel Moolenaar
17253955d011SMarcel Moolenaar	* Makefile.in: fix maninstall on various systems
17263955d011SMarcel Moolenaar	  provided that our man.mk is used.
17273955d011SMarcel Moolenaar	  For non-BSD systems we install the preformatted page
17283955d011SMarcel Moolenaar	  into $MANDIR/cat1
17293955d011SMarcel Moolenaar
17303955d011SMarcel Moolenaar2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
17313955d011SMarcel Moolenaar
17323955d011SMarcel Moolenaar	* boot-strap: make bmake.1 too, so maninstall works.
17333955d011SMarcel Moolenaar
17343955d011SMarcel Moolenaar2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
17353955d011SMarcel Moolenaar
17363955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071014
17373955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17383955d011SMarcel Moolenaar	  o revamped handling of defshell - configure no longer needs to
17393955d011SMarcel Moolenaar	    know the content of the shells array - apb
17403955d011SMarcel Moolenaar	  o stop Var_Subst modifying its input - apb
17413955d011SMarcel Moolenaar	  o avoid calling ParseTrackInput too often - dsl
17423955d011SMarcel Moolenaar
17433955d011SMarcel Moolenaar2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
17443955d011SMarcel Moolenaar
17453955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071011
17463955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17473955d011SMarcel Moolenaar	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
17483955d011SMarcel Moolenaar
17493955d011SMarcel Moolenaar	* sigcompat.c: some tweaks for HP-UX 11.x based on
17503955d011SMarcel Moolenaar	  patch from Tobias Nygren
17513955d011SMarcel Moolenaar
17523955d011SMarcel Moolenaar	* configure.in: update handling of --with-defshell to match
17533955d011SMarcel Moolenaar	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
17543955d011SMarcel Moolenaar	  will now do what one might hope - provided the chosen shell
17553955d011SMarcel Moolenaar	  behaves enough like sh.
17563955d011SMarcel Moolenaar
17573955d011SMarcel Moolenaar2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
17583955d011SMarcel Moolenaar
17593955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20071008
17603955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17613955d011SMarcel Moolenaar	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
17623955d011SMarcel Moolenaar	  o .export/.MAKE.EXPORTED - export of variables - sjg
17633955d011SMarcel Moolenaar	  o .MAKE.MAKEFILES - track all makefiles read - sjg
17643955d011SMarcel Moolenaar	  o performance improvements - dsl
17653955d011SMarcel Moolenaar	  o revamp parallel job scheduling - dsl
17663955d011SMarcel Moolenaar
17673955d011SMarcel Moolenaar2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
17683955d011SMarcel Moolenaar
17693955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060728
17703955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17713955d011SMarcel Moolenaar	  o extra debug info during variable and cond processing - sjg
17723955d011SMarcel Moolenaar	  o shell definition now covers newline - rillig
17733955d011SMarcel Moolenaar	  o minor mem leak in PrintOnError - sjg
17743955d011SMarcel Moolenaar
17753955d011SMarcel Moolenaar2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
17763955d011SMarcel Moolenaar
17773955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20060511
17783955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17793955d011SMarcel Moolenaar	  o more memory leaks - coverity
17803955d011SMarcel Moolenaar	  o possible overflow in ArchFindMember - coverity
17813955d011SMarcel Moolenaar	  o extract variable modifier code out of Var_Parse()
17823955d011SMarcel Moolenaar	    so it can be called recursively - sjg
17833955d011SMarcel Moolenaar	  o unit-tests/moderrs - sjg
17843955d011SMarcel Moolenaar
17853955d011SMarcel Moolenaar2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
17863955d011SMarcel Moolenaar
17873955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060412
17883955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17893955d011SMarcel Moolenaar	  o fixes for some memory leaks - coverity
17903955d011SMarcel Moolenaar	  o only read first sys.mk etc when searching sysIncPath - sjg
17913955d011SMarcel Moolenaar
17923955d011SMarcel Moolenaar	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
17933955d011SMarcel Moolenaar	setting ${MAKEFILE} - OBATA Akio
17943955d011SMarcel Moolenaar
17953955d011SMarcel Moolenaar2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
17963955d011SMarcel Moolenaar
17973955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060318
17983955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
17993955d011SMarcel Moolenaar	  o cleanup of job.c to remove remote handling, distcc is more
18003955d011SMarcel Moolenaar	    useful and this code was likely bit-rotting - dsl
18013955d011SMarcel Moolenaar	  o fix for :P modifier - sjg
18023955d011SMarcel Moolenaar	* boot-strap: set default prefix to something reasonable
18033955d011SMarcel Moolenaar	  (for me anyway).
18043955d011SMarcel Moolenaar
18053955d011SMarcel Moolenaar2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
18063955d011SMarcel Moolenaar
18073955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060301
18083955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18093955d011SMarcel Moolenaar	  o make .WAIT apply recursively, document and test case - apb
18103955d011SMarcel Moolenaar	  o allow variable modifiers in a variable appear anywhere in
18113955d011SMarcel Moolenaar	    modifier list, document and test case - sjg
18123955d011SMarcel Moolenaar
18133955d011SMarcel Moolenaar2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
18143955d011SMarcel Moolenaar
18153955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060222
18163955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18173955d011SMarcel Moolenaar	  o improved job token handling - dsl
18183955d011SMarcel Moolenaar	  o SIG_DFL the correct signal before exec - dsl
18193955d011SMarcel Moolenaar	  o more debug info during parsing - dsl
18203955d011SMarcel Moolenaar	  o allow variable modifiers to be specified via variable - sjg
18213955d011SMarcel Moolenaar	* boot-strap: explain why we died if no mksrc
18223955d011SMarcel Moolenaar
18233955d011SMarcel Moolenaar2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
18243955d011SMarcel Moolenaar
18253955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051105
18263955d011SMarcel Moolenaar	* configure.in: always set default_sys_path
18273955d011SMarcel Moolenaar	  default is ${prefix}/share/mk
18283955d011SMarcel Moolenaar	  - remove prefix_sys_path, anyone wanting more than above
18293955d011SMarcel Moolenaar	    needs to set it manually.
18303955d011SMarcel Moolenaar
18313955d011SMarcel Moolenaar2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
18323955d011SMarcel Moolenaar
18333955d011SMarcel Moolenaar	* boot-strap: make this a bit easier for pkgsrc folk.
18343955d011SMarcel Moolenaar	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
18353955d011SMarcel Moolenaar	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
18363955d011SMarcel Moolenaar
18373955d011SMarcel Moolenaar2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
18383955d011SMarcel Moolenaar
18393955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051102
18403955d011SMarcel Moolenaar	* job.c (JobFinish): fix likely ancient merge lossage
18413955d011SMarcel Moolenaar	fix from Todd Vierling.
18423955d011SMarcel Moolenaar	* boot-strap (srcdir): allow setting mksrc=none
18433955d011SMarcel Moolenaar
18443955d011SMarcel Moolenaar2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
18453955d011SMarcel Moolenaar
18463955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051031
18473955d011SMarcel Moolenaar	* ranlib.h: skip on OSF too.
18483955d011SMarcel Moolenaar	  (NetBSD PR 31864)
18493955d011SMarcel Moolenaar
18503955d011SMarcel Moolenaar2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
18513955d011SMarcel Moolenaar
18523955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051002
18533955d011SMarcel Moolenaar	  fix a silly typo
18543955d011SMarcel Moolenaar
18553955d011SMarcel Moolenaar2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
18563955d011SMarcel Moolenaar
18573955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051001
18583955d011SMarcel Moolenaar	  support for UnixWare and some other systems,
18593955d011SMarcel Moolenaar	  based on patches from pkgsrc/bootstrap
18603955d011SMarcel Moolenaar
18613955d011SMarcel Moolenaar2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
18623955d011SMarcel Moolenaar
18633955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050901
18643955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18653955d011SMarcel Moolenaar	  o possible parse error causing us to wander off.
18663955d011SMarcel Moolenaar
18673955d011SMarcel Moolenaar2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
18683955d011SMarcel Moolenaar
18693955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050606
18703955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18713955d011SMarcel Moolenaar	  o :0x modifier for randomizing a list
18723955d011SMarcel Moolenaar	  o fixes for a number of -Wuninitialized issues.
18733955d011SMarcel Moolenaar
18743955d011SMarcel Moolenaar2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
18753955d011SMarcel Moolenaar
18763955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050530
18773955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18783955d011SMarcel Moolenaar	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
18793955d011SMarcel Moolenaar
18803955d011SMarcel Moolenaar	* README: was seriously out of date.
18813955d011SMarcel Moolenaar
18823955d011SMarcel Moolenaar2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
18833955d011SMarcel Moolenaar
18843955d011SMarcel Moolenaar	* Important to use .MAKE rather than MAKE.
18853955d011SMarcel Moolenaar
18863955d011SMarcel Moolenaar2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
18873955d011SMarcel Moolenaar
18883955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050315
18893955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18903955d011SMarcel Moolenaar	  o don't mistake .elsefoo for .else
18913955d011SMarcel Moolenaar	  o use suffix-specific search path correctly
18923955d011SMarcel Moolenaar	  o bunch of style nits
18933955d011SMarcel Moolenaar
18943955d011SMarcel Moolenaar2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
18953955d011SMarcel Moolenaar
18963955d011SMarcel Moolenaar	* boot-strap:
18973955d011SMarcel Moolenaar	o ensure that args to --src and --with-mksrc
18983955d011SMarcel Moolenaar	  are resolved before giving them to configure.
18993955d011SMarcel Moolenaar	o add -o "objdir" so that builder can control it,
19003955d011SMarcel Moolenaar	  default is $OS as determined by os.sh
19013955d011SMarcel Moolenaar	o add -q to suppress all the install instructions.
19023955d011SMarcel Moolenaar
19033955d011SMarcel Moolenaar2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
19043955d011SMarcel Moolenaar
19053955d011SMarcel Moolenaar	* Remove __IDSTRING()
19063955d011SMarcel Moolenaar
19073955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040508
19083955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19093955d011SMarcel Moolenaar	  o posix fixes
19103955d011SMarcel Moolenaar	    - remove '-e' from compat mode
19113955d011SMarcel Moolenaar	    - add support for '+' command-line prefix.
19123955d011SMarcel Moolenaar	  o fix for handling '--' on command-line.
19133955d011SMarcel Moolenaar	  o fix include in lst.lib/lstInt.h to simplify '-I's
19143955d011SMarcel Moolenaar	  o we also picked up replacement of MAKE_BOOTSTRAP
19153955d011SMarcel Moolenaar	    with !MAKE_NATIVE which is a noop, but possibly confusing.
19163955d011SMarcel Moolenaar
19173955d011SMarcel Moolenaar2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
19183955d011SMarcel Moolenaar
19193955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040414
19203955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19213955d011SMarcel Moolenaar	  o allow quoted strings on lhs of conditionals
19223955d011SMarcel Moolenaar	  o issue warning when extra .else is seen
19233955d011SMarcel Moolenaar	  o print line numer when errors encountered during parsing from
19243955d011SMarcel Moolenaar	  string.
19253955d011SMarcel Moolenaar
19263955d011SMarcel Moolenaar2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
19273955d011SMarcel Moolenaar
19283955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20040220
19293955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19303955d011SMarcel Moolenaar	  o fix for old :M parsing bug.
19313955d011SMarcel Moolenaar	  o re-jigged unit-tests
19323955d011SMarcel Moolenaar
19333955d011SMarcel Moolenaar2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
19343955d011SMarcel Moolenaar
19353955d011SMarcel Moolenaar	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
19363955d011SMarcel Moolenaar	so that './bmake -f Makefile test' works.
19373955d011SMarcel Moolenaar
19383955d011SMarcel Moolenaar2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
19393955d011SMarcel Moolenaar
19403955d011SMarcel Moolenaar	* Makefile.in: (BMAKE_VERSION): bump to 20040214
19413955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19423955d011SMarcel Moolenaar	  o search upwards for *.mk
19433955d011SMarcel Moolenaar	  o fix for double free of var substitution buffers
19443955d011SMarcel Moolenaar	  o use of getopt replaced with custom code, since the usage
19453955d011SMarcel Moolenaar	  (re-scanning) isn't posix compatible.
19463955d011SMarcel Moolenaar
19473955d011SMarcel Moolenaar2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
19483955d011SMarcel Moolenaar
19493955d011SMarcel Moolenaar	* arch.c: don't include ranlib.h on ELF systems
19503955d011SMarcel Moolenaar	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
19513955d011SMarcel Moolenaar
19523955d011SMarcel Moolenaar2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
19533955d011SMarcel Moolenaar
19543955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040118
19553955d011SMarcel Moolenaar
19563955d011SMarcel Moolenaar	* boot-strap (while): export vars we assign to on cmdline
19573955d011SMarcel Moolenaar	* unit-test/Makefile.in: ternary is .PHONY
19583955d011SMarcel Moolenaar
19593955d011SMarcel Moolenaar2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
19603955d011SMarcel Moolenaar
19613955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040108
19623955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19633955d011SMarcel Moolenaar	  o fix for ternary modifier
19643955d011SMarcel Moolenaar
19653955d011SMarcel Moolenaar2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
19663955d011SMarcel Moolenaar
19673955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040105
19683955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19693955d011SMarcel Moolenaar	  o fix for cond.c to handle compound expressions better
19703955d011SMarcel Moolenaar	  o variable expansion within sysV style replacements
19713955d011SMarcel Moolenaar
19723955d011SMarcel Moolenaar2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
19733955d011SMarcel Moolenaar
19743955d011SMarcel Moolenaar	* Make portable snprintf safer - output to /dev/null first to
19753955d011SMarcel Moolenaar	check space needed.
19763955d011SMarcel Moolenaar
19773955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20031222
19783955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19793955d011SMarcel Moolenaar	  o -dg3 to show input graph when things go wrong.
19803955d011SMarcel Moolenaar	  o explicitly look for makefiles in objdir if not found in curdir so
19813955d011SMarcel Moolenaar	    that errors in .depend etc will be reported accurarely.
19823955d011SMarcel Moolenaar	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
19833955d011SMarcel Moolenaar	    instead as it more accurately reflects the expected behavior and
19843955d011SMarcel Moolenaar	    is more consistently implemented.
19853955d011SMarcel Moolenaar	  o avoid use of asprintf.
19863955d011SMarcel Moolenaar
19873955d011SMarcel Moolenaar2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
19883955d011SMarcel Moolenaar
19893955d011SMarcel Moolenaar	* util.c: Add asprintf and vasprintf.
19903955d011SMarcel Moolenaar
19913955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030928
19923955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19933955d011SMarcel Moolenaar	:[] modifier - allows picking words from a variable.
19943955d011SMarcel Moolenaar	:tW modifier - allows treating value as one big word.
19953955d011SMarcel Moolenaar	W flag for :C and :S - allows treating value as one big word.
19963955d011SMarcel Moolenaar
19973955d011SMarcel Moolenaar2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
19983955d011SMarcel Moolenaar
19993955d011SMarcel Moolenaar	* Merge with NetBSD make
20003955d011SMarcel Moolenaar	pick up -de flag to enable printing failed command.
20013955d011SMarcel Moolenaar	don't skip 1st two dir entries (normally . and ..) since
20023955d011SMarcel Moolenaar	coda does not have them.
20033955d011SMarcel Moolenaar
20043955d011SMarcel Moolenaar2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
20053955d011SMarcel Moolenaar
20063955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030909
20073955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20083955d011SMarcel Moolenaar	- changes for -V '${VAR}' to print fully expanded value
20093955d011SMarcel Moolenaar	  cf. -V VAR
20103955d011SMarcel Moolenaar	- CompatRunCommand now prints the command that failed.
20113955d011SMarcel Moolenaar	- several files got updated 3 clause Berkeley license.
20123955d011SMarcel Moolenaar
20133955d011SMarcel Moolenaar2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
20143955d011SMarcel Moolenaar
20153955d011SMarcel Moolenaar	* boot-strap: Allow setting configure args on command line.
20163955d011SMarcel Moolenaar
20173955d011SMarcel Moolenaar2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
20183955d011SMarcel Moolenaar
20193955d011SMarcel Moolenaar	* configure.in: add --with-defshell to allow sh or ksh
20203955d011SMarcel Moolenaar	to be selected as default shell.
20213955d011SMarcel Moolenaar
20223955d011SMarcel Moolenaar	* Makefile.in: bump version to 20030731
20233955d011SMarcel Moolenaar
20243955d011SMarcel Moolenaar	* Merge with NetBSD make
20253955d011SMarcel Moolenaar	Pick up .SHELL spec for ksh and associate man page changes.
20263955d011SMarcel Moolenaar	Also compat mode now uses the same shell specs.
20273955d011SMarcel Moolenaar
20283955d011SMarcel Moolenaar2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
20293955d011SMarcel Moolenaar
20303955d011SMarcel Moolenaar	* var.c (Var_Parse): ensure delim is initialized.
20313955d011SMarcel Moolenaar
20323955d011SMarcel Moolenaar	* unit-tests/Makefile.in: use single quotes to avoid problems from
20333955d011SMarcel Moolenaar	some shells.
20343955d011SMarcel Moolenaar
20353955d011SMarcel Moolenaar	* makefile.boot.in:
20363955d011SMarcel Moolenaar	Run the unit-tests as part of the bootstrap procedure.
20373955d011SMarcel Moolenaar
20383955d011SMarcel Moolenaar2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
20393955d011SMarcel Moolenaar
20403955d011SMarcel Moolenaar	* unit-tests/Makefile.in: always force complaints from
20413955d011SMarcel Moolenaar	${TEST_MAKE} to be from 'make'.
20423955d011SMarcel Moolenaar
20433955d011SMarcel Moolenaar	* configure.in: add check for 'diff -u'
20443955d011SMarcel Moolenaar	also fix some old autoconf'isms
20453955d011SMarcel Moolenaar
20463955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
20473955d011SMarcel Moolenaar	if using GCC add -Wno-cast-qual to CFLAGS for var.o
20483955d011SMarcel Moolenaar
20493955d011SMarcel Moolenaar	* Merge with NetBSD make
20503955d011SMarcel Moolenaar	Pick up fix for :ts parsing error in some cases.
20513955d011SMarcel Moolenaar	Pick unit-tests.
20523955d011SMarcel Moolenaar
20533955d011SMarcel Moolenaar2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
20543955d011SMarcel Moolenaar
20553955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
20563955d011SMarcel Moolenaar
20573955d011SMarcel Moolenaar	* var.c (Var_Parse): fix bug in :ts modifier, after const
20583955d011SMarcel Moolenaar	correctness fixes, must pass nstr to VarModify.
20593955d011SMarcel Moolenaar
20603955d011SMarcel Moolenaar2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
20613955d011SMarcel Moolenaar
20623955d011SMarcel Moolenaar	* Makefile.in: BMAKE_VERSION switch to a date based version.
20633955d011SMarcel Moolenaar	We'll generally use the date of last import from NetBSD.
20643955d011SMarcel Moolenaar
20653955d011SMarcel Moolenaar	* Merge with NetBSD make
20663955d011SMarcel Moolenaar	Pick up fixes for const-correctness, now passes WARNS=3 on
20673955d011SMarcel Moolenaar	NetBSD.
20683955d011SMarcel Moolenaar	Pick up :ts modifier, allows controlling the separator used
20693955d011SMarcel Moolenaar	between words in variable expansion.
20703955d011SMarcel Moolenaar
20713955d011SMarcel Moolenaar2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
20723955d011SMarcel Moolenaar
20733955d011SMarcel Moolenaar	* FILES: include boot-strap and os.sh
20743955d011SMarcel Moolenaar
20753955d011SMarcel Moolenaar	* Makefile.in: only set WARNS if we are NetBSD, the effect on
20763955d011SMarcel Moolenaar	FreeBSD is known to be bad.
20773955d011SMarcel Moolenaar
20783955d011SMarcel Moolenaar	* makefile.boot.in (bootstrap): make this the default target.
20793955d011SMarcel Moolenaar
20803955d011SMarcel Moolenaar	* Makefile.in: bump version to 3.1.19
20813955d011SMarcel Moolenaar
20823955d011SMarcel Moolenaar	* machine.sh: avoid A-Z with tr as it is bound to lose.
20833955d011SMarcel Moolenaar
20843955d011SMarcel Moolenaar2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
20853955d011SMarcel Moolenaar
20863955d011SMarcel Moolenaar	* Merge with NetBSD make
20873955d011SMarcel Moolenaar	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
20883955d011SMarcel Moolenaar	Plus some doc fixes.
20893955d011SMarcel Moolenaar
20903955d011SMarcel Moolenaar2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
20913955d011SMarcel Moolenaar
20923955d011SMarcel Moolenaar	* Merge with NetBSD make
20933955d011SMarcel Moolenaar	Pick up fix for PR/1523 - don't count a library as built, if there
20943955d011SMarcel Moolenaar	is no way to build it
20953955d011SMarcel Moolenaar
20963955d011SMarcel Moolenaar	* Bump version to 3.1.18
20973955d011SMarcel Moolenaar
20983955d011SMarcel Moolenaar2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
20993955d011SMarcel Moolenaar
21003955d011SMarcel Moolenaar	* Merge with NetBSD make
21013955d011SMarcel Moolenaar	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
21023955d011SMarcel Moolenaar	appears in src list.
21033955d011SMarcel Moolenaar
21043955d011SMarcel Moolenaar2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
21053955d011SMarcel Moolenaar
21063955d011SMarcel Moolenaar	* Merge with NetBSD make (mmm 10th anniversary!)
21073955d011SMarcel Moolenaar	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
21083955d011SMarcel Moolenaar	pick up -X which tells us to not export VAR=val via setenv if
21093955d011SMarcel Moolenaar	we are already doing so via MAKEFLAGS.  This saves valuable env
21103955d011SMarcel Moolenaar	space on systems like Darwin.
21113955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.17
21123955d011SMarcel Moolenaar
21133955d011SMarcel Moolenaar	* parse.c: pix up fix for suffix rules
21143955d011SMarcel Moolenaar
21153955d011SMarcel Moolenaar2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
21163955d011SMarcel Moolenaar
21173955d011SMarcel Moolenaar	* Merge with NetBSD make.
21183955d011SMarcel Moolenaar	pick up fix for propagating -B via MAKEFLAGS.
21193955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.16
21203955d011SMarcel Moolenaar
21213955d011SMarcel Moolenaar	* Apply some patches from pkgsrc-bootstrap/bmake
21223955d011SMarcel Moolenaar	Originally by Grant Beattie <grant@netbsd.org>
21233955d011SMarcel Moolenaar	I may have missed some - since they are based on bmake-3.1.12
21243955d011SMarcel Moolenaar
21253955d011SMarcel Moolenaar2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
21263955d011SMarcel Moolenaar
21273955d011SMarcel Moolenaar	* makefile.boot.in (bmake): update install targets for those that
21283955d011SMarcel Moolenaar	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
21293955d011SMarcel Moolenaar	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
21303955d011SMarcel Moolenaar
21313955d011SMarcel Moolenaar	* bmake.cat1: update the pre-formatted man page!
21323955d011SMarcel Moolenaar
21333955d011SMarcel Moolenaar2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
21343955d011SMarcel Moolenaar
21353955d011SMarcel Moolenaar	* Merge with NetBSD make.
21363955d011SMarcel Moolenaar	pick up fix for premature free of pointer used in call
21373955d011SMarcel Moolenaar	to Dir_InitCur().
21383955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.15
21393955d011SMarcel Moolenaar
21403955d011SMarcel Moolenaar2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
21413955d011SMarcel Moolenaar
21423955d011SMarcel Moolenaar	* configure.in: determine suitable value for MKSRC.
21433955d011SMarcel Moolenaar	override using --with-mksrc=PATH.
21443955d011SMarcel Moolenaar
21453955d011SMarcel Moolenaar	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
21463955d011SMarcel Moolenaar	configs(8) will use 'sun4' as an alias for 'sparc'.
21473955d011SMarcel Moolenaar
21483955d011SMarcel Moolenaar2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
21493955d011SMarcel Moolenaar
21503955d011SMarcel Moolenaar	* Merge with NetBSD make.
21513955d011SMarcel Moolenaar	pick up ${.PATH}
21523955d011SMarcel Moolenaar	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
21533955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.14
21543955d011SMarcel Moolenaar	add configure checks for killpg and sys/socket.h
21553955d011SMarcel Moolenaar
21563955d011SMarcel Moolenaar2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
21573955d011SMarcel Moolenaar
21583955d011SMarcel Moolenaar	* tag bmake-3-1-13
21593955d011SMarcel Moolenaar
21603955d011SMarcel Moolenaar	* makefile.boot.in (bmake): use install-mk
21613955d011SMarcel Moolenaar	Also setup ./mk before trying to invoke bmake.boot incase we
21623955d011SMarcel Moolenaar	needed install-mk to create a sys.mk for us.
21633955d011SMarcel Moolenaar
21643955d011SMarcel Moolenaar	* configure.in: If we need to add -I${srcdir}/missing, make it an
21653955d011SMarcel Moolenaar	absolute path so that it works for lst.lib too.
21663955d011SMarcel Moolenaar
21673955d011SMarcel Moolenaar	* make.h: always include sys/cdefs.h since we provide one if the
21683955d011SMarcel Moolenaar	host does not.
21693955d011SMarcel Moolenaar
21703955d011SMarcel Moolenaar	* Makefile.in (install-mk):
21713955d011SMarcel Moolenaar	use MKSRC/install-mk which will do the right thing.
21723955d011SMarcel Moolenaar	use uname -p for ARCH if possible.
21733955d011SMarcel Moolenaar	since install-mk will setup links bsd.prog.mk -> prog.mk if
21743955d011SMarcel Moolenaar	needed, just .include bsd.prog.mk
21753955d011SMarcel Moolenaar
21763955d011SMarcel Moolenaar	* Merge with NetBSD make (NetBSD-1.6)
21773955d011SMarcel Moolenaar	Code is ansi-C only now.
21783955d011SMarcel Moolenaar	Bug in handling of dotLast is fixed.
21793955d011SMarcel Moolenaar	Can now assign .OBJDIR and make will reset its notions of life.
21803955d011SMarcel Moolenaar	New modifiers :tu :tl for toUpper and toLower.
21813955d011SMarcel Moolenaar
21823955d011SMarcel MoolenaarTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
21833955d011SMarcel Moolenaar
21843955d011SMarcel Moolenaar	* Merge with NetBSD make
21853955d011SMarcel Moolenaar	pick up fix for .END failure in compat mode.
21863955d011SMarcel Moolenaar	pick up fix for extra va_end() in ParseVErrorInternal.
21873955d011SMarcel Moolenaar
21883955d011SMarcel MoolenaarThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
21893955d011SMarcel Moolenaar
21903955d011SMarcel Moolenaar	* configure.in: for systems that have sys/cdefs.h check if it is
21913955d011SMarcel Moolenaar	compatible.  If not, include the one under missing, but tell it to
21923955d011SMarcel Moolenaar	include the native one too - necessary on Linux.
21933955d011SMarcel Moolenaar
21943955d011SMarcel Moolenaar	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
21953955d011SMarcel Moolenaar	include_next (for gcc) to get the native sys/cdefs.h
21963955d011SMarcel Moolenaar
21973955d011SMarcel MoolenaarTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
21983955d011SMarcel Moolenaar
21993955d011SMarcel Moolenaar	* job.c (JobFinish): Fix an earlier merge bug that resulted in
22003955d011SMarcel Moolenaar	leaking descriptors when using -jN.
22013955d011SMarcel Moolenaar
22023955d011SMarcel Moolenaar	* job.c (JobPrintCommand): See if "curdir" exists before
22033955d011SMarcel Moolenaar	attempting to chdir().  Doing the chdir directly in make (when in
22043955d011SMarcel Moolenaar	compat mode) fails silently, so let the -jN version do the same.
22053955d011SMarcel Moolenaar	This can happen when building kernels in an object tree and
22063955d011SMarcel Moolenaar	playing clever games to reset .CURDIR.
22073955d011SMarcel Moolenaar
22083955d011SMarcel Moolenaar	* Merged with NetBSD make
22093955d011SMarcel Moolenaar	pick up .USEBEFORE
22103955d011SMarcel Moolenaar
22113955d011SMarcel MoolenaarTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22123955d011SMarcel Moolenaar
22133955d011SMarcel Moolenaar	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
22143955d011SMarcel Moolenaar
22153955d011SMarcel MoolenaarTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22163955d011SMarcel Moolenaar
22173955d011SMarcel Moolenaar	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
22183955d011SMarcel Moolenaar	us not to export the iterator variable when using VAR_CMD context.
22193955d011SMarcel Moolenaar
22203955d011SMarcel MoolenaarSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22213955d011SMarcel Moolenaar
22223955d011SMarcel Moolenaar	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
22233955d011SMarcel Moolenaar	its the wrong "fix".
22243955d011SMarcel Moolenaar
22253955d011SMarcel MoolenaarSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22263955d011SMarcel Moolenaar
22273955d011SMarcel Moolenaar	* Redesigned export of VAR_CMD's via MAKEFLAGS.
22283955d011SMarcel Moolenaar	We now simply append the variable names to .MAKEOVERRIDES, and
22293955d011SMarcel Moolenaar	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
22303955d011SMarcel Moolenaar	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
22313955d011SMarcel Moolenaar	Apart from fixing quoting bugs in previous version, this allows us
22323955d011SMarcel Moolenaar	to export vars to the environment by simply doing:
22333955d011SMarcel Moolenaar	.MAKEOVERRIDES+= PATH
22343955d011SMarcel Moolenaar	Merged again with NetBSD make, but the above is the only change.
22353955d011SMarcel Moolenaar
22363955d011SMarcel Moolenaar	* configure.in: added
22373955d011SMarcel Moolenaar	--disable-pwd-override		disable $PWD overriding getcwd()
22383955d011SMarcel Moolenaar	--disable-check-make-chdir	disable make trying to guess
22393955d011SMarcel Moolenaar		when it should automatically cd ${.CURDIR}
22403955d011SMarcel Moolenaar
22413955d011SMarcel Moolenaar	* Merge with NetBSD make, changes include:
22423955d011SMarcel Moolenaar	parse.c (ParseDoDependency): Spot that the syntax error is
22433955d011SMarcel Moolenaar	caused by an unresolved cvs/rcs conflict and say so.
22443955d011SMarcel Moolenaar	var.c: most of Var* functions now take a ctxt as 1st arg.
22453955d011SMarcel Moolenaar	now does variable substituion on rhs of sysv style modifiers.
22463955d011SMarcel Moolenaar
22473955d011SMarcel Moolenaar	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
22483955d011SMarcel Moolenaar	is now done here.  We append the name='value' to .MAKEOVERRIDES
22493955d011SMarcel Moolenaar	rather than directly into MAKEFLAGS as this allows a Makefile to
22503955d011SMarcel Moolenaar	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
22513955d011SMarcel Moolenaar	very similar mechanism.  Note that in adding name='value' to
22523955d011SMarcel Moolenaar	.MAKEOVERRIDES we do the moral equivalent of:
22533955d011SMarcel Moolenaar	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
22543955d011SMarcel Moolenaar
22553955d011SMarcel MoolenaarFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22563955d011SMarcel Moolenaar
22573955d011SMarcel Moolenaar	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
22583955d011SMarcel Moolenaar
22593955d011SMarcel Moolenaar	* Merged with NetBSD make
22603955d011SMarcel Moolenaar	make -dx can now be used to run commands via sh -x
22613955d011SMarcel Moolenaar	better error messages on exec failures.
22623955d011SMarcel Moolenaar
22633955d011SMarcel MoolenaarThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22643955d011SMarcel Moolenaar
22653955d011SMarcel Moolenaar	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
22663955d011SMarcel Moolenaar	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
22673955d011SMarcel Moolenaar	MACHINE etc otherwise they propagate from the previous bmake.
22683955d011SMarcel Moolenaar
22693955d011SMarcel Moolenaar	* configure.in (machine): allow --with-machine=generic to make
22703955d011SMarcel Moolenaar	configure use machine.sh to set MACHINE.
22713955d011SMarcel Moolenaar
22723955d011SMarcel Moolenaar	* job.c (JobInterrupt): convert to using WAIT_T and friends.
22733955d011SMarcel Moolenaar
22743955d011SMarcel Moolenaar	* Makefile.in: mention in bmake.1 that we use autoconf.
22753955d011SMarcel Moolenaar
22763955d011SMarcel Moolenaar	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
22773955d011SMarcel Moolenaar
22783955d011SMarcel MoolenaarWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22793955d011SMarcel Moolenaar
22803955d011SMarcel Moolenaar	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
22813955d011SMarcel Moolenaar	as that rather defeats the usefulness of ${MAKEFILE}.
22823955d011SMarcel Moolenaar
22833955d011SMarcel Moolenaar	* main.c (MainParseArgs): append command line variable assignments
22843955d011SMarcel Moolenaar	to MAKEFLAGS so that they get propagated to child make's.
22853955d011SMarcel Moolenaar	Apparently this is required POSIX behaviour?  Its useful anyway.
22863955d011SMarcel Moolenaar
22873955d011SMarcel MoolenaarTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
22883955d011SMarcel Moolenaar
22893955d011SMarcel Moolenaar	* compat.c (CompatRunCommand): don't use perror() since stdio may
22903955d011SMarcel Moolenaar	cause problems in child of vfork().
22913955d011SMarcel Moolenaar
22923955d011SMarcel Moolenaar	* compat.c, main.c: Call PrintOnError() when we are going to bail.
22933955d011SMarcel Moolenaar	This routine prints out the .curdir where we stopped and will also
22943955d011SMarcel Moolenaar	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
22953955d011SMarcel Moolenaar
22963955d011SMarcel Moolenaar	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
22973955d011SMarcel Moolenaar	:@ expansion.
22983955d011SMarcel Moolenaar
22993955d011SMarcel Moolenaar	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
23003955d011SMarcel Moolenaar
23013955d011SMarcel Moolenaar	* Added RCSid's for the files we've touched.
23023955d011SMarcel Moolenaar
23033955d011SMarcel MoolenaarThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
23043955d011SMarcel Moolenaar
23053955d011SMarcel Moolenaar	* configure.in:	Thanks to some clues from mdb@juniper.net,
23063955d011SMarcel Moolenaar	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
23073955d011SMarcel Moolenaar	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
23083955d011SMarcel Moolenaar
23093955d011SMarcel Moolenaar  --with-machine=MACHINE  explicitly set MACHINE
23103955d011SMarcel Moolenaar  --with-force-machine=MACHINE  set FORCE_MACHINE
23113955d011SMarcel Moolenaar  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
23123955d011SMarcel Moolenaar  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
23133955d011SMarcel Moolenaar  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
23143955d011SMarcel Moolenaar  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
23153955d011SMarcel Moolenaar
23163955d011SMarcel Moolenaar	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
23173955d011SMarcel Moolenaar
23183955d011SMarcel Moolenaar	* makefile: added a pathetically simple makefile to drive
23193955d011SMarcel Moolenaar	bootstrapping.  Running configure by hand is more useful.
23203955d011SMarcel Moolenaar
23213955d011SMarcel Moolenaar	* Makefile.in: added MAKE_VERSION, and reworked things to be less
23223955d011SMarcel Moolenaar	dependent on NetBSD bsd.*.mk
23233955d011SMarcel Moolenaar
23243955d011SMarcel Moolenaar	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
23253955d011SMarcel Moolenaar	_PATH_OBJDIRPREFIX for those that don't want a default.
23263955d011SMarcel Moolenaar	construct _PATH_DEFSYSPATH from the info we get from configure.
23273955d011SMarcel Moolenaar
23283955d011SMarcel Moolenaar	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
23293955d011SMarcel Moolenaar	if MAKE_VERSION is defined.
23303955d011SMarcel Moolenaar
23313955d011SMarcel Moolenaar	* compat.c: when we bail, print out the .CURDIR we were in.
23323955d011SMarcel Moolenaar
23333955d011SMarcel MoolenaarSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
23343955d011SMarcel Moolenaar
23353955d011SMarcel Moolenaar	* Merged with NetBSD make
23363955d011SMarcel Moolenaar
23373955d011SMarcel Moolenaar	* var.c: fixed a bug in the handling of the modifier :P
23383955d011SMarcel Moolenaar	if the node as found but the path was null, we segfault trying to
23393955d011SMarcel Moolenaar	duplicate it.
23403955d011SMarcel Moolenaar
23413955d011SMarcel MoolenaarMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
23423955d011SMarcel Moolenaar
23433955d011SMarcel Moolenaar	* Merged with NetBSD make
23443955d011SMarcel Moolenaar
23453955d011SMarcel Moolenaar	* make.c: Make_OODate's test for a library out of date was using
23463955d011SMarcel Moolenaar	cmtime where it should have used mtime (my bug).
23473955d011SMarcel Moolenaar
23483955d011SMarcel Moolenaar	* compat.c: Use perror() to tell us what really went wrong when we
23493955d011SMarcel Moolenaar	cannot exec a command.
23503955d011SMarcel Moolenaar
23513955d011SMarcel MoolenaarFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23523955d011SMarcel Moolenaar
23533955d011SMarcel Moolenaar	* Merged with NetBSD make
23543955d011SMarcel Moolenaar
23553955d011SMarcel MoolenaarSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23563955d011SMarcel Moolenaar
23573955d011SMarcel Moolenaar	* Merged with NetBSD make
23583955d011SMarcel Moolenaar
23593955d011SMarcel MoolenaarThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23603955d011SMarcel Moolenaar
23613955d011SMarcel Moolenaar	* Merged with NetBSD make
23623955d011SMarcel Moolenaar
23633955d011SMarcel MoolenaarTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23643955d011SMarcel Moolenaar
23653955d011SMarcel Moolenaar	* Merged with NetBSD make
23663955d011SMarcel Moolenaar
23673955d011SMarcel MoolenaarThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23683955d011SMarcel Moolenaar
23693955d011SMarcel Moolenaar	* util.c: don't provide signal() since we use sigcompat.c
23703955d011SMarcel Moolenaar
23713955d011SMarcel Moolenaar	* Makefile.in: added a build target.
23723955d011SMarcel Moolenaar
23733955d011SMarcel Moolenaar	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
23743955d011SMarcel Moolenaar	These allow some quite clever magic.
23753955d011SMarcel Moolenaar
23763955d011SMarcel Moolenaar	* main.c (main): added support for getenv(MAKESYSPATH).
23773955d011SMarcel Moolenaar
23783955d011SMarcel MoolenaarMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23793955d011SMarcel Moolenaar
23803955d011SMarcel Moolenaar	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
23813955d011SMarcel Moolenaar	This avoids objdir having a different value depending on how a
23823955d011SMarcel Moolenaar	directory was reached (via command line, or subdir.mk).
23833955d011SMarcel Moolenaar
23843955d011SMarcel Moolenaar	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
23853955d011SMarcel Moolenaar
23863955d011SMarcel MoolenaarMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
23873955d011SMarcel Moolenaar
23883955d011SMarcel Moolenaar	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
23893955d011SMarcel Moolenaar	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
23903955d011SMarcel Moolenaar	I've been testing this in NetBSD's make for some weeks.
23913955d011SMarcel Moolenaar
23923955d011SMarcel Moolenaar	* Turn Makefile into Makefile.in and make it useful.
23933955d011SMarcel Moolenaar
23943955d011SMarcel MoolenaarTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
23953955d011SMarcel Moolenaar
23963955d011SMarcel Moolenaar	* Imported NetBSD's -current make(1) and resolve conflicts.
23973955d011SMarcel Moolenaar
23983955d011SMarcel Moolenaar	* Applied autoconf patches from bmake v2
23993955d011SMarcel Moolenaar
24003955d011SMarcel Moolenaar	* Imported clean code base from NetBSD-1.0
2401