Paul Smith
1454a04f81
* Fixups to the make man page
...
* Minor syntax cleanups in the manual
* In non-maintainer mode set NDEBUG to disable assert()
* Performance improvements in strcache:
Build Info 1000 2000 4000
3.82 -g 2.61s 8.85s 33.52s
3.82 -O2 1.90s 7.62s 27.82s
New -g (with asserts) 1.03s 2.31s 5.79s
New -O2 (no asserts) 0.65s 1.50s 3.52s
2011-02-21 07:30:11 +00:00
Paul Smith
ae2ab76fac
Check if the target-specific variable is the same as the global
...
variable, and if so don't try to update it. Savannah bug #31743 .
2010-11-30 14:48:52 +00:00
Paul Smith
391456aad7
Improve backslash/newline handling to adhere to POSIX requirements.
2010-11-06 21:56:23 +00:00
Paul Smith
a86d1693ba
Bump the version to 3.82.90.
...
Fix some doc bugs.
Implement the --trace flag.
Show filename/linenumber on error.
2010-08-29 23:05:26 +00:00
Paul Smith
3b1432d86a
Set shellflags to a reasonable default if it's not set already.
2010-08-29 04:50:26 +00:00
Eli Zaretskii
c3188c6f31
variable.c (define_automatic_variables) [__MSDOS__ || WINDOWS32]:
...
Remove trailing backslashes in $(@D), $(<D), etc., for consistency
with forward slashes. Fixes Savannah bug #30795 .
2010-08-27 15:01:42 +00:00
Paul Smith
5acda13ace
- Fix the NEWS file to be accurate
...
- Add oneshell to $(.FEATURES) (forgot that!)
- Fix Savannah bug #30612 : handling of archive references with >1 object
2010-08-14 02:50:14 +00:00
Paul Smith
036760a9fd
Fix Savannah bug #30723 : expand MAKEFLAGS before we re-exec after
...
rebuilding makefiles.
2010-08-10 07:35:34 +00:00
Eli Zaretskii
91be515567
w32/subproc/build.bat: Make all 3 cl.exe compile command lines
...
use the same /I switches. Fixes Savannah bug #30662 .
2010-08-07 08:55:17 +00:00
Eli Zaretskii
b6b6875986
function.c (func_shell) [WINDOWS32]: Reset just_print_flag
...
around the call to construct_command_argv, so that a temporary
batch file _is_ created when needed for $(shell). Fixes Savannah
bug #16362 .
2010-08-07 08:46:06 +00:00
Eli Zaretskii
8f029808af
Fix the DJGPP build.
...
configh.dos.template (HAVE_STRNCASECMP): Define.
2010-08-07 08:15:45 +00:00
Paul Smith
95f1a32d27
Release GNU make 3.82
...
- Update tests for Solaris bizarre-ness
- Update files for release
2010-07-28 05:39:50 +00:00
Eli Zaretskii
59691939f9
job.c
2010-07-24 08:27:50 +00:00
Eli Zaretskii
e954532d48
job.c (pid2str) [WINDOWS32]: Fix CPP conditionals for using %Id format.
2010-07-24 08:27:26 +00:00
Paul Smith
f5d7411c49
Fix up incorrect prototype.
2010-07-20 13:12:06 +00:00
Paul Smith
fba20a776d
- Many fixup patches from Savannah.
...
- Fix the test suite on Solaris (from Boris)
- Update the manual for .ONESHELL
2010-07-19 07:10:53 +00:00
Boris Kolpackov
df2fa7c5a5
Fix buffer overrun in concat().
2010-07-16 13:01:15 +00:00
Paul Smith
9903cda2a7
Update copyrights for 2010.
2010-07-13 01:20:10 +00:00
Paul Smith
ded9121846
Fixes to build_w32.bat for building with MSVC 64bit.
2010-07-12 20:32:59 +00:00
Eli Zaretskii
02ff72c970
Add missing one_shell declaration.
2010-07-12 17:18:31 +00:00
Eli Zaretskii
90b30b6e0e
*** empty log message ***
2010-07-12 17:17:45 +00:00
Eli Zaretskii
96c0761689
make.h (alloca) [!__GNUC__]: Don't define prototype.
...
(int w32_kill): Use pid_t for process ID argument.
Savannah bug #27809 .
2010-07-12 17:16:54 +00:00
Paul Smith
bbe7b86718
Forgot to add the ONESHELL regression tests.
2010-07-12 05:29:25 +00:00
Paul Smith
7ba7dbca47
Add the beginning of the .ONESHELL special feature.
...
Original patch by David Boyce. Modified by Paul Smith.
2010-07-12 05:23:19 +00:00
Eli Zaretskii
b85b7e0a55
w32/subproc/sub_proc.c: Include stdint.h.
...
(sub_process_t): Use intptr_t for file handles and pid_t for
process ID.
(process_pipes, process_init_fd, process_begin): Use intptr_t for
file handles and pid_t for process ID.
Savannah bug #27809 . Patch by Ozkan Sezer <sezeroz@gmail.com>
2010-07-09 12:05:10 +00:00
Eli Zaretskii
587588c1fa
Fix Savannah bug #30312 .
...
function.c (abspath): Support absolute file names in UNC format.
2010-07-09 11:40:19 +00:00
Eli Zaretskii
94bda718c4
config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don't use GCC.
2010-07-09 11:38:01 +00:00
Eli Zaretskii
4e4d8f246f
job.c (pid2str) [WINDOWS32]: Don't use %Id with GCC < 4.x.
...
(exec_command) [WINDOWS32]: Use pid2str instead of non-portable
%Id.
main.c (handle_runtime_exceptions): Use %p to print addresses,
to DTRT on both 32-bit and 64-bit hosts. Savannah bug #27809 .
job.c (w32_kill, start_job_command, create_batch_file): Use
pid_t for process IDs and intptr_t for the 1st arg of
_open_osfhandle.
function.c (windows32_openpipe): Use pid_t for process IDs and
intptr_t for the 1st arg of _open_osfhandle.
(func_shell): Use pid_t for process IDs.
main.c (main) [WINDOWS32]: Pacify the compiler.
config.h.W32.template (pid_t): Add a definition for 64-bit
Windows builds that don't use GCC.
Savannah bug #27809 . Patch by Ozkan Sezer <sezeroz@gmail.com>
2010-07-09 11:10:04 +00:00
Paul Smith
8a0f9d7b42
Fix FTP upload rules.
2010-07-07 02:06:48 +00:00
Paul Smith
c7b469f0f3
- Enhance .POSIX to set -e when invoking shells, as demanded by a
...
backward-incompatible change in the 2008 POSIX specification.
- Add the .SHELLFLAGS variable so people can choose their own shell flags.
- Add tests for this.
- Add documentation for this.
2010-07-06 06:37:42 +00:00
Paul Smith
c78b7265bd
Fixups for warnings on Windows (esp 64bit).
2010-07-05 18:32:03 +00:00
Paul Smith
fc644b4c45
Do not consider filenames that contain parens but don't END in a paren,
...
to be an archive group. Fixes Savannah bug #28525 .
2010-07-03 16:45:45 +00:00
Paul Smith
97f106fa10
- Add whitespace to command line invocation in features/recursion
...
- Set up .FEATURES with separate calls for optional features, as some
compilers don't like conditionals inside macro invocations.
2010-07-01 07:16:00 +00:00
Paul Smith
7746a1f74f
- Rename strieq() to patheq() for clarity.
...
- Convert xmalloc/memset pairs to xcalloc.
2010-07-01 05:59:08 +00:00
Eli Zaretskii
c0239cdbfa
*** empty log message ***
2009-12-11 15:55:16 +00:00
Eli Zaretskii
866aa6267a
(construct_command_argv_internal) <sh_cmds_dos> [WINDOWS32]: Add "echo." and
...
a few more commands that are built into cmd.exe. Fixes Savannah bug #28126 .
2009-12-11 15:54:19 +00:00
Eli Zaretskii
b4cec7790f
*** empty log message ***
2009-12-11 12:03:05 +00:00
Eli Zaretskii
deace771d6
(lookup_file) [HAVE_DOS_PATHS]: Treat '\\' like we do with '/'.
2009-12-11 12:02:45 +00:00
Eli Zaretskii
f4d9937274
(construct_vpath_list): Correct the argument names in the commentary.
2009-12-11 09:47:41 +00:00
Paul Smith
b6f45ddc53
Add VMS enhancements from Hartmut Becker.
2009-11-16 02:31:23 +00:00
Boris Kolpackov
fe43fa9de3
Implement linker-compatible library search.
2009-11-12 16:42:36 +00:00
Paul Smith
5f188b39a4
Update copyright years.
2009-10-25 18:56:44 +00:00
Paul Smith
76d2d2ca41
Fix fat-finger bug that left implicit rules with identical stem lengths
...
being sorted indeterminately.
2009-10-25 18:34:43 +00:00
Paul Smith
4e51b6d9a4
New command line option: --eval=STRING will cause STRING to be
...
evaluated as a makefile statement before the first makefile is
read.
2009-10-25 00:46:52 +00:00
Paul Smith
606cf9b169
Various simple code cleanups.
2009-10-25 00:26:34 +00:00
Boris Kolpackov
131f115730
Get the old behavior for a situation when no makefile is found in a directory.
2009-10-22 14:29:22 +00:00
Paul Smith
b1d34394a8
Massage the NEWS file
2009-10-12 22:24:54 +00:00
Boris Kolpackov
baee33eb0f
Minor fix and code rework.
2009-10-07 09:34:42 +00:00
Boris Kolpackov
bd2d124f27
Fix savannah bug 25780. Optimize things a bit.
2009-10-06 12:36:29 +00:00
Boris Kolpackov
4254e88cfa
Implement the new undefine directive.
2009-10-06 06:56:57 +00:00