perry
0f0296d88a
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:45:08 +00:00
christos
efc9df200f
PR/31077: Wil L: /usr/bin/make can read off of end of buffer
2005-08-27 08:04:26 +00:00
christos
abefed98a7
Add typedefs for DuplicateProc and FreeProc from Max Okumoto.
2005-08-09 21:36:42 +00:00
christos
81b135acdf
From Max Okumoto:
...
- Remove casts to NULL.
- Remove space between cast and object.
2005-08-08 16:42:54 +00:00
christos
6240774069
More KNF cleanups from Max Okumoto
2005-08-05 00:53:18 +00:00
christos
9f80093159
remove unnecessary casts to void * functions (Max Okumoto)
2005-08-04 00:20:12 +00:00
christos
62a6753895
from Max Okumoto: debug should be int, not boolean.
2005-08-03 20:55:01 +00:00
christos
b3350d3e14
Remove unused files. From Max Okumoto.
2005-07-30 00:49:13 +00:00
christos
3692d77541
Whitespace KNF cleanup from Max Okumoto
2005-07-25 22:55:58 +00:00
sjg
c3c1fc597e
Expected results were not updated for comment testing.
2005-07-11 17:55:19 +00:00
christos
3d520edd5e
PR/29985: Roland Illig: make(1) interprets backslash wrongly in for
...
loop expansions, when the expanded variable ends in backslash and
the backslash is the last character on the line. While this fix is
ugly (detect the condition and append a space), it is the least
intrusive for now.
2005-07-01 16:45:38 +00:00
christos
b775b6932a
Don't apply .DEFAULT commands to special targets (.BEGIN, .END, .INTERRUPT).
2005-06-29 19:59:42 +00:00
wiz
3051d76108
Consistency. Use Pp instead of br.
2005-06-27 09:51:09 +00:00
lukem
2bf924f405
Restore the rework from rev 1.115 and expand the description of .OBJDIR
...
to document the behaviour that is currently in use (the "./obj" and
"/usr/obj/`pwd`" behaviour).
Hopefully the existing .OBJDIR behaviour is clearer now.
2005-06-27 00:17:08 +00:00
wiz
47fb7786c1
Since the obj dir handling changes in the code have been
...
reverted, revert them in the man page too (i.e., revert v1.115).
2005-06-26 10:14:43 +00:00
lukem
50e70cd0ee
revert previous for now
2005-06-24 04:33:25 +00:00
lukem
62955ed1ec
Revert rev 1.110 and restore the previous "automagic objdir" support;
...
at least until we clean up the objdir semantics in <bsd.obj.mk> for
NetBSD builds.
2005-06-24 02:53:27 +00:00
lukem
a6a204d392
Deprecate support for automagically setting the .OBJDIR to
...
./obj.${MACHINE}
./obj
/usr/obj/${PWD}
The rules for the default .OBJDIR setting are now simplified to
(and documented as) trying the chdir to the following
(if the appropriate variable is defined):
${MAKEOBJDIRPREFIX}${.CURDIR}
${MAKEOBJDIR}
${.CURDIR}
.OBJDIR can be overridden in the makefile.
<bsd.obj.mk> uses this to provide the "culled" .OBJDIR semantics
for NetBSD's /usr/src builds.
MAKEOBJDIRPREFIX & MAKEOBJDIR still can only be provided
in the environment or on make(1)'s command line.
Per discussion on tech-toolchain.
This should reduce a lot of lossage people have experienced over
the years with various .OBJDIR setups.
2005-06-23 02:31:31 +00:00
wiz
19a870f516
Fix an article, and drop trailing whitespace.
2005-06-19 17:26:07 +00:00
rpaulo
9e77e5175e
Change "non-escaped" to "unescaped".
...
Reviewed by hubertf.
2005-06-18 14:34:55 +00:00
rpaulo
a0c960912d
Add a new test case to reflect the problem found on PR toolchain/30536.
...
Reviewed by sjg and hubertf.
2005-06-18 14:33:15 +00:00
rpaulo
f0f2f92389
PR standards/17732: make doesn't honour escaped comment lines. Now with
...
a real fix.
Ok'ed by sjg and hubertf.
2005-06-18 14:32:04 +00:00
wiz
7fba66045a
Bump date for -jn, and add some formatting.
2005-06-17 19:30:49 +00:00
jmc
736ef19188
Add new debugging option '-dn' which will leave the scripts fed into make on
...
-j jobs in /tmp for debugging purposes. Add a note to the man page that
this could cause problems if run a lot (due to the number of files created)
2005-06-17 19:25:20 +00:00
jmc
e72c744fe2
If the line being passed to the shell is a blank line and we're not in compat
...
mode, use the ignErr template for the command as shell doesn't like an empty
construct of the form { } || <something>. Fixes build breakage on cats
distrib where a command ends up expanding to nothing.
2005-06-16 18:07:45 +00:00
rpaulo
a94394c1d9
Back it out while I'm working on a real fix without introducing new bugs.
2005-06-16 14:54:10 +00:00
rpaulo
9eb6f66b9a
We now support comments until the end of a non-escaped line.
...
Ok'ed by hubertf.
2005-06-15 22:39:27 +00:00
rpaulo
d0727c5f5b
Add a unit-test for comments.
...
Addition to PR bin/17732.
Approved by sjg and christos.
2005-06-15 22:32:22 +00:00
rpaulo
72c3c708ca
PR bin/17732: Allow make to understand escaped comments.
...
Approved by sjg, christos and hubertf.
2005-06-15 22:26:54 +00:00
lukem
0f422228f9
appease gcc -Wuninitialized
2005-06-03 16:15:46 +00:00
lukem
366252f608
* Improve error handling with unrecognized chars after :t.
...
* Explicitly goto default_case for unknown chars encountered after
various : modifiers, rather than multiple FALLTHRUs.
* Appease gcc -Wuninitialized for sv_name and v_ctxt.
Discussed with sjg.
2005-06-03 07:02:39 +00:00
lukem
fb0f76d8e8
cosmetic comment tweak
2005-06-03 05:56:25 +00:00
lukem
a3b235bbd2
appease gcc -Wuninitialized
2005-06-02 01:53:01 +00:00
wiz
7aee94451b
New sentence, new line; grammar improvements.
2005-06-01 17:33:21 +00:00
sjg
5f60a7de65
Add :Ox for random ordering, based on patch from
...
Mike M. Volokhov <mishka@apk.od.ua>
2005-06-01 17:17:34 +00:00
christos
ec9ba17179
Don't complain that we cannot make .END.
2005-05-08 04:19:12 +00:00
christos
733e0e6e72
Now that dependencies in .BEGIN, .END, and .INTERRUPT work, allow them.
2005-05-08 00:38:47 +00:00
christos
c9da1629b6
Mark the interrupt job as special so that when we hit ^C with -j and we
...
have a .INTERRUPT target we don't print "token botch".
2005-05-03 22:58:14 +00:00
christos
592ba37fd4
Don't accept dependencies for .BEGIN, .END, and .INTERRUPT since they
...
don't make sense or work anyway.
2005-05-01 01:25:36 +00:00
christos
66b68ce36c
PR/9566: Arne H. Juul: Document special targets that do not obey dependencies.
2005-05-01 00:37:10 +00:00
christos
13481917e0
When parsing conditional tokens, make sure that the token is followed by
...
a non-alpha character, so that .elsefoo is not parsed as .else leading
to confusion later.
2005-03-01 04:34:55 +00:00
sjg
34180b9ccc
In the case of :? modifier, variable can be an expression - say so.
2005-02-23 17:22:29 +00:00
christos
63fca13660
PR/29203, PR/29204: Max Okumoto: KNF changes to make [no functional changes]
2005-02-16 15:11:52 +00:00
christos
6e40c9e6fb
PR/22559: Valeriy E. Ushakov: make -j can execute commands in wrong directory
...
(not in the obj dir).
Fixed by detecting when we cd, and cd'ing back.
2005-01-31 22:41:43 +00:00
christos
f3ff62b84d
Add comments in the pmake style, and factor out a local variable.
...
No functional change.
2004-12-29 01:55:25 +00:00
christos
8415275dbd
Dir_MTime did not search for a file using the correct parh; i.e. it was
...
ignoring suffix-specific path search. So if a node was marked .MADE,
then suffix rules would not be applied to it, and we would look for
the file only in the default path, not the suffix-specific path.
XXX: Now that we looked for the suffix, we can save it in the GNode,
but we don't do this yet.
2004-12-29 00:43:02 +00:00
dsl
108eb2ab42
Add (unsigned char) cast to ctype functions
2004-10-30 20:39:35 +00:00
yamt
fb79fa6390
define __GNUC_PREREQ__ if it isn't available on host.
2004-07-15 09:01:29 +00:00
wiz
13d5df6555
Sync usage with man page; from Kouichirou Hiratsuka in PR 26223.
2004-07-13 11:59:12 +00:00
wiz
d2c6d0c9f5
Sort options in synopsis.
2004-07-13 11:58:55 +00:00