xref: /freebsd/contrib/bmake/ChangeLog (revision 2c3632d14fe37fa35c262ee9fb66835be0a52621)
1*2c3632d1SSimon J. Gerraty2020-09-02  Simon J Gerraty  <sjg@beast.crufty.net>
2*2c3632d1SSimon J. Gerraty
3*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200902
4*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
5*2c3632d1SSimon J. Gerraty	o use make_stat to ensure no confusion over valid fields
6*2c3632d1SSimon J. Gerraty	returned by cached_stat
7*2c3632d1SSimon J. Gerraty	o var.c: make VarQuote const-correct
8*2c3632d1SSimon J. Gerraty	o add unit tests for .for
9*2c3632d1SSimon J. Gerraty
10*2c3632d1SSimon J. Gerraty2020-09-01  Simon J Gerraty  <sjg@beast.crufty.net>
11*2c3632d1SSimon J. Gerraty
12*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200901
13*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
14*2c3632d1SSimon J. Gerraty	o rename Hash_Table fields
15*2c3632d1SSimon J. Gerraty	o make data types in Dir_HasWildcards more precise
16*2c3632d1SSimon J. Gerraty
17*2c3632d1SSimon J. Gerraty2020-08-31  Simon J Gerraty  <sjg@beast.crufty.net>
18*2c3632d1SSimon J. Gerraty
19*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200831
20*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
21*2c3632d1SSimon J. Gerraty	o suff.c: fix unbalanced Lst_Open/Lst_Close in SuffFindCmds
22*2c3632d1SSimon J. Gerraty	o lst.c: Lst_Open renable assert that list isn't open
23*2c3632d1SSimon J. Gerraty	o unit test for .TARGET dependent flags
24*2c3632d1SSimon J. Gerraty	o var.c: fix aliasing bug in VarUniq
25*2c3632d1SSimon J. Gerraty	o more unit tests for :u
26*2c3632d1SSimon J. Gerraty
27*2c3632d1SSimon J. Gerraty2020-08-30  Simon J Gerraty  <sjg@beast.crufty.net>
28*2c3632d1SSimon J. Gerraty
29*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200830
30*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
31*2c3632d1SSimon J. Gerraty	o allow for strict type checking for Boolean
32*2c3632d1SSimon J. Gerraty	o Var_Parse never returns NULL
33*2c3632d1SSimon J. Gerraty	o Var_Subst never returns NULL
34*2c3632d1SSimon J. Gerraty	o Lst_Find now takes boolean match function
35*2c3632d1SSimon J. Gerraty	o rename Lst_Memeber to Lst_FindDatum
36*2c3632d1SSimon J. Gerraty	o rename LstNode functions to match their type
37*2c3632d1SSimon J. Gerraty	o rename GNode.iParents to implicitParents
38*2c3632d1SSimon J. Gerraty	o fix assertion failure for .SUFFIXES in archives
39*2c3632d1SSimon J. Gerraty	o compat.c: clean up documentation for CompatInterrupt and Compat_Run
40*2c3632d1SSimon J. Gerraty	remove unreachable code from CompatRunCommand
41*2c3632d1SSimon J. Gerraty	o main.c: simplify getBoolean
42*2c3632d1SSimon J. Gerraty	o stc.c: replace brk_string with simpler Str_Words
43*2c3632d1SSimon J. Gerraty	o suff.c: add debug macros
44*2c3632d1SSimon J. Gerraty
45*2c3632d1SSimon J. Gerraty2020-08-28  Simon J Gerraty  <sjg@beast.crufty.net>
46*2c3632d1SSimon J. Gerraty
47*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200828
48*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
49*2c3632d1SSimon J. Gerraty	o lst.c: inline LstIsValid and LstNodeIsValid
50*2c3632d1SSimon J. Gerraty	o remove trailing S from Lst function names after migration complete
51*2c3632d1SSimon J. Gerraty	o more comment cleanup/clarification
52*2c3632d1SSimon J. Gerraty	o suff.c: clean up suffix handling
53*2c3632d1SSimon J. Gerraty	o more unit tests
54*2c3632d1SSimon J. Gerraty
55*2c3632d1SSimon J. Gerraty2020-08-26  Simon J Gerraty  <sjg@beast.crufty.net>
56*2c3632d1SSimon J. Gerraty
57*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200826
58*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
59*2c3632d1SSimon J. Gerraty	o enum.c: distinguish between bitsets containing flags and
60*2c3632d1SSimon J. Gerraty	ordinary enums
61*2c3632d1SSimon J. Gerraty	o var.c: fix error message for ::!= modifier with shell error
62*2c3632d1SSimon J. Gerraty	o fix bugs in -DCLEANUP mode
63*2c3632d1SSimon J. Gerraty
64*2c3632d1SSimon J. Gerraty2020-08-24  Simon J Gerraty  <sjg@beast.crufty.net>
65*2c3632d1SSimon J. Gerraty
66*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200824
67*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
68*2c3632d1SSimon J. Gerraty	o in debug mode, print GNode details in symbols
69*2c3632d1SSimon J. Gerraty
70*2c3632d1SSimon J. Gerraty2020-08-23  Simon J Gerraty  <sjg@beast.crufty.net>
71*2c3632d1SSimon J. Gerraty
72*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200823
73*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
74*2c3632d1SSimon J. Gerraty	o lst.c: more asserts,
75*2c3632d1SSimon J. Gerraty	make args to Lst_Find match others.
76*2c3632d1SSimon J. Gerraty	o var.c: pass flags to VarAdd
77*2c3632d1SSimon J. Gerraty	o arch.c: use Buffer
78*2c3632d1SSimon J. Gerraty	o str.c: brk_string return size_t for nwords
79*2c3632d1SSimon J. Gerraty	o more unit tests
80*2c3632d1SSimon J. Gerraty
81*2c3632d1SSimon J. Gerraty2020-08-22  Simon J Gerraty  <sjg@beast.crufty.net>
82*2c3632d1SSimon J. Gerraty
83*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION):
84*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
85*2c3632d1SSimon J. Gerraty	o var.c: support for read-only variables eg .SHELL
86*2c3632d1SSimon J. Gerraty	being the shell used to run scripts.
87*2c3632d1SSimon J. Gerraty	o lst.c: more simplification
88*2c3632d1SSimon J. Gerraty	o more documentation and style cleanup
89*2c3632d1SSimon J. Gerraty	o more unit tests
90*2c3632d1SSimon J. Gerraty	o ensure unit-test/Makefile is run by TEST_MAKE
91*2c3632d1SSimon J. Gerraty	o reduce duplication of header inclusion
92*2c3632d1SSimon J. Gerraty
93*2c3632d1SSimon J. Gerraty2020-08-21  Simon J Gerraty  <sjg@beast.crufty.net>
94*2c3632d1SSimon J. Gerraty
95*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200821
96*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
97*2c3632d1SSimon J. Gerraty	o lst.c: revert invalid assertion - but document it
98*2c3632d1SSimon J. Gerraty	o dir.c: split Dir_Init into two functions
99*2c3632d1SSimon J. Gerraty
100*2c3632d1SSimon J. Gerraty2020-08-20  Simon J Gerraty  <sjg@beast.crufty.net>
101*2c3632d1SSimon J. Gerraty
102*2c3632d1SSimon J. Gerraty	* lst.c: needs inttypes.h on Linux
103*2c3632d1SSimon J. Gerraty
104*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200820
105*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
106*2c3632d1SSimon J. Gerraty	o make.1: clarify some passages
107*2c3632d1SSimon J. Gerraty	o var.c: more cleanup, clarify comments
108*2c3632d1SSimon J. Gerraty	o make_malloc.c: remove unreachable code
109*2c3632d1SSimon J. Gerraty	o cond.c: make CondGetString easier to debug
110*2c3632d1SSimon J. Gerraty	o simplify list usage
111*2c3632d1SSimon J. Gerraty	o unit-tests: more
112*2c3632d1SSimon J. Gerraty
113*2c3632d1SSimon J. Gerraty2020-08-16  Simon J Gerraty  <sjg@beast.crufty.net>
114*2c3632d1SSimon J. Gerraty
115*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200816
116*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
117*2c3632d1SSimon J. Gerraty	o refactor unit-tests to be more fine grained
118*2c3632d1SSimon J. Gerraty	  not all tests moved yet
119*2c3632d1SSimon J. Gerraty
120*2c3632d1SSimon J. Gerraty2020-08-14  Simon J Gerraty  <sjg@beast.crufty.net>
121*2c3632d1SSimon J. Gerraty
122*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200814
123*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
124*2c3632d1SSimon J. Gerraty	o more str_concat variants
125*2c3632d1SSimon J. Gerraty	o more enums for flags
126*2c3632d1SSimon J. Gerraty	o var.c: cleanup for higher warnings level
127*2c3632d1SSimon J. Gerraty
128*2c3632d1SSimon J. Gerraty2020-08-10  Simon J Gerraty  <sjg@beast.crufty.net>
129*2c3632d1SSimon J. Gerraty
130*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200810
131*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
132*2c3632d1SSimon J. Gerraty	o more unit tests
133*2c3632d1SSimon J. Gerraty	o general comment and style cleanup
134*2c3632d1SSimon J. Gerraty
135*2c3632d1SSimon J. Gerraty2020-08-08  Simon J Gerraty  <sjg@beast.crufty.net>
136*2c3632d1SSimon J. Gerraty
137*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200808
138*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
139*2c3632d1SSimon J. Gerraty	o enum.[ch]: streamline, enums for use in flags and debug output
140*2c3632d1SSimon J. Gerraty	o cond.c: cleanup
141*2c3632d1SSimon J. Gerraty	o var.c: reduce duplicate code for modifiers
142*2c3632d1SSimon J. Gerraty	debug logging for Var_Parse
143*2c3632d1SSimon J. Gerraty	more detailed debug output
144*2c3632d1SSimon J. Gerraty	o more unit tests
145*2c3632d1SSimon J. Gerraty
146*2c3632d1SSimon J. Gerraty2020-08-06  Simon J Gerraty  <sjg@beast.crufty.net>
147*2c3632d1SSimon J. Gerraty
148*2c3632d1SSimon J. Gerraty	* unit-tests/Makefile: -r for recursive and include Makefile.inc
149*2c3632d1SSimon J. Gerraty	so I can run tests in meta mode
150*2c3632d1SSimon J. Gerraty	supress extra noise if in meta mode
151*2c3632d1SSimon J. Gerraty
152*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200806
153*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
154*2c3632d1SSimon J. Gerraty	o parse.c: remove VARE_WANTRES for LINT
155*2c3632d1SSimon J. Gerraty	we just want to check parsing (for now).
156*2c3632d1SSimon J. Gerraty
157*2c3632d1SSimon J. Gerraty2020-08-05  Simon J Gerraty  <sjg@beast.crufty.net>
158*2c3632d1SSimon J. Gerraty
159*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200805
160*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
161*2c3632d1SSimon J. Gerraty	o make.1: Rework the description of dependence operators
162*2c3632d1SSimon J. Gerraty
163*2c3632d1SSimon J. Gerraty2020-08-03  Simon J Gerraty  <sjg@beast.crufty.net>
164*2c3632d1SSimon J. Gerraty
165*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200803
166*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
167*2c3632d1SSimon J. Gerraty	o revert some C99 usage, for max portability
168*2c3632d1SSimon J. Gerraty	o unit-tests/lint
169*2c3632d1SSimon J. Gerraty
170*2c3632d1SSimon J. Gerraty2020-08-02  Simon J Gerraty  <sjg@beast.crufty.net>
171*2c3632d1SSimon J. Gerraty
172*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200802
173*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
174*2c3632d1SSimon J. Gerraty	o more unit tests
175*2c3632d1SSimon J. Gerraty
176*2c3632d1SSimon J. Gerraty2020-08-01  Simon J Gerraty  <sjg@beast.crufty.net>
177*2c3632d1SSimon J. Gerraty
178*2c3632d1SSimon J. Gerraty	* Remove NetBSD specific plumbing from unit-tests/Makefile
179*2c3632d1SSimon J. Gerraty
180*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200801
181*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
182*2c3632d1SSimon J. Gerraty	o make Var_Value return const
183*2c3632d1SSimon J. Gerraty	o size_t for buf sizes
184*2c3632d1SSimon J. Gerraty	o optimize some buffer operations - avoid strlen
185*2c3632d1SSimon J. Gerraty
186*2c3632d1SSimon J. Gerraty2020-07-31  Simon J Gerraty  <sjg@beast.crufty.net>
187*2c3632d1SSimon J. Gerraty
188*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200731
189*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
190*2c3632d1SSimon J. Gerraty	o var.c: fix undefinded behavior for incomplete :t modifier
191*2c3632d1SSimon J. Gerraty	  fixes unit-test/moderrs on Ubuntu
192*2c3632d1SSimon J. Gerraty	o parse.c: When parsing variable assignments other than :=
193*2c3632d1SSimon J. Gerraty	  if DEBUG(LINT) test substition of value, so we get a file and
194*2c3632d1SSimon J. Gerraty	  line number in the resulting error.
195*2c3632d1SSimon J. Gerraty	o dir.c: fix parsing of nested braces in dependency lines
196*2c3632d1SSimon J. Gerraty	  add unit-tests
197*2c3632d1SSimon J. Gerraty
198*2c3632d1SSimon J. Gerraty2020-07-30  Simon J Gerraty  <sjg@beast.crufty.net>
199*2c3632d1SSimon J. Gerraty
200*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200730
201*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
202*2c3632d1SSimon J. Gerraty	o var.c: minor cleanup
203*2c3632d1SSimon J. Gerraty	o unit-tests: more tests to improve code coverage
204*2c3632d1SSimon J. Gerraty
205*2c3632d1SSimon J. Gerraty2020-07-28  Simon J Gerraty  <sjg@beast.crufty.net>
206*2c3632d1SSimon J. Gerraty
207*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200728
208*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
209*2c3632d1SSimon J. Gerraty	o var.c: more optimizations
210*2c3632d1SSimon J. Gerraty
211*2c3632d1SSimon J. Gerraty2020-07-26  Simon J Gerraty  <sjg@beast.crufty.net>
212*2c3632d1SSimon J. Gerraty
213*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200726
214*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
215*2c3632d1SSimon J. Gerraty	o collapse lsd.lib into lst.c - reduce code size and allow inlining
216*2c3632d1SSimon J. Gerraty	o lots of function comment updates
217*2c3632d1SSimon J. Gerraty	o var.c: more optimizations
218*2c3632d1SSimon J. Gerraty	o make return of Var_Parse const
219*2c3632d1SSimon J. Gerraty
220*2c3632d1SSimon J. Gerraty2020-07-20  Simon J Gerraty  <sjg@beast.crufty.net>
221*2c3632d1SSimon J. Gerraty
222*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200720
223*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
224*2c3632d1SSimon J. Gerraty	o DEBUG_HASH report stats at end and tone down the noise
225*2c3632d1SSimon J. Gerraty	o var.c: each flag type gets its own prefix.
226*2c3632d1SSimon J. Gerraty	move SysV string matching to var.c
227*2c3632d1SSimon J. Gerraty	make ampersand in ${VAR:from=to&} an ordinary character
228*2c3632d1SSimon J. Gerraty	cleanup and simplify implementation of modifiers
229*2c3632d1SSimon J. Gerraty	o make.1: move documentation for assignment modifiers
230*2c3632d1SSimon J. Gerraty
231*2c3632d1SSimon J. Gerraty2020-07-18  Simon J Gerraty  <sjg@beast.crufty.net>
232*2c3632d1SSimon J. Gerraty
233*2c3632d1SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200718
234*2c3632d1SSimon J. Gerraty	Merge with NetBSD make, pick up
235*2c3632d1SSimon J. Gerraty	o DEBUG_HASH to see how well the hash tables are working
236*2c3632d1SSimon J. Gerraty
237*2c3632d1SSimon J. Gerraty2020-07-11  Simon J Gerraty  <sjg@beast.crufty.net>
238*2c3632d1SSimon J. Gerraty
239*2c3632d1SSimon J. Gerraty	* bsd.after-import.mk: make sure we update unit-tests/Makefile
240*2c3632d1SSimon J. Gerraty
2413841c287SSimon J. Gerraty2020-07-10  Simon J Gerraty  <sjg@beast.crufty.net>
2423841c287SSimon J. Gerraty
2433841c287SSimon J. Gerraty	* configure.in: use AC_INCLUDES_DEFAULT rather than AC_HEADER_STDC
2443841c287SSimon J. Gerraty
2453841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200710
2463841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
2473841c287SSimon J. Gerraty	o filemon/filemon_dev.c: use O_CLOEXEC rather than extra syscall
2483841c287SSimon J. Gerraty	o meta.c: target flagged .META is out-of-date if meta file missing
2493841c287SSimon J. Gerraty
2503841c287SSimon J. Gerraty2020-07-09  Simon J Gerraty  <sjg@beast.crufty.net>
2513841c287SSimon J. Gerraty
2523841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200709
2533841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
2543841c287SSimon J. Gerraty	o cond.c: fix for compare_expression when doEval=0
2553841c287SSimon J. Gerraty	o unit-tests/Makefile: rework
2563841c287SSimon J. Gerraty	o filemon/filemon_dev.c: ensure filemon fd is closed on exec.
2573841c287SSimon J. Gerraty
2583841c287SSimon J. Gerraty2020-07-04  Simon J Gerraty  <sjg@beast.crufty.net>
2593841c287SSimon J. Gerraty
2603841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200704
2613841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
2623841c287SSimon J. Gerraty	(most of this by rillig@)
2633841c287SSimon J. Gerraty	o lots of style and white-space cleanup
2643841c287SSimon J. Gerraty	o lots more unit tests for variable modifiers
2653841c287SSimon J. Gerraty	o simplified description of some functions
2663841c287SSimon J. Gerraty	o str.c: refactor Str_Match
2673841c287SSimon J. Gerraty	o var.c: debugging output for :@
2683841c287SSimon J. Gerraty	  constify VarModify parameter
2693841c287SSimon J. Gerraty	  fix :hash modifier on 16-bit platforms
2703841c287SSimon J. Gerraty	  remove unnecessary forward declarations
2713841c287SSimon J. Gerraty	  refactor ApplyModifier_SysV to have less indentation
2723841c287SSimon J. Gerraty	  simplify code for :E and :R
2733841c287SSimon J. Gerraty	  clean up code for :H and :T
2743841c287SSimon J. Gerraty	  refactor ApplyModifiers
2753841c287SSimon J. Gerraty
2763841c287SSimon J. Gerraty	* var.c: we need stdint.h on some platforms to get uint32_t
2773841c287SSimon J. Gerraty	* unit-test/Makefile: we need to supress the specific error
2783841c287SSimon J. Gerraty	for RE substitution error in modmisc, since it varies accross
2793841c287SSimon J. Gerraty	different OS.
2803841c287SSimon J. Gerraty
2813841c287SSimon J. Gerraty2020-07-02  Simon J Gerraty  <sjg@beast.crufty.net>
2823841c287SSimon J. Gerraty
2833841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200702
2843841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
2853841c287SSimon J. Gerraty	o var.c: more improvements to avoiding unnecessary evaluation
2863841c287SSimon J. Gerraty	use enums for flags
2873841c287SSimon J. Gerraty	o remove flags arg to Var_Set which outside of var.c is always 0
2883841c287SSimon J. Gerraty
2893841c287SSimon J. Gerraty2020-07-01  Simon J Gerraty  <sjg@beast.crufty.net>
2903841c287SSimon J. Gerraty
2913841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200701
2923841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
2933841c287SSimon J. Gerraty	o var.c: with change to cond.c; ensure that nested variables
2943841c287SSimon J. Gerraty	within a variable name are expanded.
2953841c287SSimon J. Gerraty	o unit-tests/varmisc.mk: test for nested varname
2963841c287SSimon J. Gerraty
2973841c287SSimon J. Gerraty2020-06-29  Simon J Gerraty  <sjg@beast.crufty.net>
2983841c287SSimon J. Gerraty
2993841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200629
3003841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
3013841c287SSimon J. Gerraty	o cond.c: do not eval unnecessary terms of conditionals.
3023841c287SSimon J. Gerraty
3033841c287SSimon J. Gerraty2020-06-25  Simon J Gerraty  <sjg@beast.crufty.net>
3043841c287SSimon J. Gerraty
3053841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200625
3063841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
3073841c287SSimon J. Gerraty	o meta.c: report error if lseek in filemon_read fails
3083841c287SSimon J. Gerraty
3093841c287SSimon J. Gerraty2020-06-22  Simon J Gerraty  <sjg@beast.crufty.net>
3103841c287SSimon J. Gerraty
3113841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200622
3123841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
3133841c287SSimon J. Gerraty	o dieQuietly: ignore OP_SUBMAKE as too aggressive
3143841c287SSimon J. Gerraty
3153841c287SSimon J. Gerraty2020-06-19  Simon J Gerraty  <sjg@beast.crufty.net>
3163841c287SSimon J. Gerraty
3173841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200619
3183841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
3193841c287SSimon J. Gerraty	o str.c: performance improvement for Str_Match for multiple '*'
3203841c287SSimon J. Gerraty	o dieQuietly: supress the failure output from make
3213841c287SSimon J. Gerraty	when failing node is a sub-make or a sibling failed.
3223841c287SSimon J. Gerraty	This cuts down greatly on unhelpful noise at the end of
3233841c287SSimon J. Gerraty	build log.  Disabled by -dj or .MAKE.DIE_QUIETLY=no
3243841c287SSimon J. Gerraty
3253841c287SSimon J. Gerraty2020-06-10  Simon J Gerraty  <sjg@beast.crufty.net>
3263841c287SSimon J. Gerraty
3273841c287SSimon J. Gerraty	* FILES: add LICENSE to appease some packagers.
3283841c287SSimon J. Gerraty	This is an attempt to fairly represent the license on almost
3293841c287SSimon J. Gerraty	200 files, which are almost all BSD-3-Clause
3303841c287SSimon J. Gerraty	The few exceptions being more liberal.
3313841c287SSimon J. Gerraty
3323841c287SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200610
3333841c287SSimon J. Gerraty	Merge with NetBSD make, pick up
3343841c287SSimon J. Gerraty	o unit test for :Or
3353841c287SSimon J. Gerraty
336ef0b2538SSimon J. Gerraty2020-06-06  Simon J Gerraty  <sjg@beast.crufty.net>
337ef0b2538SSimon J. Gerraty
338ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200606
339ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
340ef0b2538SSimon J. Gerraty	o make.1: cleanup
341ef0b2538SSimon J. Gerraty
342ef0b2538SSimon J. Gerraty	* Makefile: fix depends for main.o which broke MAKE_VERSION
343ef0b2538SSimon J. Gerraty
344ef0b2538SSimon J. Gerraty2020-06-05  Simon J Gerraty  <sjg@beast.crufty.net>
345ef0b2538SSimon J. Gerraty
346ef0b2538SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200605
347ef0b2538SSimon J. Gerraty	Merge with NetBSD make, pick up
348ef0b2538SSimon J. Gerraty	o dir.c: cached_stats - don't confuse stat and lstat results.
349ef0b2538SSimon J. Gerraty	o var.c: add :Or for reverse sort.
350ef0b2538SSimon J. Gerraty
351ef0b2538SSimon J. Gerraty2020-05-24  Simon J Gerraty  <sjg@beast.crufty.net>
352ef0b2538SSimon J. Gerraty
353ef0b2538SSimon J. Gerraty	* configure.in: add AC_PROG_CC_C99 for mipspro compiler
354ef0b2538SSimon J. Gerraty	also if --with-filemon= specifies path to filemon.h
355ef0b2538SSimon J. Gerraty	set use_filemon=dev
356ef0b2538SSimon J. Gerraty	* dirname.c: remove include of namespace.h
357ef0b2538SSimon J. Gerraty
35849caa483SSimon J. Gerraty2020-05-17  Simon J Gerraty  <sjg@beast.crufty.net>
35949caa483SSimon J. Gerraty
36049caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200517
36149caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
36249caa483SSimon J. Gerraty	o modified dollar tests to avoid shell dependencies
36349caa483SSimon J. Gerraty	o new tests for .INCLUDEFROM
36449caa483SSimon J. Gerraty
36549caa483SSimon J. Gerraty2020-05-16  Simon J Gerraty  <sjg@beast.crufty.net>
36649caa483SSimon J. Gerraty
36749caa483SSimon J. Gerraty	* unit-tests/dollar.mk: tweak  '1 dollar literal' test
36849caa483SSimon J. Gerraty	to not depend so much on shell behavior
36949caa483SSimon J. Gerraty
37049caa483SSimon J. Gerraty2020-05-10  Simon J Gerraty  <sjg@beast.crufty.net>
37149caa483SSimon J. Gerraty
37249caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200510
37349caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
37449caa483SSimon J. Gerraty	o unit test for dollar handling
37549caa483SSimon J. Gerraty
37649caa483SSimon J. Gerraty2020-05-06  Simon J Gerraty  <sjg@beast.crufty.net>
37749caa483SSimon J. Gerraty
37849caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200506
37949caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
38049caa483SSimon J. Gerraty	o str.c: empty string does not match % pattern
38149caa483SSimon J. Gerraty	  plus unit-test changes
38249caa483SSimon J. Gerraty
38349caa483SSimon J. Gerraty2020-05-04  Simon J Gerraty  <sjg@beast.crufty.net>
38449caa483SSimon J. Gerraty
38549caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200504
38649caa483SSimon J. Gerraty	May the 4th be with you
38749caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
38849caa483SSimon J. Gerraty	o var.c: import handling of old sysV style modifier using '%'
38949caa483SSimon J. Gerraty	o str.c: refactor brk_string
39049caa483SSimon J. Gerraty	o unit-tests: add test case for lazy conditions
39149caa483SSimon J. Gerraty
39249caa483SSimon J. Gerraty2020-04-18  Simon J Gerraty  <sjg@beast.crufty.net>
39349caa483SSimon J. Gerraty
39449caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200418
39549caa483SSimon J. Gerraty
39649caa483SSimon J. Gerraty	* configure.in: use_makefile=no for cygwin et al.
39749caa483SSimon J. Gerraty	case insensitive filesystems just don't work if both
39849caa483SSimon J. Gerraty	makefile and Makefile exist.
39949caa483SSimon J. Gerraty	NOTE: bmake does not support cygwin and likely never will,
40049caa483SSimon J. Gerraty	but if brave souls want to try it - help them out.
40149caa483SSimon J. Gerraty
40249caa483SSimon J. Gerraty2020-04-02  Simon J Gerraty  <sjg@beast.crufty.net>
40349caa483SSimon J. Gerraty
40449caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200402
40549caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
40649caa483SSimon J. Gerraty	o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD
40749caa483SSimon J. Gerraty	  a blank command is perfectly valid.
40849caa483SSimon J. Gerraty
40949caa483SSimon J. Gerraty2020-03-30  Simon J Gerraty  <sjg@beast.crufty.net>
41049caa483SSimon J. Gerraty
41149caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200330
41249caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
41349caa483SSimon J. Gerraty	o make.h: extern debug_file
41449caa483SSimon J. Gerraty
41549caa483SSimon J. Gerraty2020-03-18  Simon J Gerraty  <sjg@beast.crufty.net>
41649caa483SSimon J. Gerraty
41749caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200318
41849caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
41949caa483SSimon J. Gerraty	o meta.c: meta_oodate, check for corrupted meta file
42049caa483SSimon J. Gerraty	  earlier and more often.
42149caa483SSimon J. Gerraty
42249caa483SSimon J. Gerraty2020-02-20  Simon J Gerraty  <sjg@beast.crufty.net>
42349caa483SSimon J. Gerraty
42449caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200220
42549caa483SSimon J. Gerraty
42649caa483SSimon J. Gerraty2020-02-19  Simon J Gerraty  <sjg@beast.crufty.net>
42749caa483SSimon J. Gerraty
42849caa483SSimon J. Gerraty	* boot-strap: unset MAKEFLAGS
42949caa483SSimon J. Gerraty
43049caa483SSimon J. Gerraty2020-02-12  Simon J Gerraty  <sjg@beast.crufty.net>
43149caa483SSimon J. Gerraty
43249caa483SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20200212
43349caa483SSimon J. Gerraty	* meta.c: meta_compat_parent check for USE_FILEMON
43449caa483SSimon J. Gerraty	  patch from Soeren Tempel
43549caa483SSimon J. Gerraty
43649caa483SSimon J. Gerraty2020-02-05  Simon J Gerraty  <sjg@beast.crufty.net>
43749caa483SSimon J. Gerraty
43849caa483SSimon J. Gerraty	* VERSION: 20200205
43949caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
44049caa483SSimon J. Gerraty	o meta.c: fix compat mode, need to call meta_job_output()
44149caa483SSimon J. Gerraty	o job.c: extra fds for meta mode not needed if using filemon_dev
44249caa483SSimon J. Gerraty
44349caa483SSimon J. Gerraty2020-01-22  Simon J Gerraty  <sjg@beast.crufty.net>
44449caa483SSimon J. Gerraty
44549caa483SSimon J. Gerraty	* VERSION: 20200122
44649caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
44749caa483SSimon J. Gerraty	o meta.c: avoid passing NULL to filemon_*() when meta_needed()
44849caa483SSimon J. Gerraty	  returns FALSE.
44949caa483SSimon J. Gerraty
45049caa483SSimon J. Gerraty2020-01-21  Simon J Gerraty  <sjg@beast.crufty.net>
45149caa483SSimon J. Gerraty
45249caa483SSimon J. Gerraty	* VERSION: 20200121
45349caa483SSimon J. Gerraty	Merge with NetBSD make, pick up
45449caa483SSimon J. Gerraty	o filemon/filemon_{dev,ktrace}.c: allow selection of
45549caa483SSimon J. Gerraty	  filemon implementation.  filemon_dev.c uses the kernel module
45649caa483SSimon J. Gerraty	  while filemon_ktrace.c leverages the fktrace api available in
45749caa483SSimon J. Gerraty	  NetBSD.  filemon_ktrace.c can hopefully form the basis for
45849caa483SSimon J. Gerraty	  adding support for other tracing mechanisms such as strace on
45949caa483SSimon J. Gerraty	  Linux.
46049caa483SSimon J. Gerraty	o meta.c: when target is out-of-date per normal make rules
46149caa483SSimon J. Gerraty	  record value of .OODATE in meta file.
46249caa483SSimon J. Gerraty
46349caa483SSimon J. Gerraty2019-09-26  Simon J Gerraty  <sjg@beast.crufty.net>
46449caa483SSimon J. Gerraty
46549caa483SSimon J. Gerraty	* VERSION: 20190926
46649caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
46749caa483SSimon J. Gerraty	  o parse.c: don't pass NULL to realpath(3)
46849caa483SSimon J. Gerraty	    some versions cannot handle it.
46949caa483SSimon J. Gerraty
47049caa483SSimon J. Gerraty2019-04-09  Simon J Gerraty  <sjg@beast.crufty.net>
47149caa483SSimon J. Gerraty
47249caa483SSimon J. Gerraty	* VERSION: 20190409
47349caa483SSimon J. Gerraty	  Merge with NetBSD make, pick up
47449caa483SSimon J. Gerraty	  o parse.c: ParseDoDependency: free paths rather than assert
47549caa483SSimon J. Gerraty
47649caa483SSimon J. Gerraty2018-12-22  Simon J Gerraty  <sjg@beast.crufty.net>
47749caa483SSimon J. Gerraty
47849caa483SSimon J. Gerraty	* VERSION: 20181222
47949caa483SSimon J. Gerraty
48049caa483SSimon J. Gerraty	* configure.in: add --without-makefile to avoid generating
48149caa483SSimon J. Gerraty	  makefile and make-bootstrap.sh
48249caa483SSimon J. Gerraty
48349caa483SSimon J. Gerraty	* include Makefile.inc if it exists
48449caa483SSimon J. Gerraty
48549caa483SSimon J. Gerraty	* Use Makefile and Makefile.config.in in unit-tests
48649caa483SSimon J. Gerraty	  so we can use just: make obj && make && make test
48749caa483SSimon J. Gerraty	  when bmake is already available.
48849caa483SSimon J. Gerraty	  We add --without-makefile to CONFIGURE_ARGS in this case.
48949caa483SSimon J. Gerraty
49049caa483SSimon J. Gerraty	* tweak bsd.after-import.mk (captures Makefile.config etc
49149caa483SSimon J. Gerraty	  after import to FreeBSD for example) to cope with all the above.
49249caa483SSimon J. Gerraty
493dfd669abSSimon J. Gerraty2018-12-21  Simon J Gerraty  <sjg@beast.crufty.net>
494dfd669abSSimon J. Gerraty
495dfd669abSSimon J. Gerraty	* VERSION: 20181221
496dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
497dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .PARSEDIR
498dfd669abSSimon J. Gerraty	    and apply if relative, and then use .PARSEFILE
499dfd669abSSimon J. Gerraty	    for consistent result.
500dfd669abSSimon J. Gerraty
501dfd669abSSimon J. Gerraty2018-12-20  Simon J Gerraty  <sjg@beast.crufty.net>
502dfd669abSSimon J. Gerraty
503dfd669abSSimon J. Gerraty	* VERSION: 20181220
504dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
505dfd669abSSimon J. Gerraty	  o parse.c: ParseVErrorInternal use .CURDIR if .PARSEDIR
506dfd669abSSimon J. Gerraty	    is relative
507dfd669abSSimon J. Gerraty	  o var.c: avoid SEGFAULT in .unexport-env
508dfd669abSSimon J. Gerraty	    when MAKELEVEL is not set
509dfd669abSSimon J. Gerraty
510dfd669abSSimon J. Gerraty2018-12-16  Simon J Gerraty  <sjg@beast.crufty.net>
511dfd669abSSimon J. Gerraty
512dfd669abSSimon J. Gerraty	* VERSION: 20181216
513dfd669abSSimon J. Gerraty	  Merge with NetBSD make, pick up
514dfd669abSSimon J. Gerraty	  o fix for unit-tests/varquote.mk on Debian
515dfd669abSSimon J. Gerraty
5162eae894cSSimon J. Gerraty2018-09-21  Simon J. Gerraty  <sjg@bad.crufty.net>
5172eae894cSSimon J. Gerraty
5182eae894cSSimon J. Gerraty	* VERSION: 20180919
5192eae894cSSimon J. Gerraty	  Merge with NetBSD make, pick up
5202eae894cSSimon J. Gerraty	  o var.c: add :q
5212eae894cSSimon J. Gerraty	  o dir.c: cleanup caching of stats
5222eae894cSSimon J. Gerraty
5232eae894cSSimon J. Gerraty2018-09-21  Simon J Gerraty  <sjg@beast.crufty.net>
5242eae894cSSimon J. Gerraty
5252eae894cSSimon J. Gerraty	* Makefile.config.in: use += where it makes sense.
5262eae894cSSimon J. Gerraty
527494f7191SSimon J. Gerraty2018-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
528494f7191SSimon J. Gerraty
529494f7191SSimon J. Gerraty	* VERSION: 20180512
530494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
531494f7191SSimon J. Gerraty	  o job.c: skip polling job token pipe
532494f7191SSimon J. Gerraty
533494f7191SSimon J. Gerraty2018-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
534494f7191SSimon J. Gerraty
535494f7191SSimon J. Gerraty	* VERSION: 20180405
536494f7191SSimon J. Gerraty	  Merge with NetBSD make, pick up
537494f7191SSimon J. Gerraty	  o parse.c: be more cautious about detecting depenency line
538494f7191SSimon J. Gerraty	    rather than sysV style include.
539494f7191SSimon J. Gerraty
54050d2e745SSimon J. Gerraty2018-02-22  Simon J. Gerraty  <sjg@bad.crufty.net>
54150d2e745SSimon J. Gerraty
54250d2e745SSimon J. Gerraty	* VERSION: 20180222
54350d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
54450d2e745SSimon J. Gerraty	  o parse.c: avoid calling sysconf for every call to loadfile
54550d2e745SSimon J. Gerraty
54650d2e745SSimon J. Gerraty2018-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
54750d2e745SSimon J. Gerraty
54850d2e745SSimon J. Gerraty	* VERSION: 20180218
54950d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
55050d2e745SSimon J. Gerraty	  o var.c: Var_Set handle NULL value anytime.
55150d2e745SSimon J. Gerraty
55250d2e745SSimon J. Gerraty2018-02-12  Simon J. Gerraty  <sjg@bad.crufty.net>
55350d2e745SSimon J. Gerraty
55450d2e745SSimon J. Gerraty	* VERSION: 20180212
55550d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
55650d2e745SSimon J. Gerraty	  o parse.c: do not treat .info as warning with -W
55750d2e745SSimon J. Gerraty
55850d2e745SSimon J. Gerraty2017-12-07  Simon J. Gerraty  <sjg@bad.crufty.net>
55950d2e745SSimon J. Gerraty
56050d2e745SSimon J. Gerraty	* VERSION: 20171207
56150d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
56250d2e745SSimon J. Gerraty	  o var.c: Var_Append use Var_Set if var not previously set
56350d2e745SSimon J. Gerraty	    so that VAR_CMD is handled correctly.
56450d2e745SSimon J. Gerraty	    Add a suitable unit-test.
56550d2e745SSimon J. Gerraty
56650d2e745SSimon J. Gerraty2017-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
56750d2e745SSimon J. Gerraty
56850d2e745SSimon J. Gerraty	* VERSION (_MAKE_VERSION): 20171126
56950d2e745SSimon J. Gerraty
57050d2e745SSimon J. Gerraty	* aclocal.m4: use AC_LINK_IFELSE for AC_C___ATTRIBUTE__
57150d2e745SSimon J. Gerraty	  since AC_TRY_COMPILE puts input inside main()
57250d2e745SSimon J. Gerraty	  which upsets modern compilers.
57350d2e745SSimon J. Gerraty
57450d2e745SSimon J. Gerraty2017-11-18  Simon J. Gerraty  <sjg@bad.crufty.net>
57550d2e745SSimon J. Gerraty
57650d2e745SSimon J. Gerraty	* VERSION: 20171118
57750d2e745SSimon J. Gerraty	  Merge with NetBSD make, pick up
57850d2e745SSimon J. Gerraty	  o var.c: do not append to variable set on command line
57950d2e745SSimon J. Gerraty	    add unit-test to catch this.
58050d2e745SSimon J. Gerraty
581e22fef7dSSimon J. Gerraty2017-10-28  Simon J. Gerraty  <sjg@bad.crufty.net>
582e22fef7dSSimon J. Gerraty
583e22fef7dSSimon J. Gerraty	* VERSION: 20171028
584e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
585e22fef7dSSimon J. Gerraty	  o main.c: ignore empty MAKEOBJDIR
586e22fef7dSSimon J. Gerraty
587e22fef7dSSimon J. Gerraty	* Makefile.config.in:
588e22fef7dSSimon J. Gerraty	  make @prefix@ @machine*@ and @default_sys_path@ defaults.
589e22fef7dSSimon J. Gerraty
590e22fef7dSSimon J. Gerraty2017-10-05  Simon J. Gerraty  <sjg@bad.crufty.net>
591e22fef7dSSimon J. Gerraty
592e22fef7dSSimon J. Gerraty	* VERSION: 20171005
593e22fef7dSSimon J. Gerraty
594e22fef7dSSimon J. Gerraty	* unit-tests/dotwait.mk: redirect stderr through pipe for more
595e22fef7dSSimon J. Gerraty	  consistent result on some platforms.
596e22fef7dSSimon J. Gerraty
597e22fef7dSSimon J. Gerraty2017-08-13  Simon J. Gerraty  <sjg@bad.crufty.net>
598e22fef7dSSimon J. Gerraty
599e22fef7dSSimon J. Gerraty	* machine.sh: entry for AIX
600e22fef7dSSimon J. Gerraty
601e22fef7dSSimon J. Gerraty2017-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
602e22fef7dSSimon J. Gerraty
603e22fef7dSSimon J. Gerraty	* VERSION (_MAKE_VERSION): Move the setting of _MAKE_VERSION
604e22fef7dSSimon J. Gerraty	  to a file that can be included by configure as well as make.
605e22fef7dSSimon J. Gerraty	  This allows configure to set set _MAKE_VERSION in make-bootstrap.sh
606e22fef7dSSimon J. Gerraty
607e22fef7dSSimon J. Gerraty2017-08-10  Simon J. Gerraty  <sjg@bad.crufty.net>
608e22fef7dSSimon J. Gerraty
609e22fef7dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170810
610e22fef7dSSimon J. Gerraty	  Merge with NetBSD make, pick up
611e22fef7dSSimon J. Gerraty	  o meta.c: if target is in subdir we only need subdir name in
612e22fef7dSSimon J. Gerraty	    meta_name.
613e22fef7dSSimon J. Gerraty
614c7019bf7SSimon J. Gerraty2017-07-20  Simon J. Gerraty  <sjg@bad.crufty.net>
615c7019bf7SSimon J. Gerraty
616c7019bf7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170720
617c7019bf7SSimon J. Gerraty	  Merge with NetBSD make, pick up
618c7019bf7SSimon J. Gerraty	  o compat.c: pass SIGINT etc onto child and wait for it to exit
619c7019bf7SSimon J. Gerraty	    before we self-terminate.
620c7019bf7SSimon J. Gerraty
6218695518cSSimon J. Gerraty2017-07-11  Simon J. Gerraty  <sjg@bad.crufty.net>
6228695518cSSimon J. Gerraty
6238695518cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170711
6248695518cSSimon J. Gerraty	  forgot to update after merge on 20170708 ;-)
6258695518cSSimon J. Gerraty	  o main.c: refactor to reduce size of main function.
6268695518cSSimon J. Gerraty	    add -v option to always fully expand values.
6278695518cSSimon J. Gerraty	  o meta.c: ensure command output in meta file has ending newline
6288695518cSSimon J. Gerraty	    even when filemon not being used.
6298695518cSSimon J. Gerraty	    When matching ${.MAKE.META.IGNORE_PATTERNS} do not use
6308695518cSSimon J. Gerraty	    pathname via ':L' since any ':' in pathname breaks that.
6318695518cSSimon J. Gerraty	    Instead set a '${.p.}' to pathname in the target context and
6328695518cSSimon J. Gerraty	    use that.
6338695518cSSimon J. Gerraty
634cac6fd11SSimon J. Gerraty2017-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
635cac6fd11SSimon J. Gerraty
636cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170510
637cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
638cac6fd11SSimon J. Gerraty	  o main.c: Main_SetObjdir: ensure buf2 is in scope
639cac6fd11SSimon J. Gerraty
640cac6fd11SSimon J. Gerraty2017-05-08  Simon J. Gerraty  <sjg@bad.crufty.net>
641cac6fd11SSimon J. Gerraty
642cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170505
643cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
644cac6fd11SSimon J. Gerraty
645cac6fd11SSimon J. Gerraty2017-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
646cac6fd11SSimon J. Gerraty
647cac6fd11SSimon J. Gerraty	* parse.c: not everyone has stdint.h
648cac6fd11SSimon J. Gerraty
649cac6fd11SSimon J. Gerraty2017-05-01  Simon J. Gerraty  <sjg@bad.crufty.net>
650cac6fd11SSimon J. Gerraty
651cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170501
652cac6fd11SSimon J. Gerraty	  see mk/ChangeLog
653cac6fd11SSimon J. Gerraty
654cac6fd11SSimon J. Gerraty2017-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
655cac6fd11SSimon J. Gerraty
656cac6fd11SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170421
657cac6fd11SSimon J. Gerraty	  Merge with NetBSD make, pick up
658cac6fd11SSimon J. Gerraty	  o str.c: Str_Match: fix closure tests for [^] and add unit-test.
659cac6fd11SSimon J. Gerraty
660e1cee40dSSimon J. Gerraty2017-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
661e1cee40dSSimon J. Gerraty
662e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170420
663e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
664e1cee40dSSimon J. Gerraty	  o main.c: only use -C arg "as is" if it contains no
665e1cee40dSSimon J. Gerraty	    relative component.
666e1cee40dSSimon J. Gerraty
667e1cee40dSSimon J. Gerraty2017-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
668e1cee40dSSimon J. Gerraty
669e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170418
670e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
671e1cee40dSSimon J. Gerraty	  o main.c: fix Main_SetObjdir() for relative paths (eg obj).
672e1cee40dSSimon J. Gerraty
673e1cee40dSSimon J. Gerraty2017-04-17  Simon J. Gerraty  <sjg@bad.crufty.net>
674e1cee40dSSimon J. Gerraty
675e1cee40dSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170417
676e1cee40dSSimon J. Gerraty	  Merge with NetBSD make, pick up
677e1cee40dSSimon J. Gerraty	  o fixes a number of coverity complaints
678e1cee40dSSimon J. Gerraty	    - check return value of fseek, fcntl
679e1cee40dSSimon J. Gerraty	    - plug memory leak in Dir_FindFile, Var_LoopExpand,
680e1cee40dSSimon J. Gerraty	      JobPrintCommand, ParseTraditionalInclude
681e1cee40dSSimon J. Gerraty	    - use bmake_malloc() where NULL is not tollerated
682e1cee40dSSimon J. Gerraty	    - use MAKE_ATTR_UNUSED rather that kludges like
683e1cee40dSSimon J. Gerraty	      return(unused ? 0 : 0)
684e1cee40dSSimon J. Gerraty	    - use purge_cached_realpaths() rather than abuse cached_realpath()
685e1cee40dSSimon J. Gerraty
686b46b9039SSimon J. Gerraty2017-04-13  Simon J. Gerraty  <sjg@bad.crufty.net>
687b46b9039SSimon J. Gerraty
688b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170413
689b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
690b46b9039SSimon J. Gerraty	  o main.c: when setting .OBJDIR ignore '$' in paths.
691b46b9039SSimon J. Gerraty
692b46b9039SSimon J. Gerraty	* job.c: use MALLOC_OPTIONS to set malloc_options.
693b46b9039SSimon J. Gerraty
694b46b9039SSimon J. Gerraty2017-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
695b46b9039SSimon J. Gerraty
696b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170411
697b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
698b46b9039SSimon J. Gerraty	  o str.c: Str_Match: allow [^a-z] to behave as expected.
699b46b9039SSimon J. Gerraty
700b46b9039SSimon J. Gerraty2017-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
701b46b9039SSimon J. Gerraty
702b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170326
703b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
704b46b9039SSimon J. Gerraty	  o main.c: purge relative paths from realpath cache when .OBJDIR
705b46b9039SSimon J. Gerraty	    is changed.
706b46b9039SSimon J. Gerraty
707b46b9039SSimon J. Gerraty2017-03-11  Simon J. Gerraty  <sjg@bad.crufty.net>
708b46b9039SSimon J. Gerraty
709b46b9039SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170311
710b46b9039SSimon J. Gerraty	  Merge with NetBSD make, pick up
711b46b9039SSimon J. Gerraty          o main.c: only use -C arg "as is" if it starts with '/'.
712b46b9039SSimon J. Gerraty
7131ce939a7SSimon J. Gerraty2017-03-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7141ce939a7SSimon J. Gerraty
7151ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170301
7161ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
717b46b9039SSimon J. Gerraty	  o main.c: use -C arg "as is" rather than getcwd()
7181ce939a7SSimon J. Gerraty	    if they identify the same directory.
7191ce939a7SSimon J. Gerraty	  o parse.c: ensure loadfile buffer is \n terminated in non-mmap case
7201ce939a7SSimon J. Gerraty
7211ce939a7SSimon J. Gerraty2017-02-01  Simon J. Gerraty  <sjg@bad.crufty.net>
7221ce939a7SSimon J. Gerraty
7231ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170201
7241ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
7251ce939a7SSimon J. Gerraty	  o var.c: allow :_=var and avoid use of special context.
7261ce939a7SSimon J. Gerraty
7271ce939a7SSimon J. Gerraty2017-01-30  Simon J. Gerraty  <sjg@bad.crufty.net>
7281ce939a7SSimon J. Gerraty
7291ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170130
7301ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
7311ce939a7SSimon J. Gerraty	  o var.c: add :range and :_
7321ce939a7SSimon J. Gerraty	  o main.c: partially initialize Dir_* before MainParseArgs()
7331ce939a7SSimon J. Gerraty	    can be called.
7341ce939a7SSimon J. Gerraty	    If -V, skip Main_ExportMAKEFLAGS()
7351ce939a7SSimon J. Gerraty
7361ce939a7SSimon J. Gerraty2017-01-14  Simon J. Gerraty  <sjg@bad.crufty.net>
7371ce939a7SSimon J. Gerraty
7381ce939a7SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20170114
7391ce939a7SSimon J. Gerraty	  Merge with NetBSD make, pick up
7401ce939a7SSimon J. Gerraty	  o var.c: allow specifying the utc value used by :{gm,local}time
7411ce939a7SSimon J. Gerraty
74245447996SSimon J. Gerraty2016-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
74345447996SSimon J. Gerraty
74445447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161212
74545447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
74645447996SSimon J. Gerraty          o main.c: look for obj.${MACHINE}-${MACHINE_ARCH} too.
74745447996SSimon J. Gerraty
74845447996SSimon J. Gerraty2016-12-09  Simon J. Gerraty  <sjg@bad.crufty.net>
74945447996SSimon J. Gerraty
75045447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161209
75145447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
75245447996SSimon J. Gerraty	  o main.c: cleanup setting of .OBJDIR
75345447996SSimon J. Gerraty	  o parse.c: avoid coredump from (var)=val
75445447996SSimon J. Gerraty
75545447996SSimon J. Gerraty2016-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
75645447996SSimon J. Gerraty
75745447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20161126
75845447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
75945447996SSimon J. Gerraty	  o make.c: Make_OODate: report src node name if path not set
76045447996SSimon J. Gerraty
76145447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
76245447996SSimon J. Gerraty
76345447996SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160926
76445447996SSimon J. Gerraty	  Merge with NetBSD make, pick up
76545447996SSimon J. Gerraty	  o support for .DELETE_ON_ERROR: (remove targets that fail)
76645447996SSimon J. Gerraty
76745447996SSimon J. Gerraty2016-09-26  Simon J. Gerraty  <sjg@bad.crufty.net>
76845447996SSimon J. Gerraty
76945447996SSimon J. Gerraty	* Makefile MAN: tweak .Dt to match ${PROG}
77045447996SSimon J. Gerraty
77195e3ed2cSSimon J. Gerraty2016-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
77295e3ed2cSSimon J. Gerraty
77395e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160818
77495e3ed2cSSimon J. Gerraty	  its a neater number; pick up whitespace fixes to man page.
77595e3ed2cSSimon J. Gerraty
77695e3ed2cSSimon J. Gerraty2016-08-17  Simon J. Gerraty  <sjg@bad.crufty.net>
77795e3ed2cSSimon J. Gerraty
77895e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160817
77995e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
78095e3ed2cSSimon J. Gerraty	  o meta.c: move handling of .MAKE.META.IGNORE_* to meta_ignore()
78195e3ed2cSSimon J. Gerraty	    so we can call it before adding entries to missingFiles.
78295e3ed2cSSimon J. Gerraty	    Thus we do not track files we have been told to ignore.
78395e3ed2cSSimon J. Gerraty
78495e3ed2cSSimon J. Gerraty2016-08-15  Simon J. Gerraty  <sjg@bad.crufty.net>
78595e3ed2cSSimon J. Gerraty
78695e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160815
78795e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
78895e3ed2cSSimon J. Gerraty	  o meta_oodate: apply .MAKE.META.IGNORE_FILTER (if defined) to
78995e3ed2cSSimon J. Gerraty	    pathnames, and skip if the expansion is empty.
79095e3ed2cSSimon J. Gerraty	    Useful for dirdeps.mk when checking DIRDEPS_CACHE.
79195e3ed2cSSimon J. Gerraty
79295e3ed2cSSimon J. Gerraty2016-08-12  Simon J. Gerraty  <sjg@bad.crufty.net>
79395e3ed2cSSimon J. Gerraty
79495e3ed2cSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160812
79595e3ed2cSSimon J. Gerraty	  Merge with NetBSD make, pick up
79695e3ed2cSSimon J. Gerraty	  o meta.c: remove all missingFiles entries that match a deleted
79795e3ed2cSSimon J. Gerraty	    dir.
79895e3ed2cSSimon J. Gerraty	  o main.c: set .ERROR_CMD if possible.
79995e3ed2cSSimon J. Gerraty
80039ac7ef4SSimon J. Gerraty2016-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
80139ac7ef4SSimon J. Gerraty
80239ac7ef4SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160606
80339ac7ef4SSimon J. Gerraty	  Merge with NetBSD make, pick up
80439ac7ef4SSimon J. Gerraty	  o dir.c: extend mtimes cache to others via cached_stat()
80539ac7ef4SSimon J. Gerraty
806b778b302SSimon J. Gerraty2016-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
807b778b302SSimon J. Gerraty
808b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160604
809b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
810b778b302SSimon J. Gerraty	  o meta.c: missing filemon data is only relevant if we read a
811b778b302SSimon J. Gerraty	    meta file.
812b778b302SSimon J. Gerraty	    Also do not return oodate for a missing metafile if gn->path
813b778b302SSimon J. Gerraty	    points to .CURDIR
814b778b302SSimon J. Gerraty
815b778b302SSimon J. Gerraty2016-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
816b778b302SSimon J. Gerraty
817b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160602
818b778b302SSimon J. Gerraty	  Merge with NetBSD make, pick up
819b778b302SSimon J. Gerraty	  o cached_realpath(): avoid hitting filesystem more than necessary.
820b778b302SSimon J. Gerraty	  o meta.c: refactor need_meta decision, add knobs for
821b778b302SSimon J. Gerraty	    missing meta file and filemon data wrt out-of-datedness.
822b778b302SSimon J. Gerraty
823b778b302SSimon J. Gerraty2016-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
824b778b302SSimon J. Gerraty
825b778b302SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160528
826b778b302SSimon J. Gerraty
827b778b302SSimon J. Gerraty	* boot-strap, make-bootstrap.sh.in: Makefile now uses _MAKE_VERSION
828b778b302SSimon J. Gerraty
829e48f47ddSSimon J. Gerraty2016-05-12  Simon J. Gerraty  <sjg@bad.crufty.net>
830e48f47ddSSimon J. Gerraty
831e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160512
832e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
833e48f47ddSSimon J. Gerraty	  o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS
834e48f47ddSSimon J. Gerraty	    this is useful for gcov builds.
835e48f47ddSSimon J. Gerraty	  o propagate errors from filemon(4).
836e48f47ddSSimon J. Gerraty
837e48f47ddSSimon J. Gerraty2016-05-09  Simon J. Gerraty  <sjg@bad.crufty.net>
838e48f47ddSSimon J. Gerraty
839e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160509
840e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
841e48f47ddSSimon J. Gerraty	  o remove use of non-standard types u_int etc.
842e48f47ddSSimon J. Gerraty	  o meta.c: apply realpath() before matching against metaIgnorePaths
843e48f47ddSSimon J. Gerraty
844e48f47ddSSimon J. Gerraty2016-04-04  Simon J. Gerraty  <sjg@bad.crufty.net>
845e48f47ddSSimon J. Gerraty
846e48f47ddSSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160404
847e48f47ddSSimon J. Gerraty	  Merge with NetBSD make, pick up
848e48f47ddSSimon J. Gerraty	  o allow makefile to set .MAKE.JOBS
849e48f47ddSSimon J. Gerraty
850e48f47ddSSimon J. Gerraty	* Makefile (PROG_NAME): use ${_MAKE_VERSION}
851e48f47ddSSimon J. Gerraty
8523bebe729SSimon J. Gerraty2016-03-15  Simon J. Gerraty  <sjg@bad.crufty.net>
8533bebe729SSimon J. Gerraty
8543bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): 20160315
8553bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
8563bebe729SSimon J. Gerraty	  o fix handling of archive members
8573bebe729SSimon J. Gerraty
8583bebe729SSimon J. Gerraty2016-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
8593bebe729SSimon J. Gerraty
8603bebe729SSimon J. Gerraty	* Makefile (_MAKE_VERSION): rename variable to avoid interference
8613bebe729SSimon J. Gerraty	  with checks for ${MAKE_VERSION}
8623bebe729SSimon J. Gerraty
8633bebe729SSimon J. Gerraty2016-03-10  Simon J. Gerraty  <sjg@bad.crufty.net>
8643bebe729SSimon J. Gerraty
8653bebe729SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160310
8663bebe729SSimon J. Gerraty	  Merge with NetBSD make, pick up
8673bebe729SSimon J. Gerraty	  o meta.c: treat missing Read file same as Write, incase we Delete it.
8683bebe729SSimon J. Gerraty
869be19d90bSSimon J. Gerraty2016-03-07  Simon J. Gerraty  <sjg@bad.crufty.net>
870be19d90bSSimon J. Gerraty
871be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160307
872be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
873be19d90bSSimon J. Gerraty	  o var.c: fix :ts\nnn to be octal by default.
874be19d90bSSimon J. Gerraty	  o meta.c: meta_finish() to cleanup memory.
875be19d90bSSimon J. Gerraty
876be19d90bSSimon J. Gerraty2016-02-26  Simon J. Gerraty  <sjg@bad.crufty.net>
877be19d90bSSimon J. Gerraty
878be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160226
879be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
880be19d90bSSimon J. Gerraty	  o meta.c: allow meta file for makeDepend if makefiles want it.
881be19d90bSSimon J. Gerraty
882be19d90bSSimon J. Gerraty2016-02-19  Simon J. Gerraty  <sjg@bad.crufty.net>
883be19d90bSSimon J. Gerraty
884be19d90bSSimon J. Gerraty	* var.c: default .MAKE.SAVE_DOLLARS to FALSE
885be19d90bSSimon J. Gerraty	  for backwards compatability.
886be19d90bSSimon J. Gerraty
887be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160220
888be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
889be19d90bSSimon J. Gerraty	  o var.c: add knob to control handling of '$$' in :=
890be19d90bSSimon J. Gerraty
891be19d90bSSimon J. Gerraty2016-02-18  Simon J. Gerraty  <sjg@bad.crufty.net>
892be19d90bSSimon J. Gerraty
893be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160218
894be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
895be19d90bSSimon J. Gerraty	  o var.c: add .export-literal allows us to fix sys.clean-env.mk
896be19d90bSSimon J. Gerraty	    post the changes to Var_Subst.
897be19d90bSSimon J. Gerraty	    Var_Subst now takes flags, and does not consume '$$' in :=
898be19d90bSSimon J. Gerraty
899be19d90bSSimon J. Gerraty2016-02-17  Simon J. Gerraty  <sjg@bad.crufty.net>
900be19d90bSSimon J. Gerraty
901be19d90bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20160217
902be19d90bSSimon J. Gerraty	  Merge with NetBSD make, pick up
903be19d90bSSimon J. Gerraty	  o var.c: preserve '$$' in :=
904be19d90bSSimon J. Gerraty	  o parse.c: add .dinclude for handling included
905be19d90bSSimon J. Gerraty	    makefile like .depend
906be19d90bSSimon J. Gerraty
9076e050540SSimon J. Gerraty2015-12-20  Simon J. Gerraty  <sjg@bad.crufty.net>
9086e050540SSimon J. Gerraty
9096e050540SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151220
9106e050540SSimon J. Gerraty	  Merge with NetBSD make, pick up
9116e050540SSimon J. Gerraty	  o suff.c: re-initialize suffNull when clearing suffixes.
9126e050540SSimon J. Gerraty
913ac3446e9SSimon J. Gerraty2015-12-01  Simon J. Gerraty  <sjg@bad.crufty.net>
914ac3446e9SSimon J. Gerraty
915ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151201
916ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
917ac3446e9SSimon J. Gerraty	  o cond.c: CondCvtArg: avoid access beyond end of empty buffer.
918ac3446e9SSimon J. Gerraty	  o meta.c: meta_oodate: use lstat(2) for checking link target
919ac3446e9SSimon J. Gerraty	    in case it is a symlink.
920ac3446e9SSimon J. Gerraty	  o var.c: avoid calling brk_string and Var_Export1 with empty
921ac3446e9SSimon J. Gerraty	    strings.
922ac3446e9SSimon J. Gerraty
923ac3446e9SSimon J. Gerraty2015-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
924ac3446e9SSimon J. Gerraty
925ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151126
926ac3446e9SSimon J. Gerraty	  Merge with NetBSD make, pick up
927ac3446e9SSimon J. Gerraty	  o parse.c: ParseTrackInput don't access beyond
928ac3446e9SSimon J. Gerraty	    end of old value.
929ac3446e9SSimon J. Gerraty
930ac3446e9SSimon J. Gerraty2015-10-22  Simon J. Gerraty  <sjg@bad.crufty.net>
931ac3446e9SSimon J. Gerraty
932ac3446e9SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151022
933ac3446e9SSimon J. Gerraty
934ac3446e9SSimon J. Gerraty	* Add support for BSD/OS which lacks inttypes.h
935ac3446e9SSimon J. Gerraty	  and really needs sys/param.h for sys/sysctl.h
936ac3446e9SSimon J. Gerraty	  also 'type' is not a shell builtin.
937ac3446e9SSimon J. Gerraty
938ac3446e9SSimon J. Gerraty	* var.c: eliminate uint32_t and need for inttypes.h
939ac3446e9SSimon J. Gerraty
940ac3446e9SSimon J. Gerraty	* main.c: PrintOnError flush stdout before run .ERROR
941ac3446e9SSimon J. Gerraty
942ac3446e9SSimon J. Gerraty	* parse.c: cope with _SC_PAGESIZE not being defined.
943ac3446e9SSimon J. Gerraty
944ac3446e9SSimon J. Gerraty
9454c620fe5SSimon J. Gerraty2015-10-20  Simon J. Gerraty  <sjg@bad.crufty.net>
9464c620fe5SSimon J. Gerraty
9474c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151020
9484c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
9494c620fe5SSimon J. Gerraty	  o var.c: fix uninitialized var
9504c620fe5SSimon J. Gerraty
9514c620fe5SSimon J. Gerraty2015-10-12  Simon J. Gerraty  <sjg@bad.crufty.net>
9524c620fe5SSimon J. Gerraty
9534c620fe5SSimon J. Gerraty	* var.c: the conditional expressions used with ':?' can be
9544c620fe5SSimon J. Gerraty	expensive, if already discarding do not evaluate or expand
9554c620fe5SSimon J. Gerraty	anything.
9564c620fe5SSimon J. Gerraty
9574c620fe5SSimon J. Gerraty2015-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
9584c620fe5SSimon J. Gerraty
9594c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151010
9604c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
9614c620fe5SSimon J. Gerraty	  o Add Boolean wantit flag to Var_Subst and Var_Parse
9624c620fe5SSimon J. Gerraty	    when FALSE we know we are discarding the result and can
9634c620fe5SSimon J. Gerraty	    skip operations like Cmd_Exec.
9644c620fe5SSimon J. Gerraty
9654c620fe5SSimon J. Gerraty2015-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
9664c620fe5SSimon J. Gerraty
9674c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20151009
9684c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
9694c620fe5SSimon J. Gerraty	  o var.c: don't check for NULL before free()
9704c620fe5SSimon J. Gerraty	  o meta.c: meta_oodate, do not hard code ignore of makeDependfile
9714c620fe5SSimon J. Gerraty
9724c620fe5SSimon J. Gerraty2015-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
9734c620fe5SSimon J. Gerraty
9744c620fe5SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150910
9754c620fe5SSimon J. Gerraty	  Merge with NetBSD make, pick up
9764c620fe5SSimon J. Gerraty	  o main.c: with -w print Enter/Leaving messages for objdir too
9774c620fe5SSimon J. Gerraty	    if necessary.
9784c620fe5SSimon J. Gerraty	  o centralize shell metachar handling
9794c620fe5SSimon J. Gerraty
9804c620fe5SSimon J. Gerraty	* FILES: add metachar.[ch]
9814c620fe5SSimon J. Gerraty
982128a4105SSimon J. Gerraty2015-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
983128a4105SSimon J. Gerraty
984128a4105SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150606
985128a4105SSimon J. Gerraty	  Merge with NetBSD make, pick up
986128a4105SSimon J. Gerraty	  o make.1: document .OBJDIR target
987128a4105SSimon J. Gerraty
98828a6bc81SSimon J. Gerraty2015-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
98928a6bc81SSimon J. Gerraty
99028a6bc81SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150505
99128a6bc81SSimon J. Gerraty	  Merge with NetBSD make, pick up
99228a6bc81SSimon J. Gerraty	  o cond.c: be strict about lhs of comparison when evaluating .if
99328a6bc81SSimon J. Gerraty	    but less so when called from variable expansion.
99428a6bc81SSimon J. Gerraty	  o unit-tests/cond2.mk: test various error conditions
99528a6bc81SSimon J. Gerraty
99628a6bc81SSimon J. Gerraty2015-05-04  Simon J. Gerraty  <sjg@bad.crufty.net>
99728a6bc81SSimon J. Gerraty
99828a6bc81SSimon J. Gerraty	* machine.sh (MACHINE): Add Bitrig
99928a6bc81SSimon J. Gerraty	  patch from joerg@netbsd.org
100028a6bc81SSimon J. Gerraty
1001db29cad8SSimon J. Gerraty2015-04-18  Simon J. Gerraty  <sjg@bad.crufty.net>
1002db29cad8SSimon J. Gerraty
1003db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150418
1004db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
1005db29cad8SSimon J. Gerraty	  o job.c: use memmove() rather than memcpy()
1006db29cad8SSimon J. Gerraty
1007db29cad8SSimon J. Gerraty	* unit-tests/varshell.mk: SunOS cannot handle the TERMINATED_BY_SIGNAL
1008db29cad8SSimon J. Gerraty	  case, so skip it.
1009db29cad8SSimon J. Gerraty
1010db29cad8SSimon J. Gerraty2015-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1011db29cad8SSimon J. Gerraty
1012db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150411
1013db29cad8SSimon J. Gerraty	  bump version - only mk/ changes.
1014db29cad8SSimon J. Gerraty
1015db29cad8SSimon J. Gerraty2015-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
1016db29cad8SSimon J. Gerraty
1017db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150410
1018db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
1019db29cad8SSimon J. Gerraty	  o document different handling of '-' in jobs mode vs compat
1020db29cad8SSimon J. Gerraty	  o fix jobs mode so that '-' only applies to whole job
1021db29cad8SSimon J. Gerraty	    when shell lacks hasErrCtl
1022db29cad8SSimon J. Gerraty	  o meta.c: use separate vars to track lcwd and latestdir (read)
1023db29cad8SSimon J. Gerraty	    per process
1024db29cad8SSimon J. Gerraty
1025db29cad8SSimon J. Gerraty2015-04-01  Simon J. Gerraty  <sjg@bad.crufty.net>
1026db29cad8SSimon J. Gerraty
1027db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20150401
1028db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
1029db29cad8SSimon J. Gerraty	  o meta.c: close meta file in child
1030db29cad8SSimon J. Gerraty
1031db29cad8SSimon J. Gerraty	* Makefile: use BINDIR.bmake if set.
1032db29cad8SSimon J. Gerraty	  Same for MANDIR and SHAREDIR
1033db29cad8SSimon J. Gerraty	  Handy for testing release candidates
1034db29cad8SSimon J. Gerraty	  in various environments.
1035db29cad8SSimon J. Gerraty
1036db29cad8SSimon J. Gerraty2015-03-26  Simon J. Gerraty  <sjg@bad.crufty.net>
1037db29cad8SSimon J. Gerraty
1038db29cad8SSimon J. Gerraty	* move initialization of savederr to block where it is used
1039db29cad8SSimon J. Gerraty	  to avoid spurious warning from gcc5
1040db29cad8SSimon J. Gerraty
1041db29cad8SSimon J. Gerraty2014-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
1042db29cad8SSimon J. Gerraty
1043db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141111
1044db29cad8SSimon J. Gerraty	  just a cooler number
1045db29cad8SSimon J. Gerraty
1046db29cad8SSimon J. Gerraty2014-11-05  Simon J. Gerraty  <sjg@bad.crufty.net>
1047db29cad8SSimon J. Gerraty
1048db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20141105
1049db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
1050db29cad8SSimon J. Gerraty	  o revert major overhaul of suffix handling
1051db29cad8SSimon J. Gerraty	    and POSIX compliance - too much breakage
1052db29cad8SSimon J. Gerraty	    and impossible to make backwards compatible.
1053db29cad8SSimon J. Gerraty	  o we still have the new unit test structure which is ok.
1054db29cad8SSimon J. Gerraty	  o meta.c ensure "-- filemon" is at start of line.
1055db29cad8SSimon J. Gerraty
1056db29cad8SSimon J. Gerraty2014-09-17  Simon J. Gerraty  <sjg@bad.crufty.net>
1057db29cad8SSimon J. Gerraty
1058db29cad8SSimon J. Gerraty	* configure.in: test that result of getconf PATH_MAX is numeric
1059db29cad8SSimon J. Gerraty	  and discard if not.  Apparently needed for Hurd.
1060db29cad8SSimon J. Gerraty
1061db29cad8SSimon J. Gerraty2014-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
1062db29cad8SSimon J. Gerraty
1063db29cad8SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140830
1064db29cad8SSimon J. Gerraty	  Merge with NetBSD make, pick up
1065db29cad8SSimon J. Gerraty	  o major overhaul of suffix handling
1066db29cad8SSimon J. Gerraty	  o improved POSIX compliance
1067db29cad8SSimon J. Gerraty	  o overhauled unit-tests
1068db29cad8SSimon J. Gerraty
10695bcb7424SSimon J. Gerraty2014-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
10705bcb7424SSimon J. Gerraty
10715bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140620
10725bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
1073db29cad8SSimon J. Gerraty	  o var.c return varNoError rather than var_Error for ::= modifiers.
10745bcb7424SSimon J. Gerraty
10755bcb7424SSimon J. Gerraty2014-05-22  Simon J. Gerraty  <sjg@bad.crufty.net>
10765bcb7424SSimon J. Gerraty
10775bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140522
10785bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
10795bcb7424SSimon J. Gerraty	  o var.c detect some parse errors.
10805bcb7424SSimon J. Gerraty
10815bcb7424SSimon J. Gerraty2014-04-05  Simon J. Gerraty  <sjg@bad.crufty.net>
10825bcb7424SSimon J. Gerraty
10835bcb7424SSimon J. Gerraty	* Fix spelling errors - patch from Pedro Giffuni
10845bcb7424SSimon J. Gerraty
10855bcb7424SSimon J. Gerraty2014-02-14  Simon J. Gerraty  <sjg@bad.crufty.net>
10865bcb7424SSimon J. Gerraty
10875bcb7424SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140214
10885bcb7424SSimon J. Gerraty	  Merge with NetBSD make, pick up
10895bcb7424SSimon J. Gerraty	  o .INCLUDEFROM*
10905bcb7424SSimon J. Gerraty	  o use Var_Value to get MAKEOBJDIR[PREFIX]
10915bcb7424SSimon J. Gerraty	  o reduced realloc'ign in brk_string.
10925bcb7424SSimon J. Gerraty	* configure.in: add a check for compiler supporting __func__
10935bcb7424SSimon J. Gerraty
10940dede8b0SSimon J. Gerraty2014-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
10950dede8b0SSimon J. Gerraty
10960dede8b0SSimon J. Gerraty	* boot-strap: ignore mksrc=none
10970dede8b0SSimon J. Gerraty
10980dede8b0SSimon J. Gerraty2014-01-02  Simon J. Gerraty  <sjg@bad.crufty.net>
10990dede8b0SSimon J. Gerraty
11000dede8b0SSimon J. Gerraty	* Makefile (DEFAULT_SYS_PATH?): use just ${prefix}/share/mk
11010dede8b0SSimon J. Gerraty
11020dede8b0SSimon J. Gerraty2014-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
11030dede8b0SSimon J. Gerraty
11040dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20140101
11050dede8b0SSimon J. Gerraty	* configure.in: set bmake_path_max to min(_SC_PATH_MAX,1024)
11060dede8b0SSimon J. Gerraty	* Makefile.config: defined BMAKE_PATH_MAX to bmake_path_max
11070dede8b0SSimon J. Gerraty	* make.h: use BMAKE_PATH_MAX if MAXPATHLEN not defined (needed for
11080dede8b0SSimon J. Gerraty	  Hurd)
11090dede8b0SSimon J. Gerraty	* configure.in: Add AC_PREREQ and check for
11100dede8b0SSimon J. Gerraty	  sysctl; patch from Andrew Shadura andrewsh at debian.org
11110dede8b0SSimon J. Gerraty
11120dede8b0SSimon J. Gerraty2013-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
11130dede8b0SSimon J. Gerraty
11140dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131010
11150dede8b0SSimon J. Gerraty	* lose the const from arg to systcl to avoid problems on older BSDs.
11160dede8b0SSimon J. Gerraty
11170dede8b0SSimon J. Gerraty2013-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
11180dede8b0SSimon J. Gerraty
11190dede8b0SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20131001
11200dede8b0SSimon J. Gerraty	  Merge with NetBSD make, pick up
11210dede8b0SSimon J. Gerraty	  o main.c: for NATIVE build sysctl to get MACHINE_ARCH from
11220dede8b0SSimon J. Gerraty	    hw.machine_arch if necessary.
11230dede8b0SSimon J. Gerraty	  o meta.c: meta_oodate - need to look at src of Link and target
11240dede8b0SSimon J. Gerraty	    of Move as well.
11250dede8b0SSimon J. Gerraty	* main.c: check that CTL_HW and HW_MACHINE_ARCH exist.
11260dede8b0SSimon J. Gerraty	  provide __arraycount() if needed.
11270dede8b0SSimon J. Gerraty
11281bbe5942SSimon J. Gerraty2013-09-04  Simon J. Gerraty  <sjg@bad.crufty.net>
11291bbe5942SSimon J. Gerraty
11301bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130904
11311bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
11321bbe5942SSimon J. Gerraty	  o Add VAR_INTERNAL context, so that internal setting of
11331bbe5942SSimon J. Gerraty	    MAKEFILE does not override value set by makefiles.
11341bbe5942SSimon J. Gerraty
11351bbe5942SSimon J. Gerraty2013-09-02  Simon J. Gerraty  <sjg@bad.crufty.net>
11361bbe5942SSimon J. Gerraty
11371bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130902
11381bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
11391bbe5942SSimon J. Gerraty	  o CompatRunCommand: only apply shellErrFlag when errCheck is true
11401bbe5942SSimon J. Gerraty
11411bbe5942SSimon J. Gerraty2013-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
11421bbe5942SSimon J. Gerraty
11431bbe5942SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130828
11441bbe5942SSimon J. Gerraty	  Merge with NetBSD make, pick up
11451bbe5942SSimon J. Gerraty	  o Fix VAR :sh = syntax from Will Andrews at freebsd.org
11461bbe5942SSimon J. Gerraty	  o Call Job_SetPrefix() from Job_Init() so makefiles have
11471bbe5942SSimon J. Gerraty	    opportunity to set .MAKE.JOB.PREFIX
11481bbe5942SSimon J. Gerraty
114951ee2c1cSSimon J. Gerraty2013-07-30  Simon J. Gerraty  <sjg@bad.crufty.net>
115051ee2c1cSSimon J. Gerraty
115151ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130730
115251ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
115351ee2c1cSSimon J. Gerraty	  o Allow suppression of --- job -- tokens by setting
115451ee2c1cSSimon J. Gerraty	    .MAKE.JOB.PREFIX empty.
115551ee2c1cSSimon J. Gerraty
115651ee2c1cSSimon J. Gerraty2013-07-16  Simon J. Gerraty  <sjg@bad.crufty.net>
115751ee2c1cSSimon J. Gerraty
115851ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130716
115951ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
11605bcb7424SSimon J. Gerraty	  o number of gmake compatibility tweaks
116151ee2c1cSSimon J. Gerraty	    -w for gmake style entering/leaving messages
116251ee2c1cSSimon J. Gerraty	    if .MAKE.LEVEL > 0 indicate it in progname "make[1]" etc.
116351ee2c1cSSimon J. Gerraty	    handle MAKEFLAGS containing only letters.
116451ee2c1cSSimon J. Gerraty	  o when overriding a GLOBAL variable on the command line,
116551ee2c1cSSimon J. Gerraty	    delete it from GLOBAL context so -V doesn't show the wrong
116651ee2c1cSSimon J. Gerraty	    value.
116751ee2c1cSSimon J. Gerraty
116851ee2c1cSSimon J. Gerraty2013-07-06  Simon J. Gerraty  <sjg@bad.crufty.net>
116951ee2c1cSSimon J. Gerraty
117051ee2c1cSSimon J. Gerraty	* configure.in: We don't need MAKE_LEVEL_SAFE anymore.
117151ee2c1cSSimon J. Gerraty
117251ee2c1cSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130706
117351ee2c1cSSimon J. Gerraty	  Merge with NetBSD make, pick up
117451ee2c1cSSimon J. Gerraty	  o Shell_Init(): export shellErrFlag if commandShell hasErrCtl is
117551ee2c1cSSimon J. Gerraty	    true so that CompatRunCommand() can use it, to ensure
117651ee2c1cSSimon J. Gerraty	    consistent behavior with jobs mode.
117751ee2c1cSSimon J. Gerraty	  o use MAKE_LEVEL_ENV to define the variable to propagate
117851ee2c1cSSimon J. Gerraty	    .MAKE.LEVEL - currently set to MAKELEVEL (same as gmake).
117951ee2c1cSSimon J. Gerraty	  o meta.c: use .MAKE.META.IGNORE_PATHS to allow customization of
118051ee2c1cSSimon J. Gerraty	    paths to ignore.
118151ee2c1cSSimon J. Gerraty
118274d2e02bSSimon J. Gerraty2013-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
118374d2e02bSSimon J. Gerraty
118474d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130604
118574d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
118674d2e02bSSimon J. Gerraty	  o job.c: JobCreatePipe: do fcntl() after any tweaking of fd's
118774d2e02bSSimon J. Gerraty	    to avoid leaking descriptors.
118874d2e02bSSimon J. Gerraty
118974d2e02bSSimon J. Gerraty2013-05-28  Simon J. Gerraty  <sjg@bad.crufty.net>
119074d2e02bSSimon J. Gerraty
119174d2e02bSSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130528
119274d2e02bSSimon J. Gerraty	  Merge with NetBSD make, pick up
119374d2e02bSSimon J. Gerraty	  o var.c: cleanup some left-overs in VarHash()
119474d2e02bSSimon J. Gerraty
119552d86256SSimon J. Gerraty2013-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
119652d86256SSimon J. Gerraty
119752d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130520
119852d86256SSimon J. Gerraty	  generate manifest from component FILES rather than have to
119952d86256SSimon J. Gerraty	  update FILES when mk/FILES changes.
120052d86256SSimon J. Gerraty
120152d86256SSimon J. Gerraty2013-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
120252d86256SSimon J. Gerraty
120352d86256SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130518
120452d86256SSimon J. Gerraty	  Merge with NetBSD make, pick up
120552d86256SSimon J. Gerraty	  o suff.c: don't skip all processsing for .PHONY targets
120652d86256SSimon J. Gerraty	    else wildcard srcs do not get expanded.
120752d86256SSimon J. Gerraty	  o var.c: expand name of variable to delete if necessary.
120852d86256SSimon J. Gerraty
12091748de26SSimon J. Gerraty2013-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
12101748de26SSimon J. Gerraty
12111748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130330
12121748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
12131748de26SSimon J. Gerraty	  o meta.c: refine the handling of .OODATE in commands.
12141748de26SSimon J. Gerraty	    Rather than suppress command comparison for the entire script
12151748de26SSimon J. Gerraty	    as though .NOMETA_CMP had been used, only suppress it for the
12161748de26SSimon J. Gerraty	    one command line.
12171748de26SSimon J. Gerraty	    This allows something like ${.OODATE:M.NOMETA_CMP} to be used to
12181748de26SSimon J. Gerraty	    suppress comparison of a command without otherwise affecting it.
12191748de26SSimon J. Gerraty	  o make.1: document that
12201748de26SSimon J. Gerraty
12211748de26SSimon J. Gerraty2013-03-22  Simon J. Gerraty  <sjg@bad.crufty.net>
12221748de26SSimon J. Gerraty
12231748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130321
12241748de26SSimon J. Gerraty	  yes, not quite right but its a cooler number.
12251748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
12261748de26SSimon J. Gerraty	  o parse.c: fix ParseGmakeExport to be portable
12271748de26SSimon J. Gerraty	    and add a unit-test.
12281748de26SSimon J. Gerraty	* meta.c: call meta_init() before makefiles are read and if built
12291748de26SSimon J. Gerraty	  with filemon support set .MAKE.PATH_FILEMON to _PATH_FILEMON
12301748de26SSimon J. Gerraty	  this let's makefiles test for support.
12311748de26SSimon J. Gerraty	  Call meta_mode_init() to process .MAKE.MODE.
12321748de26SSimon J. Gerraty
12331748de26SSimon J. Gerraty2013-03-13  Simon J. Gerraty  <sjg@bad.crufty.net>
12341748de26SSimon J. Gerraty
12351748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130305
12361748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
12371748de26SSimon J. Gerraty	  o run .STALE: target when a dependency from .depend is missing.
12381748de26SSimon J. Gerraty	  o job.c: add Job_RunTarget() for the above and .BEGIN
12391748de26SSimon J. Gerraty
12401748de26SSimon J. Gerraty2013-03-03  Simon J. Gerraty  <sjg@bad.crufty.net>
12411748de26SSimon J. Gerraty
12421748de26SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130303
12431748de26SSimon J. Gerraty	  Merge with NetBSD make, pick up
12441748de26SSimon J. Gerraty	  o main.c: set .MAKE.OS to utsname.sysname
12451748de26SSimon J. Gerraty	  o job.c: more checks for read and poll errors
12461748de26SSimon J. Gerraty	  o var.c: lose VarChangeCase() saves 4% time
12471748de26SSimon J. Gerraty
12481748de26SSimon J. Gerraty2013-03-02  Simon J. Gerraty  <sjg@bad.crufty.net>
12491748de26SSimon J. Gerraty
12501748de26SSimon J. Gerraty	* boot-strap: remove MAKEOBJDIRPREFIX from environment since we
12511748de26SSimon J. Gerraty	  want to use MAKEOBJDIR
12521748de26SSimon J. Gerraty
12533cbdda60SSimon J. Gerraty2013-01-27  Simon J. Gerraty  <sjg@bad.crufty.net>
12543cbdda60SSimon J. Gerraty
12553cbdda60SSimon J. Gerraty	* Merge with NetBSD make, pick up
12563cbdda60SSimon J. Gerraty	  o make.1: more info on how shell commands are handled.
12573cbdda60SSimon J. Gerraty	  o job.c,main.c: detect write errors to job pipes.
12583cbdda60SSimon J. Gerraty
12593cbdda60SSimon J. Gerraty2013-01-25  Simon J. Gerraty  <sjg@bad.crufty.net>
12603cbdda60SSimon J. Gerraty
12613cbdda60SSimon J. Gerraty	* Makefile (MAKE_VERSION): 20130123
12623cbdda60SSimon J. Gerraty	  Merge with NetBSD make, pick up
12633cbdda60SSimon J. Gerraty	  o meta.c: if script uses .OODATE and meta_oodate() decides
12643cbdda60SSimon J. Gerraty	    rebuild is needed, .OODATE will be empty - set it to .ALLSRC.
12653cbdda60SSimon J. Gerraty	  o var.c: in debug output indicate which variabale modifiers
12663cbdda60SSimon J. Gerraty	    apply to.
12673cbdda60SSimon J. Gerraty	  o remove Check_Cwd logic the makefiles have been fixed.
12683cbdda60SSimon J. Gerraty
12693cbdda60SSimon J. Gerraty2012-12-12  Simon J. Gerraty  <sjg@bad.crufty.net>
12703cbdda60SSimon J. Gerraty
12713cbdda60SSimon J. Gerraty	* makefile.in: add a simple makefile for folk who insist on
12723cbdda60SSimon J. Gerraty	  ./configure; make; make install
12733cbdda60SSimon J. Gerraty	  it just runs boot-strap
12743cbdda60SSimon J. Gerraty	* include mk/* to accommodate the above
12753cbdda60SSimon J. Gerraty	* boot-strap:  re-work to accommodate the above
12763cbdda60SSimon J. Gerraty	  mksrc defaults to $Mydir/mk
12773cbdda60SSimon J. Gerraty	  allow op={configure,build,install,clean,all}
12783cbdda60SSimon J. Gerraty	  add options to facilitate install
12793cbdda60SSimon J. Gerraty	* Makefile.config.in: just the bits set by configure
12803cbdda60SSimon J. Gerraty	* Makefile: bump version to 20121212
12813cbdda60SSimon J. Gerraty	  abandon Makefile.in (NetBSD Makefile)
12823cbdda60SSimon J. Gerraty	  leverage mk/* instead
12833cbdda60SSimon J. Gerraty	* configure.in: ensure srcdir is absolute
12843cbdda60SSimon J. Gerraty
128559a02420SSimon J. Gerraty2012-11-11  Simon J. Gerraty  <sjg@bad.crufty.net>
128659a02420SSimon J. Gerraty
128759a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121111
128859a02420SSimon J. Gerraty	  fix generation of bmake.cat1
128959a02420SSimon J. Gerraty
129059a02420SSimon J. Gerraty2012-11-09  Simon J. Gerraty  <sjg@bad.crufty.net>
129159a02420SSimon J. Gerraty
129259a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121109
129359a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
129459a02420SSimon J. Gerraty	  o make.c: MakeBuildChild: return 0 so search continues if a
129559a02420SSimon J. Gerraty	    .ORDER dependency is detected.
129659a02420SSimon J. Gerraty	  o unit-tests/order: test the above
129759a02420SSimon J. Gerraty
129859a02420SSimon J. Gerraty2012-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
129959a02420SSimon J. Gerraty
130059a02420SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121102
130159a02420SSimon J. Gerraty	  Merge with NetBSD make, pick up
130259a02420SSimon J. Gerraty	  o cond.c: allow cond_state[] to grow.
130359a02420SSimon J. Gerraty	    In meta mode with a very large tree, we can hit the limit
130459a02420SSimon J. Gerraty	    while processing dirdeps.
130559a02420SSimon J. Gerraty
130659a02420SSimon J. Gerraty2012-10-25  Simon J. Gerraty  <sjg@bad.crufty.net>
130759a02420SSimon J. Gerraty
130859a02420SSimon J. Gerraty	* Makefile.in: we need to use ${srcdir} not ${.CURDIR}
130959a02420SSimon J. Gerraty
131093036677SSimon J. Gerraty2012-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
131193036677SSimon J. Gerraty
131293036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121010
131393036677SSimon J. Gerraty	  o protect syntax that only bmake parses correctly.
131493036677SSimon J. Gerraty	  o remove auto setting of FORCE_MACHINE, use configure's
131593036677SSimon J. Gerraty	    --with-force-machine=whatever if that is desired.
131693036677SSimon J. Gerraty
131793036677SSimon J. Gerraty2012-10-08  Simon J. Gerraty  <sjg@bad.crufty.net>
131893036677SSimon J. Gerraty
131993036677SSimon J. Gerraty	* Makefile.in: do not lose history from make.1 when generating bmake.1
132093036677SSimon J. Gerraty
132193036677SSimon J. Gerraty2012-10-07  Simon J. Gerraty  <sjg@bad.crufty.net>
132293036677SSimon J. Gerraty
132393036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): 20121007
132493036677SSimon J. Gerraty	  Merge with NetBSD make, pick up
132593036677SSimon J. Gerraty	  o compat.c: ignore empty commands - same as jobs mode.
132693036677SSimon J. Gerraty	  o make.1: document meta chars that cause use of shell
132793036677SSimon J. Gerraty
132893036677SSimon J. Gerraty2012-09-11  Simon J. Gerraty  <sjg@bad.crufty.net>
132993036677SSimon J. Gerraty
133093036677SSimon J. Gerraty	* Makefile.in (MAKE_VERSION): bump version to 20120911
133193036677SSimon J. Gerraty	* bsd.after-import.mk: include Makefile.inc early and allow it to
133293036677SSimon J. Gerraty	  override PROG
133393036677SSimon J. Gerraty
13343955d011SMarcel Moolenaar2012-08-31  Simon J. Gerraty  <sjg@bad.crufty.net>
13353955d011SMarcel Moolenaar
13363955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120831
13373955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13383955d011SMarcel Moolenaar	  o cast sizeof() to int for comparison
13393955d011SMarcel Moolenaar	  o minor make.1 tweak
13403955d011SMarcel Moolenaar
13413955d011SMarcel Moolenaar2012-08-30  Simon J. Gerraty  <sjg@bad.crufty.net>
13423955d011SMarcel Moolenaar
13433955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120830
13443955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13453955d011SMarcel Moolenaar	  o .MAKE.EXPAND_VARIABLES knob can control default behavior of -V
13463955d011SMarcel Moolenaar	  o debug flag -dV causes -V to show raw value regardless.
13473955d011SMarcel Moolenaar
13483955d011SMarcel Moolenaar2012-07-05  Simon J. Gerraty  <sjg@bad.crufty.net>
13493955d011SMarcel Moolenaar
13503955d011SMarcel Moolenaar	* bsd.after-import.mk (after-import): ensure unit-tests/Makefile
13513955d011SMarcel Moolenaar	  gets SRCTOP set.
13523955d011SMarcel Moolenaar
13533955d011SMarcel Moolenaar2012-07-04  Simon J. Gerraty  <sjg@bad.crufty.net>
13543955d011SMarcel Moolenaar
13553955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120704
13563955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13573955d011SMarcel Moolenaar	  o Job_ParseShell should call Shell_Init if it has been
13583955d011SMarcel Moolenaar	    previously called.
13593955d011SMarcel Moolenaar	* Makefile.in: set USE_META based on configure result.
13603955d011SMarcel Moolenaar	  also .PARSEDIR is safer indicator of bmake.
13613955d011SMarcel Moolenaar
13623955d011SMarcel Moolenaar2012-06-26  Simon J. Gerraty  <sjg@bad.crufty.net>
13633955d011SMarcel Moolenaar
13643955d011SMarcel Moolenaar	* Makefile.in: bump version to 20120626
13653955d011SMarcel Moolenaar	  ensure CPPFLAGS is in CFLAGS
13663955d011SMarcel Moolenaar	* meta.c: avoid nested externs
13673955d011SMarcel Moolenaar	* bsd.after-import.mk: avoid ${.CURDIR}/Makefile as target
13683955d011SMarcel Moolenaar
13693955d011SMarcel Moolenaar2012-06-20  Simon J. Gerraty  <sjg@bad.crufty.net>
13703955d011SMarcel Moolenaar
13713955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120620
13723955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13733955d011SMarcel Moolenaar	  o make_malloc.c: avoid including make_malloc.h again
13743955d011SMarcel Moolenaar
13753955d011SMarcel Moolenaar	* Makefile.in: avoid bmake only syntax or protect with
13763955d011SMarcel Moolenaar	  .if defined(.MAKE.LEVEL)
13773955d011SMarcel Moolenaar	* bsd.after-import.mk: replace .-include with .sinclude
13783955d011SMarcel Moolenaar	  ensure? SRCTOP gets a value
13793955d011SMarcel Moolenaar	* configure.in: look for filemon.h in /usr/include/dev/filemon first.
13803955d011SMarcel Moolenaar
13813955d011SMarcel Moolenaar2012-06-19  Simon J. Gerraty  <sjg@bad.crufty.net>
13823955d011SMarcel Moolenaar
13833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120612
13843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13853955d011SMarcel Moolenaar	  o use MAKE_ATTR_* rather than those defined by cdefs.h or compiler
13863955d011SMarcel Moolenaar	    for greater portability.
13873955d011SMarcel Moolenaar	  o unit-tests/forloop: check that .for works as expected wrt
13883955d011SMarcel Moolenaar	    number of times and with "quoted strings".
13893955d011SMarcel Moolenaar
13903955d011SMarcel Moolenaar2012-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
13913955d011SMarcel Moolenaar
13923955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120606
13933955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
13943955d011SMarcel Moolenaar	  o compat.c: use kill(2) rather than raise(3).
13953955d011SMarcel Moolenaar	* configure.in: look for sys/dev/filemon
13963955d011SMarcel Moolenaar	* bsd.after-import.mk: add a .-include "Makefile.inc" to Makefile
13973955d011SMarcel Moolenaar	  and pass BOOTSTRAP_XTRAS to boot-strap.
13983955d011SMarcel Moolenaar
13993955d011SMarcel Moolenaar2012-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
14003955d011SMarcel Moolenaar
14013955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120604
14023955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14033955d011SMarcel Moolenaar	  o util.c and var.c share same var for tracking if environ
14043955d011SMarcel Moolenaar	    has been reallocated.
14053955d011SMarcel Moolenaar	  o util.c provide getenv with setenv.
14063955d011SMarcel Moolenaar	* Add MAKE_LEVEL_SAFE as an alternate means of passing MAKE_LEVEL
14073955d011SMarcel Moolenaar	  when the shell actively strips .MAKE.* from the environment.
14083955d011SMarcel Moolenaar	  We still refer to the variable always as .MAKE.LEVEL
14093955d011SMarcel Moolenaar	* util.c fix bug in findenv() was finding prefix of name.
14103955d011SMarcel Moolenaar	* compat.c: re-raising SIGINT etc after running .INTERRUPT
14113955d011SMarcel Moolenaar	  results in more reliable termination of all activity on many
14123955d011SMarcel Moolenaar	  platforms.
14133955d011SMarcel Moolenaar
14143955d011SMarcel Moolenaar2012-06-02  Simon J. Gerraty  <sjg@bad.crufty.net>
14153955d011SMarcel Moolenaar
14163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120602
14173955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14183955d011SMarcel Moolenaar	  o for.c: handle quoted items in .for list
14193955d011SMarcel Moolenaar
14203955d011SMarcel Moolenaar2012-05-30  Simon J. Gerraty  <sjg@bad.crufty.net>
14213955d011SMarcel Moolenaar
14223955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120530
14233955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14243955d011SMarcel Moolenaar	  o compat.c: ignore empty command.
14253955d011SMarcel Moolenaar
14263955d011SMarcel Moolenaar2012-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
14273955d011SMarcel Moolenaar
14283955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120524
14293955d011SMarcel Moolenaar	* FILES: add bsd.after-import.mk:
14303955d011SMarcel Moolenaar	  A simple means of integrating bmake into a BSD build system.
14313955d011SMarcel Moolenaar
14323955d011SMarcel Moolenaar2012-05-20  Simon J. Gerraty  <sjg@bad.crufty.net>
14333955d011SMarcel Moolenaar
14343955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120520
14353955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14363955d011SMarcel Moolenaar	  o increased limit for nested conditionals.
14373955d011SMarcel Moolenaar
14383955d011SMarcel Moolenaar2012-05-18  Simon J. Gerraty  <sjg@bad.crufty.net>
14393955d011SMarcel Moolenaar
14403955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120518
14413955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14423955d011SMarcel Moolenaar	  o use _exit(2) in signal hanlder
14433955d011SMarcel Moolenaar	  o Don't use the [dir] cache when building nodes that might have
14443955d011SMarcel Moolenaar	    changed since the last exec.
14453955d011SMarcel Moolenaar	  o Avoid nested extern declaration warnings.
14463955d011SMarcel Moolenaar
14473955d011SMarcel Moolenaar2012-04-27  Simon J. Gerraty  <sjg@bad.crufty.net>
14483955d011SMarcel Moolenaar
14493955d011SMarcel Moolenaar	* meta.c (fgetLine): avoid %z - not portable.
14503955d011SMarcel Moolenaar	* parse.c: Since we moved include of sys/mman.h
14513955d011SMarcel Moolenaar	  and def's of MAP_COPY etc. we got dups from a merge.
14523955d011SMarcel Moolenaar
14533955d011SMarcel Moolenaar2012-04-24  Simon J. Gerraty  <sjg@bad.crufty.net>
14543955d011SMarcel Moolenaar
14553955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
14563955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14573955d011SMarcel Moolenaar	  o restore duplicate supression in .MAKE.MAKEFILES
14583955d011SMarcel Moolenaar	    runtime saving can be significant.
14593955d011SMarcel Moolenaar	  o Var_Subst() uses Buf_DestroyCompact() to reduce memory
14603955d011SMarcel Moolenaar	    consumption up to 20%.
14613955d011SMarcel Moolenaar
14623955d011SMarcel Moolenaar2012-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
14633955d011SMarcel Moolenaar
14643955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120420
14653955d011SMarcel Moolenaar          Merge with NetBSD make, pick up
14663955d011SMarcel Moolenaar	  o remove duplicate supression in .MAKE.MAKEFILES
14673955d011SMarcel Moolenaar	  o improved dir cache behavior
14683955d011SMarcel Moolenaar	  o gmake'ish export command
14693955d011SMarcel Moolenaar
14703955d011SMarcel Moolenaar2012-03-25  Simon J. Gerraty  <sjg@bad.crufty.net>
14713955d011SMarcel Moolenaar
14723955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20120325
14733955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14743955d011SMarcel Moolenaar	  o fix parsing of :[#] in conditionals.
14753955d011SMarcel Moolenaar
14763955d011SMarcel Moolenaar2012-02-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14773955d011SMarcel Moolenaar
14783955d011SMarcel Moolenaar	* Makefile.in: replace use of .Nx in bmake.1 with NetBSD
14793955d011SMarcel Moolenaar	  since some systems cannot cope with .Nx <version>
14803955d011SMarcel Moolenaar
14813955d011SMarcel Moolenaar2011-11-14  Simon J. Gerraty  <sjg@bad.crufty.net>
14823955d011SMarcel Moolenaar
14833955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111111
14843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
14853955d011SMarcel Moolenaar	  o debug output for .PARSEDIR and .PARSEFILE
14863955d011SMarcel Moolenaar
14873955d011SMarcel Moolenaar2011-10-10  Simon J. Gerraty  <sjg@bad.crufty.net>
14883955d011SMarcel Moolenaar
14893955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20111010
14903955d011SMarcel Moolenaar
14913955d011SMarcel Moolenaar2011-10-09  Simon J. Gerraty  <sjg@bad.crufty.net>
14923955d011SMarcel Moolenaar
14933955d011SMarcel Moolenaar	* boot-strap: check for an expected file in the dirs we look for.
14943955d011SMarcel Moolenaar	* make-bootstrap.sh: pass on LDSTATIC
14953955d011SMarcel Moolenaar
14963955d011SMarcel Moolenaar2011-10-01  Simon J. Gerraty  <sjg@bad.crufty.net>
14973955d011SMarcel Moolenaar
14983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20111001
14993955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15003955d011SMarcel Moolenaar	  o ensure .PREFIX is set for .PHONY
15013955d011SMarcel Moolenaar	    and .TARGET set for .PHONY run via .END
15023955d011SMarcel Moolenaar	  o __dead used consistently
15033955d011SMarcel Moolenaar
15043955d011SMarcel Moolenaar2011-09-10  Simon J. Gerraty  <sjg@bad.crufty.net>
15053955d011SMarcel Moolenaar
15063955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): 20110909 is a better number ;-)
15073955d011SMarcel Moolenaar
15083955d011SMarcel Moolenaar2011-09-05  Simon J. Gerraty  <sjg@bad.crufty.net>
15093955d011SMarcel Moolenaar
15103955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110905
15113955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15123955d011SMarcel Moolenaar	  o meta_oodate: ignore makeDependfile
15133955d011SMarcel Moolenaar
15143955d011SMarcel Moolenaar2011-08-28  Simon J. Gerraty  <sjg@bad.crufty.net>
15153955d011SMarcel Moolenaar
15163955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110828
15173955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15183955d011SMarcel Moolenaar	  o silent=yes in .MAKE.MODE causes meta mode to mark targets
15193955d011SMarcel Moolenaar	    as SILENT if a .meta file is created
15203955d011SMarcel Moolenaar
15213955d011SMarcel Moolenaar2011-08-18  Simon J. Gerraty  <sjg@bad.crufty.net>
15223955d011SMarcel Moolenaar
15233955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110818
15243955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15253955d011SMarcel Moolenaar	  o in meta mode, if target flagged .META a missing .meta file
15263955d011SMarcel Moolenaar	    means target is out-of-date
15273955d011SMarcel Moolenaar	  o fixes for gcc 4.5 warnings
15283955d011SMarcel Moolenaar	  o simplify job printing code
15293955d011SMarcel Moolenaar
15303955d011SMarcel Moolenaar2011-08-09  Simon J. Gerraty  <sjg@bad.crufty.net>
15313955d011SMarcel Moolenaar
15323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110808
15333955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15343955d011SMarcel Moolenaar	  o do not touch OP_SPECIAL targets when doing make -t
15353955d011SMarcel Moolenaar
15363955d011SMarcel Moolenaar2011-06-22  Simon J. Gerraty  <sjg@bad.crufty.net>
15373955d011SMarcel Moolenaar
15383955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110622
15393955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15403955d011SMarcel Moolenaar	  o meta_oodate detect corrupted .meta file and declare oodate.
15413955d011SMarcel Moolenaar	* configure.in: add check for setsid
15423955d011SMarcel Moolenaar
15433955d011SMarcel Moolenaar2011-06-07  Simon J. Gerraty  <sjg@bad.crufty.net>
15443955d011SMarcel Moolenaar
15453955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
15463955d011SMarcel Moolenaar	  o unit-tests/modts now works on MirBSD
15473955d011SMarcel Moolenaar
15483955d011SMarcel Moolenaar2011-06-04  Simon J. Gerraty  <sjg@bad.crufty.net>
15493955d011SMarcel Moolenaar
15503955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110606
15513955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15523955d011SMarcel Moolenaar	  o ApplyModifiers: when we parse a variable which is not
15533955d011SMarcel Moolenaar	    the entire modifier string, or not followed by ':', do not
15543955d011SMarcel Moolenaar	    consider it as containing modifiers.
15553955d011SMarcel Moolenaar	  o loadfile: ensure newline at end of mapped file.
15563955d011SMarcel Moolenaar
15573955d011SMarcel Moolenaar2011-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
15583955d011SMarcel Moolenaar
15593955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110505
15603955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15613955d011SMarcel Moolenaar	  o .MAKE.META.BAILIWICK - list of prefixes which define the scope
15623955d011SMarcel Moolenaar	    of make's control.  In meta mode, any generated file within
15633955d011SMarcel Moolenaar	    said bailiwick, which  is found to be missing, causes current
15643955d011SMarcel Moolenaar	    target to be out-of-date.
15653955d011SMarcel Moolenaar
15663955d011SMarcel Moolenaar2011-04-11  Simon J. Gerraty  <sjg@bad.crufty.net>
15673955d011SMarcel Moolenaar
15683955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110411
15693955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15703955d011SMarcel Moolenaar	  o when long modifiers fail to match, check sysV style.
15713955d011SMarcel Moolenaar	    - add a test case
15723955d011SMarcel Moolenaar
15733955d011SMarcel Moolenaar2011-04-10  Simon J. Gerraty  <sjg@bad.crufty.net>
15743955d011SMarcel Moolenaar
15753955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110410
15763955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15773955d011SMarcel Moolenaar	  o :hash - cheap 32bit hash of value
15783955d011SMarcel Moolenaar	  o :localtime, :gmtime - use value as format string for strftime.
15793955d011SMarcel Moolenaar
15803955d011SMarcel Moolenaar2011-03-30  Simon J. Gerraty  <sjg@bad.crufty.net>
15813955d011SMarcel Moolenaar
15823955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110330
15833955d011SMarcel Moolenaar	  mostly because its a cooler version.
15843955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15853955d011SMarcel Moolenaar	  o NetBSD tags for meta.[ch]
15863955d011SMarcel Moolenaar	  o job.c call meta_job_finish() after meta_job_error().
15873955d011SMarcel Moolenaar	  o meta_job_error() should call meta_job_finish() to ensure
15883955d011SMarcel Moolenaar	    .meta file is closed, and safe to copy - if .ERROR target wants.
15893955d011SMarcel Moolenaar	   meta_job_finish() is safe to call repeatedly.
15903955d011SMarcel Moolenaar
15913955d011SMarcel Moolenaar2011-03-29  Simon J. Gerraty  <sjg@bad.crufty.net>
15923955d011SMarcel Moolenaar
15933955d011SMarcel Moolenaar	* unit-tests/modts: use printf if it is a builtin,
15943955d011SMarcel Moolenaar	  to save us from MirBSD
15953955d011SMarcel Moolenaar
15963955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110329
15973955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
15983955d011SMarcel Moolenaar	  o fix for use after free() in CondDoExists().
15993955d011SMarcel Moolenaar	  o meta_oodate() report extra commands and return earlier.
16003955d011SMarcel Moolenaar
16013955d011SMarcel Moolenaar2011-03-27  Simon J. Gerraty  <sjg@bad.crufty.net>
16023955d011SMarcel Moolenaar
16033955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110327
16043955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16053955d011SMarcel Moolenaar	  o meta.c, if .MAKE.MODE contains curdirOk=yes
16063955d011SMarcel Moolenaar	    allow creating .meta files in .CURDIR
16073955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): aparently at least on linux distro
16083955d011SMarcel Moolenaar	  formats the output of 'type' differently - so eat any "()"
16093955d011SMarcel Moolenaar
16103955d011SMarcel Moolenaar2011-03-06  Simon J. Gerraty  <sjg@bad.crufty.net>
16113955d011SMarcel Moolenaar
16123955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110306
16133955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16143955d011SMarcel Moolenaar	  o meta.c, only do getcwd() once
16153955d011SMarcel Moolenaar
16163955d011SMarcel Moolenaar2011-03-05  Simon J. Gerraty  <sjg@bad.crufty.net>
16173955d011SMarcel Moolenaar
16183955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110305
16193955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16203955d011SMarcel Moolenaar	  o correct sysV substitution handling of empty lhs and variable
16213955d011SMarcel Moolenaar	  o correct exists() check for dir with trailing /
16223955d011SMarcel Moolenaar	  o correct handling of modifiers for non-existant variables
16233955d011SMarcel Moolenaar	    during evaluation of conditionals.
16243955d011SMarcel Moolenaar	  o ensure MAP_FILE is defined.
16253955d011SMarcel Moolenaar	  o meta.c use curdir[] now exported by main.c
16263955d011SMarcel Moolenaar
16273955d011SMarcel Moolenaar2011-02-25  Simon J. Gerraty  <sjg@bad.crufty.net>
16283955d011SMarcel Moolenaar
16293955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110225
16303955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16313955d011SMarcel Moolenaar	  o fix for incorrect .PARSEDIR when .OBJDIR is re-computed after
16323955d011SMarcel Moolenaar	    makefiles have been read.
16333955d011SMarcel Moolenaar	  o fix example of :? modifier in man page.
16343955d011SMarcel Moolenaar
16353955d011SMarcel Moolenaar2011-02-13  Simon J. Gerraty  <sjg@bad.crufty.net>
16363955d011SMarcel Moolenaar
16373955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110214
16383955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16393955d011SMarcel Moolenaar	  o meta.c handle realpath() failing when generating meta file
16403955d011SMarcel Moolenaar	    name.
16413955d011SMarcel Moolenaar
16423955d011SMarcel Moolenaar	* sigcompat.c: convert to ansi so we can use higher warning levels.
16433955d011SMarcel Moolenaar
16443955d011SMarcel Moolenaar
16453955d011SMarcel Moolenaar2011-02-07  Simon J. Gerraty  <sjg@bad.crufty.net>
16463955d011SMarcel Moolenaar
16473955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110207
16483955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16493955d011SMarcel Moolenaar	  o fix for bug in meta mode.
16503955d011SMarcel Moolenaar
16513955d011SMarcel Moolenaar2011-01-03  Simon J. Gerraty  <sjg@bad.crufty.net>
16523955d011SMarcel Moolenaar
16533955d011SMarcel Moolenaar	* parse.c: SunOS 5.8 at least does not have MAP_FILE
16543955d011SMarcel Moolenaar
16553955d011SMarcel Moolenaar2011-01-01  Simon J. Gerraty  <sjg@bad.crufty.net>
16563955d011SMarcel Moolenaar
16573955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20110101
16583955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16593955d011SMarcel Moolenaar	  o use mmap(2) if available, for reading makefiles
16603955d011SMarcel Moolenaar
16613955d011SMarcel Moolenaar2010-12-15  Simon J. Gerraty  <sjg@bad.crufty.net>
16623955d011SMarcel Moolenaar
16633955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101215
16643955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16653955d011SMarcel Moolenaar	  o ensure meta_job_error() does not report a previous .meta file
16663955d011SMarcel Moolenaar	    as being culprit.
16673955d011SMarcel Moolenaar
16683955d011SMarcel Moolenaar2010-12-10  Simon J. Gerraty  <sjg@bad.crufty.net>
16693955d011SMarcel Moolenaar
16703955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101210
16713955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16723955d011SMarcel Moolenaar	  o meta_oodate: track cwd per process, and only consider target
16733955d011SMarcel Moolenaar	    out-of-date if missing file is outside make's CWD.
16743955d011SMarcel Moolenaar	    Ignore files in /tmp/ etc.
16753955d011SMarcel Moolenaar	  o to ensure unit-tests results match, need to control LC_ALL
16763955d011SMarcel Moolenaar	    as well as LANG.
16773955d011SMarcel Moolenaar	  o fix for parsing bug in var.c
16783955d011SMarcel Moolenaar
16793955d011SMarcel Moolenaar2010-11-26  Simon J. Gerraty  <sjg@bad.crufty.net>
16803955d011SMarcel Moolenaar
16813955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101126
16823955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
16833955d011SMarcel Moolenaar	  o if stale dependency is an IMPSRC, search via .PATH
16843955d011SMarcel Moolenaar	  o meta_oodate: if a referenced file is missing, target is
16853955d011SMarcel Moolenaar	    out-of-date.
16863955d011SMarcel Moolenaar	  o meta_oodate: if a target uses .OODATE in its commands,
16873955d011SMarcel Moolenaar	    it (.OODATE) needs to be recomputed.
16883955d011SMarcel Moolenaar	  o keep a pointer to youngest child node, rather than just its
16893955d011SMarcel Moolenaar	    mtime.
16903955d011SMarcel Moolenaar
16913955d011SMarcel Moolenaar2010-11-02  Simon J. Gerraty  <sjg@bad.crufty.net>
16923955d011SMarcel Moolenaar
16933955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20101101
16943955d011SMarcel Moolenaar
16953955d011SMarcel Moolenaar2010-10-16  Simon J. Gerraty  <sjg@bad.crufty.net>
16963955d011SMarcel Moolenaar
16973955d011SMarcel Moolenaar	* machine.sh: like os.sh,
16983955d011SMarcel Moolenaar	allow for uname -p producing useless drivel
16993955d011SMarcel Moolenaar
17003955d011SMarcel Moolenaar2010-09-13  Simon J. Gerraty  <sjg@bad.crufty.net>
17013955d011SMarcel Moolenaar
17023955d011SMarcel Moolenaar	* boot-strap: document configure knobs for meta and filemon.
17033955d011SMarcel Moolenaar
17043955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100911
17053955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17063955d011SMarcel Moolenaar	  o meta.c - meta mode
17073955d011SMarcel Moolenaar
17083955d011SMarcel Moolenaar	* make-bootstrap.sh.in: handle meta.c
17093955d011SMarcel Moolenaar	* configure.in: add knobs for use_meta and filemon_h
17103955d011SMarcel Moolenaar	  also, look for dirname, str[e]sep and strlcpy
17113955d011SMarcel Moolenaar	* util.c: add simple err[x] and warn[x]
17123955d011SMarcel Moolenaar
17133955d011SMarcel Moolenaar2010-08-08  Simon J. Gerraty  <sjg@bad.crufty.net>
17143955d011SMarcel Moolenaar
17153955d011SMarcel Moolenaar	* boot-strap (TOOL_DIFF): set this to ensure tests use
17163955d011SMarcel Moolenaar	  the same version of diff that configure tested
17173955d011SMarcel Moolenaar
17183955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100808
17193955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17203955d011SMarcel Moolenaar	  o in jobs mode, when we discover we cannot make something,
17213955d011SMarcel Moolenaar	    call PrintOnError before exit.
17223955d011SMarcel Moolenaar
17233955d011SMarcel Moolenaar2010-08-06  Simon J. Gerraty  <sjg@bad.crufty.net>
17243955d011SMarcel Moolenaar
17253955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100806
17263955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17273955d011SMarcel Moolenaar	  o formatting fixes for ignored errors
17283955d011SMarcel Moolenaar	  o ensure jobs are cleaned up regardless of where wait() was called.
17293955d011SMarcel Moolenaar
17303955d011SMarcel Moolenaar2010-06-28  Simon J. Gerraty  <sjg@bad.crufty.net>
17313955d011SMarcel Moolenaar
17323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100618
17333955d011SMarcel Moolenaar	* os.sh (MACHINE_ARCH): watch out for drivel from uname -p
17343955d011SMarcel Moolenaar
17353955d011SMarcel Moolenaar2010-06-16  Simon J. Gerraty  <sjg@bad.crufty.net>
17363955d011SMarcel Moolenaar
17373955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100616
17383955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17393955d011SMarcel Moolenaar	  o man page update
17403955d011SMarcel Moolenaar	  o call PrintOnError from JobFinish when we detect an error we
17413955d011SMarcel Moolenaar	    are not ignoring.
17423955d011SMarcel Moolenaar
17433955d011SMarcel Moolenaar2010-06-06  Simon J. Gerraty  <sjg@bad.crufty.net>
17443955d011SMarcel Moolenaar
17453955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100606
17463955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17473955d011SMarcel Moolenaar	  o man page update
17483955d011SMarcel Moolenaar
17493955d011SMarcel Moolenaar2010-06-05  Simon J. Gerraty  <sjg@bad.crufty.net>
17503955d011SMarcel Moolenaar
17513955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100605
17523955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17533955d011SMarcel Moolenaar	  o use bmake_signal() which is a wrapper around sigaction()
17543955d011SMarcel Moolenaar	    in place of signal()
17553955d011SMarcel Moolenaar	  o add .export-env to allow exporting variables to environment
17563955d011SMarcel Moolenaar	    without tracking (so no re-export when the internal value is
17573955d011SMarcel Moolenaar	    changed).
17583955d011SMarcel Moolenaar
17593955d011SMarcel Moolenaar2010-05-24  Simon J. Gerraty  <sjg@bad.crufty.net>
17603955d011SMarcel Moolenaar
17613955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100524
17623955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17633955d011SMarcel Moolenaar	  o fix for .info et al being greedy.
17643955d011SMarcel Moolenaar
17653955d011SMarcel Moolenaar2010-05-23  Simon J. Gerraty  <sjg@bad.crufty.net>
17663955d011SMarcel Moolenaar
17673955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100520
17683955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17693955d011SMarcel Moolenaar	  o back to using realpath on argv[0]
17703955d011SMarcel Moolenaar	    but only if contains '/' and does not start with '/'.
17713955d011SMarcel Moolenaar
17723955d011SMarcel Moolenaar2010-05-10  Simon J. Gerraty  <sjg@bad.crufty.net>
17733955d011SMarcel Moolenaar
17743955d011SMarcel Moolenaar	* boot-strap: use absolute path for bmake when running tests.
17753955d011SMarcel Moolenaar
17763955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION):  bump version to 20100510
17773955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17783955d011SMarcel Moolenaar	  o revert use of realpath on argv[0]
17793955d011SMarcel Moolenaar	    too many corner cases.
17803955d011SMarcel Moolenaar	  o print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target.
17813955d011SMarcel Moolenaar
17823955d011SMarcel Moolenaar2010-05-05  Simon J. Gerraty  <sjg@bad.crufty.net>
17833955d011SMarcel Moolenaar
17843955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100505
17853955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17863955d011SMarcel Moolenaar	  o fix for missed SIGCHLD when compiled with SunPRO
17873955d011SMarcel Moolenaar	    actually for bmake, defining FORCE_POSIX_SIGNALS would have
17883955d011SMarcel Moolenaar	    done the job.
17893955d011SMarcel Moolenaar
17903955d011SMarcel Moolenaar2010-04-30  Simon J. Gerraty  <sjg@bad.crufty.net>
17913955d011SMarcel Moolenaar
17923955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100430
17933955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
17943955d011SMarcel Moolenaar	  o fflush stdout before writing to stdout
17953955d011SMarcel Moolenaar
17963955d011SMarcel Moolenaar2010-04-23  Simon J. Gerraty  <sjg@bad.crufty.net>
17973955d011SMarcel Moolenaar
17983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100423
17993955d011SMarcel Moolenaar	  Merge with NetBSD make, pick up
18003955d011SMarcel Moolenaar	  o updated unit tests for Haiku (this time for sure).
18013955d011SMarcel Moolenaar	* boot-strap: based on patch from joerg
18023955d011SMarcel Moolenaar	  honor --with-default-sys-path better.
18033955d011SMarcel Moolenaar	* boot-strap: remove mention of --with-prefix-sys-path
18043955d011SMarcel Moolenaar
18053955d011SMarcel Moolenaar2010-04-22  Simon J. Gerraty  <sjg@bad.crufty.net>
18063955d011SMarcel Moolenaar
18073955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100422
18083955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18093955d011SMarcel Moolenaar	  o fix for vfork() on Darwin.
18103955d011SMarcel Moolenaar	  o fix for bogus $TMPDIR.
18113955d011SMarcel Moolenaar	  o set .MAKE.MODE=compat for -B
18123955d011SMarcel Moolenaar	  o set .MAKE.JOBS=max_jobs for -j max_jobs
18133955d011SMarcel Moolenaar	  o allow unit-tests to run without any *.mk
18143955d011SMarcel Moolenaar	  o unit-tests/modmisc be more conservative in dirs presumed to exist.
18153955d011SMarcel Moolenaar	* boot-strap: ignore /usr/share/mk except on NetBSD.
18163955d011SMarcel Moolenaar	* unit-tests/Makefile.in: set LANG=C when running unit-tests to
18173955d011SMarcel Moolenaar	  ensure sort(1) behaves as expected.
18183955d011SMarcel Moolenaar
18193955d011SMarcel Moolenaar2010-04-21  Simon J. Gerraty  <sjg@bad.crufty.net>
18203955d011SMarcel Moolenaar
18213955d011SMarcel Moolenaar	* boot-strap: add FindHereOrAbove so we can use -m .../mk
18223955d011SMarcel Moolenaar
18233955d011SMarcel Moolenaar2010-04-20  Simon J. Gerraty  <sjg@bad.crufty.net>
18243955d011SMarcel Moolenaar
18253955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100420
18263955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18273955d011SMarcel Moolenaar	  o fix for variable realpath() behavior.
18283955d011SMarcel Moolenaar	    we have to stat(2) the result to be sure.
18293955d011SMarcel Moolenaar	  o fix for .export (all) when nested vars use :sh
18303955d011SMarcel Moolenaar
18313955d011SMarcel Moolenaar2010-04-14  Simon J. Gerraty  <sjg@bad.crufty.net>
18323955d011SMarcel Moolenaar
18333955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100414
18343955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18353955d011SMarcel Moolenaar	  o use realpath to resolve argv[0] (for .MAKE) if needed.
18363955d011SMarcel Moolenaar	  o add realpath from libc.
18373955d011SMarcel Moolenaar	  o add :tA to resolve variable via realpath(3) if possible.
18383955d011SMarcel Moolenaar
18393955d011SMarcel Moolenaar2010-04-08  Simon J. Gerraty  <sjg@bad.crufty.net>
18403955d011SMarcel Moolenaar
18413955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100408
18423955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18433955d011SMarcel Moolenaar	  o unit tests for .ERROR, .error
18443955d011SMarcel Moolenaar	  o fix for .ERROR to ensure it cannot be default target.
18453955d011SMarcel Moolenaar
18463955d011SMarcel Moolenaar2010-04-06  Simon J. Gerraty  <sjg@bad.crufty.net>
18473955d011SMarcel Moolenaar
18483955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100406
18493955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18503955d011SMarcel Moolenaar	  o fix for compat mode "Error code" going to debug_file.
18513955d011SMarcel Moolenaar	  o fix for .ALLSRC being populated twice.
18523955d011SMarcel Moolenaar	  o support for .info, .warning and .error directives
18533955d011SMarcel Moolenaar	  o .MAKE.MODE to control make's operational mode
18543955d011SMarcel Moolenaar	  o .MAKE.MAKEFILE_PREFERENCE to control the preferred makefile
18553955d011SMarcel Moolenaar	    name(s).
18563955d011SMarcel Moolenaar	  o .MAKE.DEPENDFILE to control the name of the depend file
18573955d011SMarcel Moolenaar	  o .ERROR target - run on failure.
18583955d011SMarcel Moolenaar
18593955d011SMarcel Moolenaar2010-03-18  Simon J. Gerraty  <sjg@bad.crufty.net>
18603955d011SMarcel Moolenaar
18613955d011SMarcel Moolenaar	* make-bootstrap.sh.in: extract MAKE_VERSION from Makefile
18623955d011SMarcel Moolenaar
18633955d011SMarcel Moolenaar	* os.sh,arch.c: patch for Haiku from joerg at netbsd
18643955d011SMarcel Moolenaar
18653955d011SMarcel Moolenaar2010-03-17  Simon J. Gerraty  <sjg@bad.crufty.net>
18663955d011SMarcel Moolenaar
18673955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100222
18683955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up
18693955d011SMarcel Moolenaar	  o better error msg for .for with mutiple inter vars
18703955d011SMarcel Moolenaar
18713955d011SMarcel Moolenaar	* boot-strap:
18723955d011SMarcel Moolenaar	  o use make-bootstrap.sh from joerg at netbsd
18733955d011SMarcel Moolenaar	    to avoid the need for a native make when bootstrapping.
18743955d011SMarcel Moolenaar	  o add "" everywhere ;-)
18753955d011SMarcel Moolenaar	  o if /usr/share/tmac/andoc.tmac exists install nroff bmake.1
18763955d011SMarcel Moolenaar	    otherwise the pre-formated version.
18773955d011SMarcel Moolenaar
18783955d011SMarcel Moolenaar2010-01-04  Simon J. Gerraty  <sjg@bad.crufty.net>
18793955d011SMarcel Moolenaar
18803955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20100102
18813955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18823955d011SMarcel Moolenaar	  o fix for -m .../
18833955d011SMarcel Moolenaar
18843955d011SMarcel Moolenaar2009-11-18  Simon J. Gerraty  <sjg@void.crufty.net>
18853955d011SMarcel Moolenaar
18863955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20091118
18873955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
18883955d011SMarcel Moolenaar	  o .unexport
18893955d011SMarcel Moolenaar	  o report lines that start with '.' and should have ':'
18903955d011SMarcel Moolenaar	    (catch typo's of .el*if).
18913955d011SMarcel Moolenaar
18923955d011SMarcel Moolenaar2009-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
18933955d011SMarcel Moolenaar
18943955d011SMarcel Moolenaar	* configure.in: Ensure that srcdir and mksrc are absolute paths.
18953955d011SMarcel Moolenaar
18963955d011SMarcel Moolenaar2009-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
18973955d011SMarcel Moolenaar
18983955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): fix version to 20091007
18993955d011SMarcel Moolenaar
19003955d011SMarcel Moolenaar2009-10-07  Simon J. Gerraty  <sjg@void.crufty.net>
19013955d011SMarcel Moolenaar
19023955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 200910007
19033955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19043955d011SMarcel Moolenaar	  o fix for parsing of :S;...;...; applied to .for loop iterator
19053955d011SMarcel Moolenaar	    appearing in a dependency line.
19063955d011SMarcel Moolenaar
19073955d011SMarcel Moolenaar2009-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
19083955d011SMarcel Moolenaar
19093955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090909
19103955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19113955d011SMarcel Moolenaar	  o fix for -C, .CURDIR and .OBJDIR
19123955d011SMarcel Moolenaar	* boot-strap:
19133955d011SMarcel Moolenaar	  o allow share_dir to be set independent of prefix.
19143955d011SMarcel Moolenaar	  o select default share_dir better when prefix ends in $HOST_TARGET
19153955d011SMarcel Moolenaar	  o if FORCE_BSD_MK etc were set, include them in the suggested
19163955d011SMarcel Moolenaar	    install-mk command.
19173955d011SMarcel Moolenaar
19183955d011SMarcel Moolenaar2009-09-08  Simon J. Gerraty  <sjg@void.crufty.net>
19193955d011SMarcel Moolenaar
19203955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090908
19213955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19223955d011SMarcel Moolenaar	  o .MAKE.LEVEL for recursion tracking
19233955d011SMarcel Moolenaar	  o fix for :M scanning \:
19243955d011SMarcel Moolenaar
19253955d011SMarcel Moolenaar2009-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
19263955d011SMarcel Moolenaar
19273955d011SMarcel Moolenaar	* configure.in: Don't -D__EXTENSIONS__ if
19283955d011SMarcel Moolenaar	AC_USE_SYSTEM_EXTENSIONS says "no".
19293955d011SMarcel Moolenaar
19303955d011SMarcel Moolenaar2009-08-26  Simon J. Gerraty  <sjg@void.crufty.net>
19313955d011SMarcel Moolenaar
19323955d011SMarcel Moolenaar	* Makefile.in (MAKE_VERSION): bump version to 20090826
19333955d011SMarcel Moolenaar	Simplify MAKE_VERSION to just the bare date.
19343955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19353955d011SMarcel Moolenaar	  o -C directory support.
19363955d011SMarcel Moolenaar	  o support for SIGINFO
19373955d011SMarcel Moolenaar	  o use $TMPDIR for temp files.
19383955d011SMarcel Moolenaar	  o child of vfork should be careful about modifying parent's state.
19393955d011SMarcel Moolenaar
19403955d011SMarcel Moolenaar
19413955d011SMarcel Moolenaar2009-03-26  Simon J. Gerraty  <sjg@void.crufty.net>
19423955d011SMarcel Moolenaar
19433955d011SMarcel Moolenaar	* Appy some patches for MiNT from David Brownlee
19443955d011SMarcel Moolenaar
19453955d011SMarcel Moolenaar2009-02-26  Simon J. Gerraty  <sjg@void.crufty.net>
19463955d011SMarcel Moolenaar
19473955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090222
19483955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19493955d011SMarcel Moolenaar	  o Possible null pointer de-ref in Var_Set.
19503955d011SMarcel Moolenaar
19513955d011SMarcel Moolenaar2009-02-08  Simon J. Gerraty  <sjg@void.crufty.net>
19523955d011SMarcel Moolenaar
19533955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20090204
19543955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19553955d011SMarcel Moolenaar	  o bmake_malloc et al moved to their own .c
19563955d011SMarcel Moolenaar	  o Count both () and {} when looking for the end of a :M pattern
19573955d011SMarcel Moolenaar	  o Change 'Buffer' so that it is the actual struct, not a pointer to it.
19583955d011SMarcel Moolenaar	  o strlist.c - functions for processing extendable arrays of pointers to strings.
19593955d011SMarcel Moolenaar	  o ClientData replaced with void *, so const void * can be used.
19603955d011SMarcel Moolenaar	  o New debug flag C for DEBUG_CWD
19613955d011SMarcel Moolenaar
19623955d011SMarcel Moolenaar2008-11-11  Simon J. Gerraty  <sjg@void.crufty.net>
19633955d011SMarcel Moolenaar
19643955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081111
19653955d011SMarcel Moolenaar	  Apply patch from Joerg Sonnenberge to
19663955d011SMarcel Moolenaar	  configure.in:
19673955d011SMarcel Moolenaar	  o remove some redundant checks
19683955d011SMarcel Moolenaar	  o check for emlloc etc only in libutil and require the whole family.
19693955d011SMarcel Moolenaar	  util.c:
19703955d011SMarcel Moolenaar	  o remove [v]asprintf which is no longer used.
19713955d011SMarcel Moolenaar
19723955d011SMarcel Moolenaar2008-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
19733955d011SMarcel Moolenaar
19743955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081101
19753955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19763955d011SMarcel Moolenaar	  o util.c: avoid use of putenv() - christos
19773955d011SMarcel Moolenaar
19783955d011SMarcel Moolenaar2008-10-30  Simon J. Gerraty  <sjg@void.crufty.net>
19793955d011SMarcel Moolenaar
19803955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081030
19813955d011SMarcel Moolenaar	  pick up man page tweaks.
19823955d011SMarcel Moolenaar
19833955d011SMarcel Moolenaar2008-10-29  Simon J. Gerraty  <sjg@void.crufty.net>
19843955d011SMarcel Moolenaar
19853955d011SMarcel Moolenaar	* Makefile.in: move processing of LIBOBJS to after is definition!
19863955d011SMarcel Moolenaar	  thus we'll have getenv.c in SRCS only if needed.
19873955d011SMarcel Moolenaar
19883955d011SMarcel Moolenaar	* make.1: add examples of how to use :?
19893955d011SMarcel Moolenaar
19903955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20081029
19913955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
19923955d011SMarcel Moolenaar	  o fix for .END processing with -j
19933955d011SMarcel Moolenaar	  o segfault from Parse_Error when no makefile is open
19943955d011SMarcel Moolenaar	  o handle numeric expressions in any variable expansion
19953955d011SMarcel Moolenaar	  o debug output now defaults to stderr, -dF to change it - apb
19963955d011SMarcel Moolenaar	  o make now uses bmake_malloc etc so that it can build natively
19973955d011SMarcel Moolenaar	    on A/UX - wasn't an issue for bmake, but we want to keep in sync.
19983955d011SMarcel Moolenaar
19993955d011SMarcel Moolenaar2008-09-27  Simon J. Gerraty  <sjg@void.crufty.net>
20003955d011SMarcel Moolenaar
20013955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080808
20023955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20033955d011SMarcel Moolenaar	  o fix for PR/38840: Pierre Pronchery: make crashes while parsing
20043955d011SMarcel Moolenaar	    long lines in Makefiles
20053955d011SMarcel Moolenaar	  o optimizations for VarQuote by joerg
20063955d011SMarcel Moolenaar	  o fix for PR/38756: dominik: make dumps core on invalid makefile
20073955d011SMarcel Moolenaar
20083955d011SMarcel Moolenaar2008-05-15  Simon J. Gerraty  <sjg@void.crufty.net>
20093955d011SMarcel Moolenaar
20103955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080515
20113955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20123955d011SMarcel Moolenaar	  o fix skip setting vars in VAR_GLOBAL context, to handle
20133955d011SMarcel Moolenaar	    cases where VAR_CMD is used for other than command line vars.
20143955d011SMarcel Moolenaar
20153955d011SMarcel Moolenaar2008-05-14  Simon J. Gerraty  <sjg@void.crufty.net>
20163955d011SMarcel Moolenaar
20173955d011SMarcel Moolenaar	* boot-strap (make_version): we may need to look in
20183955d011SMarcel Moolenaar	$prefix/share/mk for sys.mk
20193955d011SMarcel Moolenaar
20203955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080514
20213955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20223955d011SMarcel Moolenaar	  o skip setting vars in VAR_GLOBAL context, when already set in
20233955d011SMarcel Moolenaar	  VAR_CMD which takes precedence.
20243955d011SMarcel Moolenaar
20253955d011SMarcel Moolenaar2008-03-30  Simon J. Gerraty  <sjg@void.crufty.net>
20263955d011SMarcel Moolenaar
20273955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump version to 20080330
20283955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20293955d011SMarcel Moolenaar	  o fix for ?= when LHS contains variable reference.
20303955d011SMarcel Moolenaar
20313955d011SMarcel Moolenaar2008-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
20323955d011SMarcel Moolenaar
20333955d011SMarcel Moolenaar	* merge some patches from NetBSD pkgsrc.
20343955d011SMarcel Moolenaar
20353955d011SMarcel Moolenaar	* makefile.boot.in (BOOTSTRAP_SYS_PATH): Allow better control of
20363955d011SMarcel Moolenaar	the MAKSYSPATH used during bootstrap.
20373955d011SMarcel Moolenaar
20383955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080215
20393955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20403955d011SMarcel Moolenaar	  o warn if non-space chars follow 'empty' in a conditional.
20413955d011SMarcel Moolenaar
20423955d011SMarcel Moolenaar2008-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
20433955d011SMarcel Moolenaar
20443955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20080118
20453955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20463955d011SMarcel Moolenaar	  o consider dependencies read from .depend as optional - dsl
20473955d011SMarcel Moolenaar	  o remember when buffer for reading makefile grows - dsl
20483955d011SMarcel Moolenaar	  o add -dl (aka LOUD) - David O'Brien
20493955d011SMarcel Moolenaar
20503955d011SMarcel Moolenaar2007-10-22  Simon J. Gerraty  <sjg@void.crufty.net>
20513955d011SMarcel Moolenaar
20523955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071022
20533955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20543955d011SMarcel Moolenaar	  o Allow .PATH<suffix> to be used for .include ""
20553955d011SMarcel Moolenaar
20563955d011SMarcel Moolenaar	* boot-strap: source default settings from .bmake-boot-strap.rc
20573955d011SMarcel Moolenaar
20583955d011SMarcel Moolenaar2007-10-16  Simon J. Gerraty  <sjg@void.crufty.net>
20593955d011SMarcel Moolenaar
20603955d011SMarcel Moolenaar	* Makefile.in: fix maninstall on various systems
20613955d011SMarcel Moolenaar	  provided that our man.mk is used.
20623955d011SMarcel Moolenaar	  For non-BSD systems we install the preformatted page
20633955d011SMarcel Moolenaar	  into $MANDIR/cat1
20643955d011SMarcel Moolenaar
20653955d011SMarcel Moolenaar2007-10-15  Simon J. Gerraty  <sjg@void.crufty.net>
20663955d011SMarcel Moolenaar
20673955d011SMarcel Moolenaar	* boot-strap: make bmake.1 too, so maninstall works.
20683955d011SMarcel Moolenaar
20693955d011SMarcel Moolenaar2007-10-14  Simon J. Gerraty  <sjg@void.crufty.net>
20703955d011SMarcel Moolenaar
20713955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071014
20723955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20733955d011SMarcel Moolenaar	  o revamped handling of defshell - configure no longer needs to
20743955d011SMarcel Moolenaar	    know the content of the shells array - apb
20753955d011SMarcel Moolenaar	  o stop Var_Subst modifying its input - apb
20763955d011SMarcel Moolenaar	  o avoid calling ParseTrackInput too often - dsl
20773955d011SMarcel Moolenaar
20783955d011SMarcel Moolenaar2007-10-11  Simon J. Gerraty  <sjg@void.crufty.net>
20793955d011SMarcel Moolenaar
20803955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20071011
20813955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20823955d011SMarcel Moolenaar	  o fix Shell_Init for case that _BASENAME_DEFSHELL is absolute path.
20833955d011SMarcel Moolenaar
20843955d011SMarcel Moolenaar	* sigcompat.c: some tweaks for HP-UX 11.x based on
20853955d011SMarcel Moolenaar	  patch from Tobias Nygren
20863955d011SMarcel Moolenaar
20873955d011SMarcel Moolenaar	* configure.in: update handling of --with-defshell to match
20883955d011SMarcel Moolenaar	  new make behavior.  --with-defshell=/usr/xpg4/bin/sh
20893955d011SMarcel Moolenaar	  will now do what one might hope - provided the chosen shell
20903955d011SMarcel Moolenaar	  behaves enough like sh.
20913955d011SMarcel Moolenaar
20923955d011SMarcel Moolenaar2007-10-08  Simon J. Gerraty  <sjg@void.crufty.net>
20933955d011SMarcel Moolenaar
20943955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20071008
20953955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
20963955d011SMarcel Moolenaar	  o .MAKE.JOB.PREFIX - control the token output before jobs - sjg
20973955d011SMarcel Moolenaar	  o .export/.MAKE.EXPORTED - export of variables - sjg
20983955d011SMarcel Moolenaar	  o .MAKE.MAKEFILES - track all makefiles read - sjg
20993955d011SMarcel Moolenaar	  o performance improvements - dsl
21003955d011SMarcel Moolenaar	  o revamp parallel job scheduling - dsl
21013955d011SMarcel Moolenaar
21023955d011SMarcel Moolenaar2006-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
21033955d011SMarcel Moolenaar
21043955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060728
21053955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21063955d011SMarcel Moolenaar	  o extra debug info during variable and cond processing - sjg
21073955d011SMarcel Moolenaar	  o shell definition now covers newline - rillig
21083955d011SMarcel Moolenaar	  o minor mem leak in PrintOnError - sjg
21093955d011SMarcel Moolenaar
21103955d011SMarcel Moolenaar2006-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
21113955d011SMarcel Moolenaar
21123955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20060511
21133955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21143955d011SMarcel Moolenaar	  o more memory leaks - coverity
21153955d011SMarcel Moolenaar	  o possible overflow in ArchFindMember - coverity
21163955d011SMarcel Moolenaar	  o extract variable modifier code out of Var_Parse()
21173955d011SMarcel Moolenaar	    so it can be called recursively - sjg
21183955d011SMarcel Moolenaar	  o unit-tests/moderrs - sjg
21193955d011SMarcel Moolenaar
21203955d011SMarcel Moolenaar2006-04-12  Simon J. Gerraty  <sjg@void.crufty.net>
21213955d011SMarcel Moolenaar
21223955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060412
21233955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21243955d011SMarcel Moolenaar	  o fixes for some memory leaks - coverity
21253955d011SMarcel Moolenaar	  o only read first sys.mk etc when searching sysIncPath - sjg
21263955d011SMarcel Moolenaar
21273955d011SMarcel Moolenaar	* main.c (ReadMakefile): remove hack for __INTERIX that prevented
21283955d011SMarcel Moolenaar	setting ${MAKEFILE} - OBATA Akio
21293955d011SMarcel Moolenaar
21303955d011SMarcel Moolenaar2006-03-18  Simon J. Gerraty  <sjg@void.crufty.net>
21313955d011SMarcel Moolenaar
21323955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060318
21333955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21343955d011SMarcel Moolenaar	  o cleanup of job.c to remove remote handling, distcc is more
21353955d011SMarcel Moolenaar	    useful and this code was likely bit-rotting - dsl
21363955d011SMarcel Moolenaar	  o fix for :P modifier - sjg
21373955d011SMarcel Moolenaar	* boot-strap: set default prefix to something reasonable
21383955d011SMarcel Moolenaar	  (for me anyway).
21393955d011SMarcel Moolenaar
21403955d011SMarcel Moolenaar2006-03-01  Simon J. Gerraty  <sjg@void.crufty.net>
21413955d011SMarcel Moolenaar
21423955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060301
21433955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21443955d011SMarcel Moolenaar	  o make .WAIT apply recursively, document and test case - apb
21453955d011SMarcel Moolenaar	  o allow variable modifiers in a variable appear anywhere in
21463955d011SMarcel Moolenaar	    modifier list, document and test case - sjg
21473955d011SMarcel Moolenaar
21483955d011SMarcel Moolenaar2006-02-22  Simon J. Gerraty  <sjg@void.crufty.net>
21493955d011SMarcel Moolenaar
21503955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20060222
21513955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
21523955d011SMarcel Moolenaar	  o improved job token handling - dsl
21533955d011SMarcel Moolenaar	  o SIG_DFL the correct signal before exec - dsl
21543955d011SMarcel Moolenaar	  o more debug info during parsing - dsl
21553955d011SMarcel Moolenaar	  o allow variable modifiers to be specified via variable - sjg
21563955d011SMarcel Moolenaar	* boot-strap: explain why we died if no mksrc
21573955d011SMarcel Moolenaar
21583955d011SMarcel Moolenaar2005-11-05  Simon J. Gerraty  <sjg@void.crufty.net>
21593955d011SMarcel Moolenaar
21603955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051105
21613955d011SMarcel Moolenaar	* configure.in: always set default_sys_path
21623955d011SMarcel Moolenaar	  default is ${prefix}/share/mk
21633955d011SMarcel Moolenaar	  - remove prefix_sys_path, anyone wanting more than above
21643955d011SMarcel Moolenaar	    needs to set it manually.
21653955d011SMarcel Moolenaar
21663955d011SMarcel Moolenaar2005-11-04  Simon J. Gerraty  <sjg@void.crufty.net>
21673955d011SMarcel Moolenaar
21683955d011SMarcel Moolenaar	* boot-strap: make this a bit easier for pkgsrc folk.
21693955d011SMarcel Moolenaar	  bootstrap still fails on IRIX64 since MACHINE_ARCH gets set to
21703955d011SMarcel Moolenaar	  'mips' while pkgsrc wants 'mipseb' or 'mipsel'
21713955d011SMarcel Moolenaar
21723955d011SMarcel Moolenaar2005-11-02  Simon J. Gerraty  <sjg@void.crufty.net>
21733955d011SMarcel Moolenaar
21743955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051102
21753955d011SMarcel Moolenaar	* job.c (JobFinish): fix likely ancient merge lossage
21763955d011SMarcel Moolenaar	fix from Todd Vierling.
21773955d011SMarcel Moolenaar	* boot-strap (srcdir): allow setting mksrc=none
21783955d011SMarcel Moolenaar
21793955d011SMarcel Moolenaar2005-10-31  Simon J. Gerraty  <sjg@void.crufty.net>
21803955d011SMarcel Moolenaar
21813955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051031
21823955d011SMarcel Moolenaar	* ranlib.h: skip on OSF too.
21833955d011SMarcel Moolenaar	  (NetBSD PR 31864)
21843955d011SMarcel Moolenaar
21853955d011SMarcel Moolenaar2005-10-10  Simon J. Gerraty  <sjg@void.crufty.net>
21863955d011SMarcel Moolenaar
21873955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051002
21883955d011SMarcel Moolenaar	  fix a silly typo
21893955d011SMarcel Moolenaar
21903955d011SMarcel Moolenaar2005-10-09  Simon J. Gerraty  <sjg@void.crufty.net>
21913955d011SMarcel Moolenaar
21923955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20051001
21933955d011SMarcel Moolenaar	  support for UnixWare and some other systems,
21943955d011SMarcel Moolenaar	  based on patches from pkgsrc/bootstrap
21953955d011SMarcel Moolenaar
21963955d011SMarcel Moolenaar2005-09-03  Simon J. Gerraty  <sjg@void.crufty.net>
21973955d011SMarcel Moolenaar
21983955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050901
21993955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22003955d011SMarcel Moolenaar	  o possible parse error causing us to wander off.
22013955d011SMarcel Moolenaar
22023955d011SMarcel Moolenaar2005-06-06  Simon J. Gerraty  <sjg@void.crufty.net>
22033955d011SMarcel Moolenaar
22043955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050606
22053955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22063955d011SMarcel Moolenaar	  o :0x modifier for randomizing a list
22073955d011SMarcel Moolenaar	  o fixes for a number of -Wuninitialized issues.
22083955d011SMarcel Moolenaar
22093955d011SMarcel Moolenaar2005-05-30  Simon J. Gerraty  <sjg@void.crufty.net>
22103955d011SMarcel Moolenaar
22113955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050530
22123955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22133955d011SMarcel Moolenaar	  o Handle dependencies for .BEGIN, .END and .INTERRUPT
22143955d011SMarcel Moolenaar
22153955d011SMarcel Moolenaar	* README: was seriously out of date.
22163955d011SMarcel Moolenaar
22173955d011SMarcel Moolenaar2005-03-22  Simon J. Gerraty  <sjg@void.crufty.net>
22183955d011SMarcel Moolenaar
22193955d011SMarcel Moolenaar	* Important to use .MAKE rather than MAKE.
22203955d011SMarcel Moolenaar
22213955d011SMarcel Moolenaar2005-03-15  Simon J. Gerraty  <sjg@void.crufty.net>
22223955d011SMarcel Moolenaar
22233955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20050315
22243955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22253955d011SMarcel Moolenaar	  o don't mistake .elsefoo for .else
22263955d011SMarcel Moolenaar	  o use suffix-specific search path correctly
22273955d011SMarcel Moolenaar	  o bunch of style nits
22283955d011SMarcel Moolenaar
22293955d011SMarcel Moolenaar2004-05-11  Simon J. Gerraty  <sjg@void.crufty.net>
22303955d011SMarcel Moolenaar
22313955d011SMarcel Moolenaar	* boot-strap:
22323955d011SMarcel Moolenaar	o ensure that args to --src and --with-mksrc
22333955d011SMarcel Moolenaar	  are resolved before giving them to configure.
22343955d011SMarcel Moolenaar	o add -o "objdir" so that builder can control it,
22353955d011SMarcel Moolenaar	  default is $OS as determined by os.sh
22363955d011SMarcel Moolenaar	o add -q to suppress all the install instructions.
22373955d011SMarcel Moolenaar
22383955d011SMarcel Moolenaar2004-05-08  Simon J. Gerraty  <sjg@void.crufty.net>
22393955d011SMarcel Moolenaar
22403955d011SMarcel Moolenaar	* Remove __IDSTRING()
22413955d011SMarcel Moolenaar
22423955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040508
22433955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22443955d011SMarcel Moolenaar	  o posix fixes
22453955d011SMarcel Moolenaar	    - remove '-e' from compat mode
22463955d011SMarcel Moolenaar	    - add support for '+' command-line prefix.
22473955d011SMarcel Moolenaar	  o fix for handling '--' on command-line.
22483955d011SMarcel Moolenaar	  o fix include in lst.lib/lstInt.h to simplify '-I's
22493955d011SMarcel Moolenaar	  o we also picked up replacement of MAKE_BOOTSTRAP
22503955d011SMarcel Moolenaar	    with !MAKE_NATIVE which is a noop, but possibly confusing.
22513955d011SMarcel Moolenaar
22523955d011SMarcel Moolenaar2004-04-14  Simon J. Gerraty  <sjg@void.crufty.net>
22533955d011SMarcel Moolenaar
22543955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040414
22553955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22563955d011SMarcel Moolenaar	  o allow quoted strings on lhs of conditionals
22573955d011SMarcel Moolenaar	  o issue warning when extra .else is seen
22583955d011SMarcel Moolenaar	  o print line numer when errors encountered during parsing from
22593955d011SMarcel Moolenaar	  string.
22603955d011SMarcel Moolenaar
22613955d011SMarcel Moolenaar2004-02-20  Simon J. Gerraty  <sjg@void.crufty.net>
22623955d011SMarcel Moolenaar
22633955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION):  bump to 20040220
22643955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22653955d011SMarcel Moolenaar	  o fix for old :M parsing bug.
22663955d011SMarcel Moolenaar	  o re-jigged unit-tests
22673955d011SMarcel Moolenaar
22683955d011SMarcel Moolenaar2004-02-15  Simon J. Gerraty  <sjg@void.crufty.net>
22693955d011SMarcel Moolenaar
22703955d011SMarcel Moolenaar	* Makefile.in (accept test): use ${.MAKE:S,^./,${.CURDIR}/,}
22713955d011SMarcel Moolenaar	so that './bmake -f Makefile test' works.
22723955d011SMarcel Moolenaar
22733955d011SMarcel Moolenaar2004-02-14  Simon J. Gerraty  <sjg@void.crufty.net>
22743955d011SMarcel Moolenaar
22753955d011SMarcel Moolenaar	* Makefile.in: (BMAKE_VERSION): bump to 20040214
22763955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22773955d011SMarcel Moolenaar	  o search upwards for *.mk
22783955d011SMarcel Moolenaar	  o fix for double free of var substitution buffers
22793955d011SMarcel Moolenaar	  o use of getopt replaced with custom code, since the usage
22803955d011SMarcel Moolenaar	  (re-scanning) isn't posix compatible.
22813955d011SMarcel Moolenaar
22823955d011SMarcel Moolenaar2004-02-12  Simon J. Gerraty  <sjg@void.crufty.net>
22833955d011SMarcel Moolenaar
22843955d011SMarcel Moolenaar	* arch.c: don't include ranlib.h on ELF systems
22853955d011SMarcel Moolenaar	(thanks to Chuck Cranor <chuck@ece.cmu.edu>).
22863955d011SMarcel Moolenaar
22873955d011SMarcel Moolenaar2004-01-18  Simon J. Gerraty  <sjg@void.crufty.net>
22883955d011SMarcel Moolenaar
22893955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump to 20040118
22903955d011SMarcel Moolenaar
22913955d011SMarcel Moolenaar	* boot-strap (while): export vars we assign to on cmdline
22923955d011SMarcel Moolenaar	* unit-test/Makefile.in: ternary is .PHONY
22933955d011SMarcel Moolenaar
22943955d011SMarcel Moolenaar2004-01-08  Simon J. Gerraty  <sjg@void.crufty.net>
22953955d011SMarcel Moolenaar
22963955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040108
22973955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
22983955d011SMarcel Moolenaar	  o fix for ternary modifier
22993955d011SMarcel Moolenaar
23003955d011SMarcel Moolenaar2004-01-06  Simon J. Gerraty  <sjg@void.crufty.net>
23013955d011SMarcel Moolenaar
23023955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20040105
23033955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
23043955d011SMarcel Moolenaar	  o fix for cond.c to handle compound expressions better
23053955d011SMarcel Moolenaar	  o variable expansion within sysV style replacements
23063955d011SMarcel Moolenaar
23073955d011SMarcel Moolenaar2003-12-22  Simon J. Gerraty  <sjg@void.crufty.net>
23083955d011SMarcel Moolenaar
23093955d011SMarcel Moolenaar	* Make portable snprintf safer - output to /dev/null first to
23103955d011SMarcel Moolenaar	check space needed.
23113955d011SMarcel Moolenaar
23123955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20031222
23133955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
23143955d011SMarcel Moolenaar	  o -dg3 to show input graph when things go wrong.
23153955d011SMarcel Moolenaar	  o explicitly look for makefiles in objdir if not found in curdir so
23163955d011SMarcel Moolenaar	    that errors in .depend etc will be reported accurarely.
23173955d011SMarcel Moolenaar	  o avoid use of -e in shell scripts in jobs mode, use '|| exit $?'
23183955d011SMarcel Moolenaar	    instead as it more accurately reflects the expected behavior and
23193955d011SMarcel Moolenaar	    is more consistently implemented.
23203955d011SMarcel Moolenaar	  o avoid use of asprintf.
23213955d011SMarcel Moolenaar
23223955d011SMarcel Moolenaar2003-09-28  Simon J. Gerraty  <sjg@void.crufty.net>
23233955d011SMarcel Moolenaar
23243955d011SMarcel Moolenaar	* util.c: Add asprintf and vasprintf.
23253955d011SMarcel Moolenaar
23263955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030928
23273955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
23283955d011SMarcel Moolenaar	:[] modifier - allows picking words from a variable.
23293955d011SMarcel Moolenaar	:tW modifier - allows treating value as one big word.
23303955d011SMarcel Moolenaar	W flag for :C and :S - allows treating value as one big word.
23313955d011SMarcel Moolenaar
23323955d011SMarcel Moolenaar2003-09-12  Simon J. Gerraty  <sjg@void.crufty.net>
23333955d011SMarcel Moolenaar
23343955d011SMarcel Moolenaar	* Merge with NetBSD make
23353955d011SMarcel Moolenaar	pick up -de flag to enable printing failed command.
23363955d011SMarcel Moolenaar	don't skip 1st two dir entries (normally . and ..) since
23373955d011SMarcel Moolenaar	coda does not have them.
23383955d011SMarcel Moolenaar
23393955d011SMarcel Moolenaar2003-09-09  Simon J. Gerraty  <sjg@void.crufty.net>
23403955d011SMarcel Moolenaar
23413955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030909
23423955d011SMarcel Moolenaar	* Merge with NetBSD make, pick up:
23433955d011SMarcel Moolenaar	- changes for -V '${VAR}' to print fully expanded value
23443955d011SMarcel Moolenaar	  cf. -V VAR
23453955d011SMarcel Moolenaar	- CompatRunCommand now prints the command that failed.
23463955d011SMarcel Moolenaar	- several files got updated 3 clause Berkeley license.
23473955d011SMarcel Moolenaar
23483955d011SMarcel Moolenaar2003-08-02  Simon J. Gerraty  <sjg@void.crufty.net>
23493955d011SMarcel Moolenaar
23503955d011SMarcel Moolenaar	* boot-strap: Allow setting configure args on command line.
23513955d011SMarcel Moolenaar
23523955d011SMarcel Moolenaar2003-07-31  Simon J. Gerraty  <sjg@void.crufty.net>
23533955d011SMarcel Moolenaar
23543955d011SMarcel Moolenaar	* configure.in: add --with-defshell to allow sh or ksh
23553955d011SMarcel Moolenaar	to be selected as default shell.
23563955d011SMarcel Moolenaar
23573955d011SMarcel Moolenaar	* Makefile.in: bump version to 20030731
23583955d011SMarcel Moolenaar
23593955d011SMarcel Moolenaar	* Merge with NetBSD make
23603955d011SMarcel Moolenaar	Pick up .SHELL spec for ksh and associate man page changes.
23613955d011SMarcel Moolenaar	Also compat mode now uses the same shell specs.
23623955d011SMarcel Moolenaar
23633955d011SMarcel Moolenaar2003-07-29  Simon J. Gerraty  <sjg@void.crufty.net>
23643955d011SMarcel Moolenaar
23653955d011SMarcel Moolenaar	* var.c (Var_Parse): ensure delim is initialized.
23663955d011SMarcel Moolenaar
23673955d011SMarcel Moolenaar	* unit-tests/Makefile.in: use single quotes to avoid problems from
23683955d011SMarcel Moolenaar	some shells.
23693955d011SMarcel Moolenaar
23703955d011SMarcel Moolenaar	* makefile.boot.in:
23713955d011SMarcel Moolenaar	Run the unit-tests as part of the bootstrap procedure.
23723955d011SMarcel Moolenaar
23733955d011SMarcel Moolenaar2003-07-28  Simon J. Gerraty  <sjg@void.crufty.net>
23743955d011SMarcel Moolenaar
23753955d011SMarcel Moolenaar	* unit-tests/Makefile.in: always force complaints from
23763955d011SMarcel Moolenaar	${TEST_MAKE} to be from 'make'.
23773955d011SMarcel Moolenaar
23783955d011SMarcel Moolenaar	* configure.in: add check for 'diff -u'
23793955d011SMarcel Moolenaar	also fix some old autoconf'isms
23803955d011SMarcel Moolenaar
23813955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030728.
23823955d011SMarcel Moolenaar	if using GCC add -Wno-cast-qual to CFLAGS for var.o
23833955d011SMarcel Moolenaar
23843955d011SMarcel Moolenaar	* Merge with NetBSD make
23853955d011SMarcel Moolenaar	Pick up fix for :ts parsing error in some cases.
23863955d011SMarcel Moolenaar	Pick unit-tests.
23873955d011SMarcel Moolenaar
23883955d011SMarcel Moolenaar2003-07-23  Simon J. Gerraty  <sjg@void.crufty.net>
23893955d011SMarcel Moolenaar
23903955d011SMarcel Moolenaar	* Makefile.in (BMAKE_VERSION): bump version to 20030723.
23913955d011SMarcel Moolenaar
23923955d011SMarcel Moolenaar	* var.c (Var_Parse): fix bug in :ts modifier, after const
23933955d011SMarcel Moolenaar	correctness fixes, must pass nstr to VarModify.
23943955d011SMarcel Moolenaar
23953955d011SMarcel Moolenaar2003-07-14  Simon J. Gerraty  <sjg@void.crufty.net>
23963955d011SMarcel Moolenaar
23973955d011SMarcel Moolenaar	* Makefile.in: BMAKE_VERSION switch to a date based version.
23983955d011SMarcel Moolenaar	We'll generally use the date of last import from NetBSD.
23993955d011SMarcel Moolenaar
24003955d011SMarcel Moolenaar	* Merge with NetBSD make
24013955d011SMarcel Moolenaar	Pick up fixes for const-correctness, now passes WARNS=3 on
24023955d011SMarcel Moolenaar	NetBSD.
24033955d011SMarcel Moolenaar	Pick up :ts modifier, allows controlling the separator used
24043955d011SMarcel Moolenaar	between words in variable expansion.
24053955d011SMarcel Moolenaar
24063955d011SMarcel Moolenaar2003-07-11  Simon J. Gerraty  <sjg@void.crufty.net>
24073955d011SMarcel Moolenaar
24083955d011SMarcel Moolenaar	* FILES: include boot-strap and os.sh
24093955d011SMarcel Moolenaar
24103955d011SMarcel Moolenaar	* Makefile.in: only set WARNS if we are NetBSD, the effect on
24113955d011SMarcel Moolenaar	FreeBSD is known to be bad.
24123955d011SMarcel Moolenaar
24133955d011SMarcel Moolenaar	* makefile.boot.in (bootstrap): make this the default target.
24143955d011SMarcel Moolenaar
24153955d011SMarcel Moolenaar	* Makefile.in: bump version to 3.1.19
24163955d011SMarcel Moolenaar
24173955d011SMarcel Moolenaar	* machine.sh: avoid A-Z with tr as it is bound to lose.
24183955d011SMarcel Moolenaar
24193955d011SMarcel Moolenaar2003-07-10  Simon J. Gerraty  <sjg@void.crufty.net>
24203955d011SMarcel Moolenaar
24213955d011SMarcel Moolenaar	* Merge with NetBSD make
24223955d011SMarcel Moolenaar	Pick up fix for PR/19781 - unhelpful error msg on unclosed ${var:foo
24233955d011SMarcel Moolenaar	Plus some doc fixes.
24243955d011SMarcel Moolenaar
24253955d011SMarcel Moolenaar2003-04-27  Simon J. Gerraty  <sjg@void.crufty.net>
24263955d011SMarcel Moolenaar
24273955d011SMarcel Moolenaar	* Merge with NetBSD make
24283955d011SMarcel Moolenaar	Pick up fix for PR/1523 - don't count a library as built, if there
24293955d011SMarcel Moolenaar	is no way to build it
24303955d011SMarcel Moolenaar
24313955d011SMarcel Moolenaar	* Bump version to 3.1.18
24323955d011SMarcel Moolenaar
24333955d011SMarcel Moolenaar2003-03-23  Simon J. Gerraty  <sjg@void.crufty.net>
24343955d011SMarcel Moolenaar
24353955d011SMarcel Moolenaar	* Merge with NetBSD make
24363955d011SMarcel Moolenaar	Pick up fix for ParseDoSpecialSrc - we only use it if .WAIT
24373955d011SMarcel Moolenaar	appears in src list.
24383955d011SMarcel Moolenaar
24393955d011SMarcel Moolenaar2003-03-21  Simon J. Gerraty  <sjg@void.crufty.net>
24403955d011SMarcel Moolenaar
24413955d011SMarcel Moolenaar	* Merge with NetBSD make (mmm 10th anniversary!)
24423955d011SMarcel Moolenaar	pick up fix for .WAIT in srcs that refer to $@ or $* (PR#20828)
24433955d011SMarcel Moolenaar	pick up -X which tells us to not export VAR=val via setenv if
24443955d011SMarcel Moolenaar	we are already doing so via MAKEFLAGS.  This saves valuable env
24453955d011SMarcel Moolenaar	space on systems like Darwin.
24463955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.17
24473955d011SMarcel Moolenaar
24483955d011SMarcel Moolenaar	* parse.c: pix up fix for suffix rules
24493955d011SMarcel Moolenaar
24503955d011SMarcel Moolenaar2003-03-06  Simon J. Gerraty  <sjg@void.crufty.net>
24513955d011SMarcel Moolenaar
24523955d011SMarcel Moolenaar	* Merge with NetBSD make.
24533955d011SMarcel Moolenaar	pick up fix for propagating -B via MAKEFLAGS.
24543955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.16
24553955d011SMarcel Moolenaar
24563955d011SMarcel Moolenaar	* Apply some patches from pkgsrc-bootstrap/bmake
24573955d011SMarcel Moolenaar	Originally by Grant Beattie <grant@netbsd.org>
24583955d011SMarcel Moolenaar	I may have missed some - since they are based on bmake-3.1.12
24593955d011SMarcel Moolenaar
24603955d011SMarcel Moolenaar2002-12-03  Simon J. Gerraty  <sjg@void.crufty.net>
24613955d011SMarcel Moolenaar
24623955d011SMarcel Moolenaar	* makefile.boot.in (bmake): update install targets for those that
24633955d011SMarcel Moolenaar	use them, also clear MAKEFLAGS when invoking bmake.boot to avoid
24643955d011SMarcel Moolenaar	havoc from gmake -w.  Thanks to Harlan Stenn <hstenn@cisco.com>.
24653955d011SMarcel Moolenaar
24663955d011SMarcel Moolenaar	* bmake.cat1: update the pre-formatted man page!
24673955d011SMarcel Moolenaar
24683955d011SMarcel Moolenaar2002-11-30  Simon J. Gerraty  <sjg@void.crufty.net>
24693955d011SMarcel Moolenaar
24703955d011SMarcel Moolenaar	* Merge with NetBSD make.
24713955d011SMarcel Moolenaar	pick up fix for premature free of pointer used in call
24723955d011SMarcel Moolenaar	to Dir_InitCur().
24733955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.15
24743955d011SMarcel Moolenaar
24753955d011SMarcel Moolenaar2002-11-26  Simon J. Gerraty  <sjg@void.crufty.net>
24763955d011SMarcel Moolenaar
24773955d011SMarcel Moolenaar	* configure.in: determine suitable value for MKSRC.
24783955d011SMarcel Moolenaar	override using --with-mksrc=PATH.
24793955d011SMarcel Moolenaar
24803955d011SMarcel Moolenaar	* machine.sh: use `uname -p` for MACHINE_ARCH on modern SunOS systems.
24813955d011SMarcel Moolenaar	configs(8) will use 'sun4' as an alias for 'sparc'.
24823955d011SMarcel Moolenaar
24833955d011SMarcel Moolenaar2002-11-25  Simon J. Gerraty  <sjg@void.crufty.net>
24843955d011SMarcel Moolenaar
24853955d011SMarcel Moolenaar	* Merge with NetBSD make.
24863955d011SMarcel Moolenaar	pick up ${.PATH}
24873955d011SMarcel Moolenaar	pick up fix for finding ../cat.c via .PATH when .CURDIR=..
24883955d011SMarcel Moolenaar	set MAKE_VERSION to 3.1.14
24893955d011SMarcel Moolenaar	add configure checks for killpg and sys/socket.h
24903955d011SMarcel Moolenaar
24913955d011SMarcel Moolenaar2002-09-16  Simon J. Gerraty  <sjg@void.crufty.net>
24923955d011SMarcel Moolenaar
24933955d011SMarcel Moolenaar	* tag bmake-3-1-13
24943955d011SMarcel Moolenaar
24953955d011SMarcel Moolenaar	* makefile.boot.in (bmake): use install-mk
24963955d011SMarcel Moolenaar	Also setup ./mk before trying to invoke bmake.boot incase we
24973955d011SMarcel Moolenaar	needed install-mk to create a sys.mk for us.
24983955d011SMarcel Moolenaar
24993955d011SMarcel Moolenaar	* configure.in: If we need to add -I${srcdir}/missing, make it an
25003955d011SMarcel Moolenaar	absolute path so that it works for lst.lib too.
25013955d011SMarcel Moolenaar
25023955d011SMarcel Moolenaar	* make.h: always include sys/cdefs.h since we provide one if the
25033955d011SMarcel Moolenaar	host does not.
25043955d011SMarcel Moolenaar
25053955d011SMarcel Moolenaar	* Makefile.in (install-mk):
25063955d011SMarcel Moolenaar	use MKSRC/install-mk which will do the right thing.
25073955d011SMarcel Moolenaar	use uname -p for ARCH if possible.
25083955d011SMarcel Moolenaar	since install-mk will setup links bsd.prog.mk -> prog.mk if
25093955d011SMarcel Moolenaar	needed, just .include bsd.prog.mk
25103955d011SMarcel Moolenaar
25113955d011SMarcel Moolenaar	* Merge with NetBSD make (NetBSD-1.6)
25123955d011SMarcel Moolenaar	Code is ansi-C only now.
25133955d011SMarcel Moolenaar	Bug in handling of dotLast is fixed.
25143955d011SMarcel Moolenaar	Can now assign .OBJDIR and make will reset its notions of life.
25153955d011SMarcel Moolenaar	New modifiers :tu :tl for toUpper and toLower.
25163955d011SMarcel Moolenaar
25173955d011SMarcel MoolenaarTue Oct 16 12:18:42 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
25183955d011SMarcel Moolenaar
25193955d011SMarcel Moolenaar	* Merge with NetBSD make
25203955d011SMarcel Moolenaar	pick up fix for .END failure in compat mode.
25213955d011SMarcel Moolenaar	pick up fix for extra va_end() in ParseVErrorInternal.
25223955d011SMarcel Moolenaar
25233955d011SMarcel MoolenaarThu Oct 11 13:20:06 2001  Simon J. Gerraty  <sjg@zen.crufty.net>
25243955d011SMarcel Moolenaar
25253955d011SMarcel Moolenaar	* configure.in: for systems that have sys/cdefs.h check if it is
25263955d011SMarcel Moolenaar	compatible.  If not, include the one under missing, but tell it to
25273955d011SMarcel Moolenaar	include the native one too - necessary on Linux.
25283955d011SMarcel Moolenaar
25293955d011SMarcel Moolenaar	* missing/sys/cdefs.h: if NEED_HOST_CDEFS_H is defined, use
25303955d011SMarcel Moolenaar	include_next (for gcc) to get the native sys/cdefs.h
25313955d011SMarcel Moolenaar
25323955d011SMarcel MoolenaarTue Aug 21 02:29:34 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25333955d011SMarcel Moolenaar
25343955d011SMarcel Moolenaar	* job.c (JobFinish): Fix an earlier merge bug that resulted in
25353955d011SMarcel Moolenaar	leaking descriptors when using -jN.
25363955d011SMarcel Moolenaar
25373955d011SMarcel Moolenaar	* job.c (JobPrintCommand): See if "curdir" exists before
25383955d011SMarcel Moolenaar	attempting to chdir().  Doing the chdir directly in make (when in
25393955d011SMarcel Moolenaar	compat mode) fails silently, so let the -jN version do the same.
25403955d011SMarcel Moolenaar	This can happen when building kernels in an object tree and
25413955d011SMarcel Moolenaar	playing clever games to reset .CURDIR.
25423955d011SMarcel Moolenaar
25433955d011SMarcel Moolenaar	* Merged with NetBSD make
25443955d011SMarcel Moolenaar	pick up .USEBEFORE
25453955d011SMarcel Moolenaar
25463955d011SMarcel MoolenaarTue Jun 26 23:45:11 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25473955d011SMarcel Moolenaar
25483955d011SMarcel Moolenaar	* makefile.boot.in: Give bmake.boot a MAKESYSPATH that might work.
25493955d011SMarcel Moolenaar
25503955d011SMarcel MoolenaarTue Jun 12 16:48:57 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25513955d011SMarcel Moolenaar
25523955d011SMarcel Moolenaar	* var.c (Var_Set): Add 4th (flags) arg so VarLoopExpand can tell
25533955d011SMarcel Moolenaar	us not to export the iterator variable when using VAR_CMD context.
25543955d011SMarcel Moolenaar
25553955d011SMarcel MoolenaarSun Jun 10 21:55:21 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25563955d011SMarcel Moolenaar
25573955d011SMarcel Moolenaar	* job.c (Job_CatchChildren): don't call Job_CatchOutput() here,
25583955d011SMarcel Moolenaar	its the wrong "fix".
25593955d011SMarcel Moolenaar
25603955d011SMarcel MoolenaarSat Jun  9 00:11:24 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25613955d011SMarcel Moolenaar
25623955d011SMarcel Moolenaar	* Redesigned export of VAR_CMD's via MAKEFLAGS.
25633955d011SMarcel Moolenaar	We now simply append the variable names to .MAKEOVERRIDES, and
25643955d011SMarcel Moolenaar	handle duplicate suppression and quoting in ExportMAKEFLAGS using:
25653955d011SMarcel Moolenaar	${.MAKEOVERRIDES:O:u:@v@$v=${$v:Q}@}
25663955d011SMarcel Moolenaar	Apart from fixing quoting bugs in previous version, this allows us
25673955d011SMarcel Moolenaar	to export vars to the environment by simply doing:
25683955d011SMarcel Moolenaar	.MAKEOVERRIDES+= PATH
25693955d011SMarcel Moolenaar	Merged again with NetBSD make, but the above is the only change.
25703955d011SMarcel Moolenaar
25713955d011SMarcel Moolenaar	* configure.in: added
25723955d011SMarcel Moolenaar	--disable-pwd-override		disable $PWD overriding getcwd()
25733955d011SMarcel Moolenaar	--disable-check-make-chdir	disable make trying to guess
25743955d011SMarcel Moolenaar		when it should automatically cd ${.CURDIR}
25753955d011SMarcel Moolenaar
25763955d011SMarcel Moolenaar	* Merge with NetBSD make, changes include:
25773955d011SMarcel Moolenaar	parse.c (ParseDoDependency): Spot that the syntax error is
25783955d011SMarcel Moolenaar	caused by an unresolved cvs/rcs conflict and say so.
25793955d011SMarcel Moolenaar	var.c: most of Var* functions now take a ctxt as 1st arg.
25803955d011SMarcel Moolenaar	now does variable substituion on rhs of sysv style modifiers.
25813955d011SMarcel Moolenaar
25823955d011SMarcel Moolenaar	* var.c (Var_Set): exporting of command line variables (VAR_CMD)
25833955d011SMarcel Moolenaar	is now done here.  We append the name='value' to .MAKEOVERRIDES
25843955d011SMarcel Moolenaar	rather than directly into MAKEFLAGS as this allows a Makefile to
25853955d011SMarcel Moolenaar	use .MAKEOVERRIDES= to disable this behaviour.  GNU make uses a
25863955d011SMarcel Moolenaar	very similar mechanism.  Note that in adding name='value' to
25873955d011SMarcel Moolenaar	.MAKEOVERRIDES we do the moral equivalent of:
25883955d011SMarcel Moolenaar	.MAKEOVERRIDES:= ${.MAKEOVERRIDES:Nname=*} name='val'
25893955d011SMarcel Moolenaar
25903955d011SMarcel MoolenaarFri Jun  1 14:08:02 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25913955d011SMarcel Moolenaar
25923955d011SMarcel Moolenaar	* make-conf.h (USE_IOVEC): make it conditional on HAVE_SYS_UIO_H
25933955d011SMarcel Moolenaar
25943955d011SMarcel Moolenaar	* Merged with NetBSD make
25953955d011SMarcel Moolenaar	make -dx can now be used to run commands via sh -x
25963955d011SMarcel Moolenaar	better error messages on exec failures.
25973955d011SMarcel Moolenaar
25983955d011SMarcel MoolenaarThu May 31 01:44:54 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
25993955d011SMarcel Moolenaar
26003955d011SMarcel Moolenaar	* Makefile.in (main.o): depends on ${SRCS} ${MAKEFILE} so that
26013955d011SMarcel Moolenaar	MAKE_VERSION gets updated.  Also don't use ?= for MAKE_VERSION,
26023955d011SMarcel Moolenaar	MACHINE etc otherwise they propagate from the previous bmake.
26033955d011SMarcel Moolenaar
26043955d011SMarcel Moolenaar	* configure.in (machine): allow --with-machine=generic to make
26053955d011SMarcel Moolenaar	configure use machine.sh to set MACHINE.
26063955d011SMarcel Moolenaar
26073955d011SMarcel Moolenaar	* job.c (JobInterrupt): convert to using WAIT_T and friends.
26083955d011SMarcel Moolenaar
26093955d011SMarcel Moolenaar	* Makefile.in: mention in bmake.1 that we use autoconf.
26103955d011SMarcel Moolenaar
26113955d011SMarcel Moolenaar	* make.1: mention MAKE_PRINT_VAR_ON_ERROR.
26123955d011SMarcel Moolenaar
26133955d011SMarcel MoolenaarWed May 30 23:17:18 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
26143955d011SMarcel Moolenaar
26153955d011SMarcel Moolenaar	* main.c (ReadMakefile): don't set MAKEFILE if reading ".depend"
26163955d011SMarcel Moolenaar	as that rather defeats the usefulness of ${MAKEFILE}.
26173955d011SMarcel Moolenaar
26183955d011SMarcel Moolenaar	* main.c (MainParseArgs): append command line variable assignments
26193955d011SMarcel Moolenaar	to MAKEFLAGS so that they get propagated to child make's.
26203955d011SMarcel Moolenaar	Apparently this is required POSIX behaviour?  Its useful anyway.
26213955d011SMarcel Moolenaar
26223955d011SMarcel MoolenaarTue May 29 02:20:07 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
26233955d011SMarcel Moolenaar
26243955d011SMarcel Moolenaar	* compat.c (CompatRunCommand): don't use perror() since stdio may
26253955d011SMarcel Moolenaar	cause problems in child of vfork().
26263955d011SMarcel Moolenaar
26273955d011SMarcel Moolenaar	* compat.c, main.c: Call PrintOnError() when we are going to bail.
26283955d011SMarcel Moolenaar	This routine prints out the .curdir where we stopped and will also
26293955d011SMarcel Moolenaar	display any vars listed in ${MAKE_PRINT_VAR_ON_ERROR}.
26303955d011SMarcel Moolenaar
26313955d011SMarcel Moolenaar	* main.c: add ${.newline} to hold a "\n" - sometimes handy in
26323955d011SMarcel Moolenaar	:@ expansion.
26333955d011SMarcel Moolenaar
26343955d011SMarcel Moolenaar	* var.c: VarLoopExpand: ignore addSpace if a \n is present.
26353955d011SMarcel Moolenaar
26363955d011SMarcel Moolenaar	* Added RCSid's for the files we've touched.
26373955d011SMarcel Moolenaar
26383955d011SMarcel MoolenaarThu May 24 15:41:37 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
26393955d011SMarcel Moolenaar
26403955d011SMarcel Moolenaar	* configure.in:	Thanks to some clues from mdb@juniper.net,
26413955d011SMarcel Moolenaar	added autoconf magic to control setting of MACHINE, MACHINE_ARCH
26423955d011SMarcel Moolenaar	as well as what ends up in _PATH_DEFSYSPATH.  We now have:
26433955d011SMarcel Moolenaar
26443955d011SMarcel Moolenaar  --with-machine=MACHINE  explicitly set MACHINE
26453955d011SMarcel Moolenaar  --with-force-machine=MACHINE  set FORCE_MACHINE
26463955d011SMarcel Moolenaar  --with-machine_arch=MACHINE_ARCH  explicitly set MACHINE_ARCH
26473955d011SMarcel Moolenaar  --with-default-sys-path=PATH:DIR:LIST  use an explicit _PATH_DEFSYSPATH
26483955d011SMarcel Moolenaar  --with-prefix-sys-path=PATH:DIR:LIST  prefix _PATH_PREFIX_SYSPATH
26493955d011SMarcel Moolenaar  --with-path-objdirprefix=PATH  override _PATH_OBJDIRPREFIX
26503955d011SMarcel Moolenaar
26513955d011SMarcel Moolenaar	If _PATH_OBJDIRPREFIX is set to "no" we won't define it.
26523955d011SMarcel Moolenaar
26533955d011SMarcel Moolenaar	* makefile: added a pathetically simple makefile to drive
26543955d011SMarcel Moolenaar	bootstrapping.  Running configure by hand is more useful.
26553955d011SMarcel Moolenaar
26563955d011SMarcel Moolenaar	* Makefile.in: added MAKE_VERSION, and reworked things to be less
26573955d011SMarcel Moolenaar	dependent on NetBSD bsd.*.mk
26583955d011SMarcel Moolenaar
26593955d011SMarcel Moolenaar	* pathnames.h: allow NO_PATH_OBJDIRPREFIX to stop us defining
26603955d011SMarcel Moolenaar	_PATH_OBJDIRPREFIX for those that don't want a default.
26613955d011SMarcel Moolenaar	construct _PATH_DEFSYSPATH from the info we get from configure.
26623955d011SMarcel Moolenaar
26633955d011SMarcel Moolenaar	* main.c: allow for no _PATH_OBJDIRPREFIX, set ${MAKE_VERSION}
26643955d011SMarcel Moolenaar	if MAKE_VERSION is defined.
26653955d011SMarcel Moolenaar
26663955d011SMarcel Moolenaar	* compat.c: when we bail, print out the .CURDIR we were in.
26673955d011SMarcel Moolenaar
26683955d011SMarcel MoolenaarSat May 12 00:34:12 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
26693955d011SMarcel Moolenaar
26703955d011SMarcel Moolenaar	* Merged with NetBSD make
26713955d011SMarcel Moolenaar
26723955d011SMarcel Moolenaar	* var.c: fixed a bug in the handling of the modifier :P
26733955d011SMarcel Moolenaar	if the node as found but the path was null, we segfault trying to
26743955d011SMarcel Moolenaar	duplicate it.
26753955d011SMarcel Moolenaar
26763955d011SMarcel MoolenaarMon Mar  5 16:20:33 2001  Simon J. Gerraty  <sjg@zen.quick.com.au>
26773955d011SMarcel Moolenaar
26783955d011SMarcel Moolenaar	* Merged with NetBSD make
26793955d011SMarcel Moolenaar
26803955d011SMarcel Moolenaar	* make.c: Make_OODate's test for a library out of date was using
26813955d011SMarcel Moolenaar	cmtime where it should have used mtime (my bug).
26823955d011SMarcel Moolenaar
26833955d011SMarcel Moolenaar	* compat.c: Use perror() to tell us what really went wrong when we
26843955d011SMarcel Moolenaar	cannot exec a command.
26853955d011SMarcel Moolenaar
26863955d011SMarcel MoolenaarFri Dec 15 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
26873955d011SMarcel Moolenaar
26883955d011SMarcel Moolenaar	* Merged with NetBSD make
26893955d011SMarcel Moolenaar
26903955d011SMarcel MoolenaarSat Jun 10 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
26913955d011SMarcel Moolenaar
26923955d011SMarcel Moolenaar	* Merged with NetBSD make
26933955d011SMarcel Moolenaar
26943955d011SMarcel MoolenaarThu Jun  1 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
26953955d011SMarcel Moolenaar
26963955d011SMarcel Moolenaar	* Merged with NetBSD make
26973955d011SMarcel Moolenaar
26983955d011SMarcel MoolenaarTue May 30 10:11:08  2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
26993955d011SMarcel Moolenaar
27003955d011SMarcel Moolenaar	* Merged with NetBSD make
27013955d011SMarcel Moolenaar
27023955d011SMarcel MoolenaarThu Apr 27 00:07:47 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
27033955d011SMarcel Moolenaar
27043955d011SMarcel Moolenaar	* util.c: don't provide signal() since we use sigcompat.c
27053955d011SMarcel Moolenaar
27063955d011SMarcel Moolenaar	* Makefile.in: added a build target.
27073955d011SMarcel Moolenaar
27083955d011SMarcel Moolenaar	* var.c (Var_Parse): added ODE modifiers :U, :D, :L, :P, :@ and :!
27093955d011SMarcel Moolenaar	These allow some quite clever magic.
27103955d011SMarcel Moolenaar
27113955d011SMarcel Moolenaar	* main.c (main): added support for getenv(MAKESYSPATH).
27123955d011SMarcel Moolenaar
27133955d011SMarcel MoolenaarMon Apr  2 16:25:13 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
27143955d011SMarcel Moolenaar
27153955d011SMarcel Moolenaar	* Disable $PWD overriding getcwd() if MAKEOBJDIRPREFIX is set.
27163955d011SMarcel Moolenaar	This avoids objdir having a different value depending on how a
27173955d011SMarcel Moolenaar	directory was reached (via command line, or subdir.mk).
27183955d011SMarcel Moolenaar
27193955d011SMarcel Moolenaar	* If FORCE_MACHINE is defined, ignore getenv("MACHINE").
27203955d011SMarcel Moolenaar
27213955d011SMarcel MoolenaarMon Apr  2 23:15:31 2000  Simon J. Gerraty  <sjg@zen.quick.com.au>
27223955d011SMarcel Moolenaar
27233955d011SMarcel Moolenaar	* Do a chdir(${.CURDIR}) before invoking ${.MAKE} or ${.MAKE:T} if
27243955d011SMarcel Moolenaar	MAKEOBJDIRPREFIX is set and NOCHECKMAKECHDIR is not.
27253955d011SMarcel Moolenaar	I've been testing this in NetBSD's make for some weeks.
27263955d011SMarcel Moolenaar
27273955d011SMarcel Moolenaar	* Turn Makefile into Makefile.in and make it useful.
27283955d011SMarcel Moolenaar
27293955d011SMarcel MoolenaarTue Feb 29 22:08:00 2000 Simon J. Gerraty  <sjg@zen.quick.com.au>
27303955d011SMarcel Moolenaar
27313955d011SMarcel Moolenaar	* Imported NetBSD's -current make(1) and resolve conflicts.
27323955d011SMarcel Moolenaar
27333955d011SMarcel Moolenaar	* Applied autoconf patches from bmake v2
27343955d011SMarcel Moolenaar
27353955d011SMarcel Moolenaar	* Imported clean code base from NetBSD-1.0
2736