summaryrefslogtreecommitdiff
path: root/remake.c
AgeCommit message (Collapse)AuthorFilesLines
2013-05-17Update copyright for changes in 2013.Paul Smith1-1/+1
2013-05-05cosmetics: fix few innocuous typosStefano Lattarini1-1/+1
Most of these were found using Lucas De Marchi's 'codespell' tool. * ChangeLog: Fix minor typos. * ChangeLog.2: Likewise. * README.Amiga: Likewise. * TODO.private: Likewise. * function.c: Likewise. * glob/glob.h: Likewise. * job.c: Likewise. * main.c: Likewise. * readme.vms: Likewise. * remake.c: Likewise. * tests/ChangeLog: Likewise. * tests/NEWS: Likewise. * tests/README: Likewise. * tests/scripts/variables/private: Likewise. * vmsdir.h: Likewise. * signame.c: Likewise. While at it, improve line wrapping in the touched comment. Copyright-paperwork-exempt: yes Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
2013-04-06Reconsider targets waiting for prerequisites. Fixes Savannah bug #37703.Paul Smith1-1/+8
2013-01-20Rename the make.h file to makeint.h for internal use only.Paul Smith1-1/+1
2012-09-10Force intermediate targets to be considered if their non-intermediatePaul Smith1-0/+4
parent needs to be remade. Fixes Savannah bug #30653.
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-3/+1
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-53/+53
Fixes Savannah bug #34530.
2012-01-16Update copyright notices.Paul Smith1-3/+3
2011-09-18We compute various values for vpath lookup the first time throughPaul Smith1-2/+2
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
2011-09-02Ensure that -n takes precedence over -t.Paul Smith1-0/+4
Patch from Michael Witten <mfwitten@gmail.com>
2011-02-21* Fixups to the make man pagePaul Smith1-5/+5
* 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
2010-07-13Update copyrights for 2010.Paul Smith1-2/+2
2009-11-12Implement linker-compatible library search.Boris Kolpackov1-33/+68
2009-10-25Update copyright years.Paul Smith1-2/+2
2009-09-30Fix Savannah bugs #15110, #25493, #12686, and #17740.Boris Kolpackov1-17/+52
2009-09-16- Add xcalloc() and call itPaul Smith1-1/+1
- Fix memory errors found by valgrind - Remove multi_glob() and empower parse_file_seq() to do its job: the goal here is to remove the confusing reverse/re-reverse we do on the file lists: needed for future fixes. - Add a prefix arg to parse_file_seq() - Make concat() variadic so it can take arbitrary #'s of strings
2009-09-12- Fix Savannah bug #21824: don't loop through NULL cmds pointerPaul Smith1-3/+1
- Fix Savannah bugs #24509, 18963: doc enhancements
2009-06-14- Fix Savannah bug #13529Paul Smith1-0/+13
2009-06-10- Fix Savannah bug #19108Paul Smith1-69/+81
- Fix Savannah bug #17752 - Test suite: * When tests fail keep a "run" file containing the command invoked. * Support for the Valgrind "memcheck" and "massif" tools.
2009-06-07- Add a new test suite for LIBPATTERNSPaul Smith1-24/+20
- Fix Savannah bug #21198 - Fix Savannah bug #21823 - Fix Savannah bug #22010
2009-06-06- Work around a bug in glibc glob(3), by avoiding GLOB_NOCHECK.Paul Smith1-3/+4
- Fix issue in very parallel builds found building glibc.
2007-11-05For mod times farther in the future, print the value in fixed-point ratherPaul Smith1-2/+8
than exponential notation (patch from Bruno Haible).
2007-11-04New special variable: .RECIPEPREFIXPaul Smith1-3/+3
Allows the user to reset the prefix character for introducing recipe lines from the default (tab) to any other single character, and back again. Also, reworked the manual to consistently use the word "recipe" to describe the set of commands we use to update a target, instead of the various phrases used in the past: "commands", "command lines", "command scripts", etc.
2007-08-15Incorporate Icarus Sparry's fix for 3330 and 15919, and test cases.Paul Smith1-4/+13
One of our translations disappeared from the translations site so remove it. The fdl.texi file was changed to not contain any @node entries, so add some around it in make.texi.
2007-07-04* Update to GPLv3Paul Smith1-4/+4
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2007-05-11Fix some documentation gitches.Paul Smith1-1/+1
Fix an uninitialized variable. Add builtin rules for Objective C. Add a new debug line that shows where the commands that are about to be run were defined.
2007-03-20This is a major update, which switches virtually every allocated-but-not-freedPaul Smith1-42/+25
string into the strcache. As a side-effect, many more structure members and function arguments can/should be declared const. As mentioned in the changelog, unfortunately measurement shows that this change does not yet reduce memory. The problem is with secondary expansion: because of this we store all the prerequisites in the string cache twice. First we store the prerequisite string after initial expansion but before secondary expansion, then we store each individual file after secondary expansion and expand_deps(). I plan to change expand_deps() to be callable in either context (eval or snap_deps) then have non-second-expansion targets call expand_deps() during eval, so that we only need to store that dependency list once.
2006-11-18Fix from Eli for incorrect value of $(MAKE) on Cygwin.Paul Smith1-13/+12
A few changes from char* to void* where appropriate, and removing of unnecessary casts. Much more work on const-ifying the codebase. This round involves some code changes to make it correct. NOTE!! There will almost certainly be problems on the non-POSIX ports that will need to be addressed after the const changes are finished: they will need to be const-ified properly and there may need to be some changes to allocate memory, etc. as well. The next (last?) big push for this, still to come, is const-ifying the filenames in struct file, struct dep, etc. This will allow us to store file names in the string cache and finally resolve Savannah bug #15182 (make uses too much memory), among other advantages.
2006-10-01Fixed a number of documentation bugs, plus some build/install issues:Paul Smith1-4/+2
16304, 16468, 16577, 17701, 17880, 16051, 16652, 16698 Plus some from the mailing list. Imported a patch from Eli to allow Cygwin builds to support DOS-style pathnames.
2006-04-09Another round of cleanups:Paul Smith1-5/+5
- Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
2006-04-07Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith1-8/+9
2006-03-20Add some alloca(0) calls for systems without "normal" alloca support.Paul Smith1-0/+4
Fix a file descriptor leak with make re-exec while using the jobserver. Update some release information.
2006-03-17Fixed Savannah bug #16053.Boris Kolpackov1-2/+2
2006-03-10Numerous updates to tests for issues found on Cygwin and Windows.Paul Smith1-2/+4
Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes.
2006-02-11Last of the copyright updates.Paul Smith1-1/+2
2006-02-11Update copyright and license notices on all files.Paul Smith1-14/+11
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2006-02-06Fix Savannah bugs # 15341, 15534, and 15533.Paul Smith1-46/+47
Rewrite large chunks of the "Commands" section of the manual to better describe then backslash-newline handling, the SHELL variable, etc.
2006-02-01Various updates, mainly to the Windows port, from Eli Zaretskii andPaul Smith1-1/+2
Markus Maurhart.
2006-01-04Various changes getting ready for the release of 3.81.Paul Smith1-1/+4
- Updates to make.texi and make.1 and other documentation - Some VMS patches - Fix minor bugs reported on the mailing list and from Debian.
2005-12-07Fixed bug #14334 by propagate the change of modification time to all theBoris Kolpackov1-5/+27
double-colon entries only if it is the last one to be updated.
2005-06-25Fix Savannah bug # 13478. If -L is given, take the latest mtime for aPaul Smith1-6/+12
symlink even if it is "dangling" (it doesn't resolve to a real file).
2005-05-08Document the secondary expansion method. Also, some other documentationPaul Smith1-1/+1
cleanups. If we find a make error (invalid makefile syntax or something like that) write back any tokens we have before we exit. If we have waiting jobs (using -j + -l) set an alarm before we sleep on the read() system call, so we can wake up to check the load and start waiting jobs, if there are long-running jobs we would otherwise be waiting for. Suggested by Grant Taylor.
2005-04-08Fix some Savannah bugs.Paul Smith1-3/+3
Updates to docs (still need more work here) and NEWS file. New language.
2005-02-28- Fix bug #7144 (infinite loop sometimes with -q and double-colon rules)Paul Smith1-2/+3
- Resolve support request #103195 (rationalize wordlist fn arguments)
2005-02-28* New feature: -L optionPaul Smith1-1/+74
* New function: $(info ...) * Disallow $(eval ...) to create prereq relationships inside command scripts (caused core dumps) * Try to allow more tests to succeed in Windows/DOS by sanitizing CRLF and \ * Various bug fixes and code cleanups (see the ChangeLog entry)
2004-09-28Implemented dontcare flag inheritance when rebuilding makefiles.Boris Kolpackov1-0/+31
2004-05-16Various enhancementsPaul Smith1-41/+59
- OS/2 Patches - OpenVMS updates - Sanitize the handling of -include/sinclude with and without -k - Fix the setting of $< for order-only rules.
2004-02-24Many compiler warning cleanups.Paul Smith1-1/+1
Small fixes for W32 (from Jonathan Grant <jg-make@jguk.org>) Maintainer enhancements to clean up the tree.
2003-03-25Commit fix for bug #1418.Paul Smith1-1/+2
Upgrade to require autoconf 2.56. Fix a pathological performance hit substituting in large values with lots of words.
2003-03-24Add support for OS/2, contributed by Andreas Buening <andreas.buening@nexgo.de>Paul Smith1-0/+8
Also a small patch from Hartmut Becker <Hartmut.Becker@compaq.com> for VMS.