Commit Graph

  • 666ad44568 Actually commit main.c with changes announced in last commit. Eli Zaretskii 2012-01-28 20:19:55 +0000
  • dddd1be5ec main.c (main, clean_jobserver): Move declarations of variables not used in the WINDOWS32 build to the #else branch, to avoid compiler warnings. Eli Zaretskii 2012-01-28 16:54:00 +0000
  • eb4f966971 Fix failures on MS-Windows when Make's standard handles are invalid. This can happen when Make is invoked from a GUI application. Eli Zaretskii 2012-01-28 16:50:21 +0000
  • 715a11735f function.c (define_new_function): Fix format strings in calls to `fatal'. Eli Zaretskii 2012-01-25 18:16:14 +0000
  • 89f7058b99 Handle NULL returns from Guile. Paul Smith 2012-01-18 13:31:11 +0000
  • 9fb4cdeedb Fix an issue with PATH_SEPARATOR_CHAR when cross-compiling for Windows. Fixes Savannah bug #34818. Paul Smith 2012-01-16 21:29:44 +0000
  • 0bdc191501 Fix autoconf macros for detecting DOS-style pathnames. Fixes Savannah bug #35256. Paul Smith 2012-01-16 03:53:34 +0000
  • 49cc211819 Create a new internal interface for defining new make functions. This allows us to create new functions without changing function.c. You still have to modify the GNU make code (for now) though: this is simply a preliminary step to possibly allowing make to load modules. Paul Smith 2012-01-16 03:32:49 +0000
  • 4e2e5eb199 Disallow whitespace in variable names. Paul Smith 2012-01-16 02:44:04 +0000
  • 3f6bb04e75 Update copyright notices. Paul Smith 2012-01-16 02:29:20 +0000
  • c992c4d80f Add GNU Guile as an optional embedded scripting language for make. Paul Smith 2012-01-15 22:41:53 +0000
  • 3057357c0a Add prerequisites to ensure ordering of results. Paul Smith 2011-12-10 17:13:14 +0000
  • cb0bedc3d0 Allow os2 and mingw to disable jobserver with a configure option. Paul Smith 2011-11-15 22:56:26 +0000
  • dc2a6ceb81 Enable jobserver on W32 when using configure. Some W32 cleanups: see Savannah bug #34830 Forgot to modify the config.h.W32.template file for jobserver support. Paul Smith 2011-11-15 21:12:53 +0000
  • 4f47fbf953 Be sure to start parsing prereqs in the right place even if there are escape characters (backslashes) in the target name. See Savannah bug #33399 Paul Smith 2011-11-14 07:31:06 +0000
  • 9fcd90e36c Changes to resolve warnings. Fixes Savannah bug #34608. Paul Smith 2011-11-14 02:26:00 +0000
  • 83ce81fcaa Don't use Hungarian notation: remove _p/_ptr from var names. Fixes Savannah bug #32567. Paul Smith 2011-11-14 00:58:49 +0000
  • 63888b91f6 Support jobserver capability on Windows systems. Implementation contributed by Troy Runkel <Troy.Runkel@mathworks.com> Paul Smith 2011-11-14 00:42:49 +0000
  • 934f51d166 In very obscure situations we may write the free token back to the pipe. Don't do that. I couldn't come up with a repro case for this! Paul Smith 2011-11-14 00:18:38 +0000
  • bfc3e1ca7c Enable high-resolution timestamps for Darwin (Mac OSX) Patch provided by Troy Runkel <Troy.Runkel@mathworks.com> Paul Smith 2011-11-13 23:39:54 +0000
  • c7d07fd0b5 Add translation for Czech (cs). Paul Smith 2011-09-26 19:18:30 +0000
  • d472624f33 When we re-exec the master makefile in a jobserver environment, ensure that MAKEFLAGS is set properly so the re-exec'd make runs in parallel. See Savannah bug #33873. Paul Smith 2011-09-18 23:39:26 +0000
  • 0369a93825 We compute various values for vpath lookup the first time through and store them in static variables; however one value (std_dirs) was not being stored statically so the second time through it was not set. Fixes Savannah bug #32511 Paul Smith 2011-09-18 20:52:13 +0000
  • ef2b0425e7 Avoid certificate checks when getting PO files from translationproject.org Paul Smith 2011-09-17 01:45:09 +0000
  • a5c774a51b Ensure variables defined in $(call ...) have global scope Add a note about using #!/usr/bin/make -f to the manual. Clean up the w32 subdirectory in the dist tarball. Paul Smith 2011-09-12 05:29:58 +0000
  • 9a9f83e8b5 Ensure that -n takes precedence over -t. Patch from Michael Witten <mfwitten@gmail.com> Paul Smith 2011-09-02 05:37:54 +0000
  • e4d5d43424 Save strings we're expanding in case an embedded eval causes them to be freed (if they're the value of a variable that's reset for example). See Savannah patch #7534 Paul Smith 2011-08-29 16:20:19 +0000
  • b06b8c64a2 Fix another error related to whitespace handling in archives. Newer version of VMS support strncasecmp() so update the config.h. Paul Smith 2011-06-12 16:22:04 +0000
  • f15efca811 Ensure private variables are not used when appending target-specific variables. Fixes Savannah bug #32872. Paul Smith 2011-05-07 20:03:49 +0000
  • b664d3a91d Inverted the boolean test from what I wanted it to be. Added a regression test to make sure this continues to work. Paul Smith 2011-05-07 14:36:11 +0000
  • b5c065418f job.c (construct_command_argv_internal): Don't assume shellflags is always non-NULL. Escape-protect characters special to the shell when copying the value of SHELL into new_line. Fixes Savannah bug #23922. Eli Zaretskii 2011-05-07 08:29:13 +0000
  • bd6f63e563 Updated documentation to fix Savannah bugs #32058 and #31582 Paul Smith 2011-05-02 15:11:23 +0000
  • 6979e7e43b Use the same algorithm for counting the number of words to sort as we use to break up the list of words, so we're sure to get the same number. Fixes Savannah bug #33125 Paul Smith 2011-05-02 12:35:01 +0000
  • dc90160079 Extern the global declaration of stack_limit. Fixes Savannah bug #32753 Paul Smith 2011-05-02 12:29:09 +0000
  • a81ee5209b Avoid invoking glob() unless the filename has potential globbing characters in it, for performance improvements. Paul Smith 2011-05-02 00:18:06 +0000
  • 15a79d723d Delay caching of the file name in eval_makefile() until after all the expansions and searches are complete. This fixes an assertion in a situation where the MAKEFILES variable contains a file path that contains tilde. Boris Kolpackov 2011-04-29 15:27:39 +0000
  • b34438bee8 Add new feature: != shell assignment for portability with BSD make. Feature submitted by David Wheeler. Paul Smith 2011-04-18 01:25:20 +0000
  • 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 Paul Smith 2011-02-21 07:30:11 +0000
  • 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. Paul Smith 2010-11-30 14:48:52 +0000
  • 391456aad7 Improve backslash/newline handling to adhere to POSIX requirements. Paul Smith 2010-11-06 21:56:23 +0000
  • a86d1693ba Bump the version to 3.82.90. Fix some doc bugs. Implement the --trace flag. Show filename/linenumber on error. Paul Smith 2010-08-29 23:05:26 +0000
  • 3b1432d86a Set shellflags to a reasonable default if it's not set already. Paul Smith 2010-08-29 04:50:26 +0000
  • c3188c6f31 variable.c (define_automatic_variables) [__MSDOS__ || WINDOWS32]: Remove trailing backslashes in $(@D), $(<D), etc., for consistency with forward slashes. Fixes Savannah bug #30795. Eli Zaretskii 2010-08-27 15:01:42 +0000
  • 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 Paul Smith 2010-08-14 02:50:14 +0000
  • 036760a9fd Fix Savannah bug #30723: expand MAKEFLAGS before we re-exec after rebuilding makefiles. Paul Smith 2010-08-10 07:35:34 +0000
  • 91be515567 w32/subproc/build.bat: Make all 3 cl.exe compile command lines use the same /I switches. Fixes Savannah bug #30662. Eli Zaretskii 2010-08-07 08:55:17 +0000
  • 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. Eli Zaretskii 2010-08-07 08:46:06 +0000
  • 8f029808af Fix the DJGPP build. Eli Zaretskii 2010-08-07 08:15:45 +0000
  • 95f1a32d27 Release GNU make 3.82 3.82 Paul Smith 2010-07-28 05:39:50 +0000
  • 59691939f9 job.c Eli Zaretskii 2010-07-24 08:27:50 +0000
  • e954532d48 job.c (pid2str) [WINDOWS32]: Fix CPP conditionals for using %Id format. Eli Zaretskii 2010-07-24 08:27:26 +0000
  • f5d7411c49 Fix up incorrect prototype. Paul Smith 2010-07-20 13:12:06 +0000
  • fba20a776d - Many fixup patches from Savannah. - Fix the test suite on Solaris (from Boris) - Update the manual for .ONESHELL Paul Smith 2010-07-19 07:10:53 +0000
  • df2fa7c5a5 Fix buffer overrun in concat(). Boris Kolpackov 2010-07-16 13:01:15 +0000
  • 9903cda2a7 Update copyrights for 2010. Paul Smith 2010-07-13 01:20:10 +0000
  • ded9121846 Fixes to build_w32.bat for building with MSVC 64bit. Paul Smith 2010-07-12 20:32:59 +0000
  • 02ff72c970 Add missing one_shell declaration. Eli Zaretskii 2010-07-12 17:18:31 +0000
  • 90b30b6e0e *** empty log message *** Eli Zaretskii 2010-07-12 17:17:45 +0000
  • 96c0761689 make.h (alloca) [!__GNUC__]: Don't define prototype. (int w32_kill): Use pid_t for process ID argument. Savannah bug #27809. Eli Zaretskii 2010-07-12 17:16:54 +0000
  • bbe7b86718 Forgot to add the ONESHELL regression tests. Paul Smith 2010-07-12 05:29:25 +0000
  • 7ba7dbca47 Add the beginning of the .ONESHELL special feature. Original patch by David Boyce. Modified by Paul Smith. Paul Smith 2010-07-12 05:23:19 +0000
  • 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> Eli Zaretskii 2010-07-09 12:05:10 +0000
  • 587588c1fa Fix Savannah bug #30312. Eli Zaretskii 2010-07-09 11:40:19 +0000
  • 94bda718c4 config.h.W32.template (pid_t): Add a definition for 64-bit Windows builds that don't use GCC. Eli Zaretskii 2010-07-09 11:38:01 +0000
  • 4e4d8f246f job.c (pid2str) [WINDOWS32]: Don't use %Id with GCC < 4.x. (exec_command) [WINDOWS32]: Use pid2str instead of non-portable %Id. Eli Zaretskii 2010-07-09 11:10:04 +0000
  • 8a0f9d7b42 Fix FTP upload rules. Paul Smith 2010-07-07 02:06:48 +0000
  • 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. Paul Smith 2010-07-06 06:37:42 +0000
  • c78b7265bd Fixups for warnings on Windows (esp 64bit). Paul Smith 2010-07-05 18:32:03 +0000
  • fc644b4c45 Do not consider filenames that contain parens but don't END in a paren, to be an archive group. Fixes Savannah bug #28525. Paul Smith 2010-07-03 16:45:45 +0000
  • 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. Paul Smith 2010-07-01 07:16:00 +0000
  • 7746a1f74f - Rename strieq() to patheq() for clarity. - Convert xmalloc/memset pairs to xcalloc. Paul Smith 2010-07-01 05:59:08 +0000
  • c0239cdbfa *** empty log message *** Eli Zaretskii 2009-12-11 15:55:16 +0000
  • 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. Eli Zaretskii 2009-12-11 15:54:19 +0000
  • b4cec7790f *** empty log message *** Eli Zaretskii 2009-12-11 12:03:05 +0000
  • deace771d6 (lookup_file) [HAVE_DOS_PATHS]: Treat '\\' like we do with '/'. Eli Zaretskii 2009-12-11 12:02:45 +0000
  • f4d9937274 (construct_vpath_list): Correct the argument names in the commentary. Eli Zaretskii 2009-12-11 09:47:41 +0000
  • b6f45ddc53 Add VMS enhancements from Hartmut Becker. Paul Smith 2009-11-16 02:31:23 +0000
  • fe43fa9de3 Implement linker-compatible library search. Boris Kolpackov 2009-11-12 16:42:36 +0000
  • 5f188b39a4 Update copyright years. Paul Smith 2009-10-25 18:56:44 +0000
  • 76d2d2ca41 Fix fat-finger bug that left implicit rules with identical stem lengths being sorted indeterminately. Paul Smith 2009-10-25 18:34:43 +0000
  • 4e51b6d9a4 New command line option: --eval=STRING will cause STRING to be evaluated as a makefile statement before the first makefile is read. Paul Smith 2009-10-25 00:46:52 +0000
  • 606cf9b169 Various simple code cleanups. Paul Smith 2009-10-25 00:26:34 +0000
  • 131f115730 Get the old behavior for a situation when no makefile is found in a directory. Boris Kolpackov 2009-10-22 14:29:22 +0000
  • b1d34394a8 Massage the NEWS file Paul Smith 2009-10-12 22:24:54 +0000
  • baee33eb0f Minor fix and code rework. Boris Kolpackov 2009-10-07 09:34:42 +0000
  • bd2d124f27 Fix savannah bug 25780. Optimize things a bit. Boris Kolpackov 2009-10-06 12:36:29 +0000
  • 4254e88cfa Implement the new undefine directive. Boris Kolpackov 2009-10-06 06:56:57 +0000
  • 174e910a1d Performance improvements Boris Kolpackov 2009-10-05 14:40:18 +0000
  • acbdc33e1c Add a test for another (still open) bug. Paul Smith 2009-10-04 19:18:16 +0000
  • f87715a62c - Include <alloca.h> even on non-__GNUC__ systems. - Add some tests for unresolved bugs. Paul Smith 2009-10-03 20:08:20 +0000
  • 56653d8524 Fix Savannah bugs #15110, #25493, #12686, and #17740. Boris Kolpackov 2009-09-30 09:54:26 +0000
  • f907a4d90c - Update manual description for pattern rule search algorithm - Add new "-all" flag to the test suite to run tests that don't pass yet - Add some non-passing tests - Fix from Andreas Buening for OS/2. Paul Smith 2009-09-28 23:08:49 +0000
  • f5891a26d8 Implement the shortest stem first search order for pattern-specific variables and pattern rules. Boris Kolpackov 2009-09-28 12:31:55 +0000
  • f9c15cac35 * glob.c (my_realloc) [__DJGPP__]: Don't define, and don't redefine realloc to call it, since the DJGPP's realloc handles NULL pointers correctly. Eli Zaretskii 2009-09-28 06:46:03 +0000
  • bf1794767e Fix typo. Eli Zaretskii 2009-09-27 17:56:24 +0000
  • 5d19c91605 * configh.dos.template: Remove unconditional definition of SYS_SIGLIST_DECLARED. Include <sys/version.h> because ports of GCC 4.3.0 and later no longer include it, so macros like __DJGPP_MINOR__ are no longer defined automatically. Eli Zaretskii 2009-09-27 16:22:50 +0000
  • 8688ef20cf - Add static pattern targets to the string cache. - Use specific free_*() calls where appropriate. Paul Smith 2009-09-27 02:15:36 +0000
  • 44ac2cdb4d Fix some memory leaks, found with valgrind. Paul Smith 2009-09-26 23:01:55 +0000
  • 48045f99e5 Performance improvement. Boris Kolpackov 2009-09-25 15:51:11 +0000
  • 5973926ce6 Merge three parallel arrays into one. Make sure sufficient space is allocated. Boris Kolpackov 2009-09-25 15:44:27 +0000