summaryrefslogtreecommitdiff
path: root/remake.c
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-01-30Portability fix for glob.h building in FreeBSD ports system.Paul Smith1-2/+6
Implement a fix for bug # 2169: too many OSs, even major OSs like Solaris, don't properly implement SA_RESTART: important system calls like stat() can still fail when SA_RESTART is set. So, forget the BROKEN_RESTART config check and get rid of atomic_stat() and atomic_readdir(), and implement permanent wrappers for EINTR checking on various system calls (stat(), fstat(), opendir(), and readdir() so far).
2002-10-14Convert the source code to use ANSI C style function definitions andPaul Smith1-28/+11
enable the automake ansi2knr capability. Right now this doesn't quite build using a K&R compiler because of a problem with the loadavg test program, but the rest of the code works. I'm asking the automake list about this problem.
2002-08-08Incorporate some VMS fixes.Paul Smith1-7/+14
Add -B option docs. Add .VARIABLES variable. Add a few new tests. Add a new translation: Swedish
2002-07-11Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith1-1/+2
GNU make. Also he provides some other performance fixups after doing some profiling of make on large makefiles. Modify the test suite to allow the use of Valgrind to find memory problems.
2002-07-08Various cleanups reported by people using the alpha release.Paul Smith1-11/+29
Incorporate "order-only" prerequisites patch. Wrote a test for it. The test shows what might be a bug in the code; I need to look at it more closely (anyway it doesn't behave as I expected). Also I haven't done the docs yet.
2002-07-08Major updates in preparation for 3.80.Paul Smith1-5/+18
New version of the manual, put into the doc subdir. Enhancements: $(eval ...) and $(value ...) functions, various bug fixes, etc. See the ChangeLog. More to come.
2002-04-20Updates to translaations.Paul Smith1-1/+1
Fix an assert() in an obscure use of -q Handling of double-colon timestamp updates was broken in a bizarre way. Store arguments to $(call ...) functions in simple variables, not recursive variables.
2001-06-01Fix for EINTR problems when using jobserver.Paul Smith1-13/+7
New translation files. Fix for @+ inside define macros being applied too widely. Various other bug fixes.
2001-01-21Some bug fixes and document updates.Paul Smith1-2/+2
2000-11-17* Fix FAT handling on Windows to match the DJGPP port's FAT handling.Paul Smith1-15/+6
* Fix a potential hole in readline if lines end in ^M (CRLF).
2000-07-30* Various fixes; see the ChangeLog.Paul Smith1-7/+10
2000-07-07* Minor code cleanupsPaul Smith1-21/+38
* Fix for PR/1811, from Paul Eggert.
2000-06-20* More updates and fixes.Paul Smith1-0/+3
2000-06-19* Various fixes for problems in the 3.79.0.1 pretest.Paul Smith1-1/+1
2000-06-13* Some timestamp fixes from Paul Eggert.Paul Smith1-46/+49
* Fix compilation on Linux; use libintl.h and not gettext.h when using the system gettext.
2000-06-07* Lots of bug fixes and cleanup; new i18n files, etc.Paul Smith1-21/+29
2000-04-22* Various bug fixes.Paul Smith1-1/+7
2000-04-03* Fix bug handling archive members: convert timestamp to nsec properlyPaul Smith1-1/+1
on those systems that support it.
2000-03-27* A large number of fixes/enhancements. See the ChangeLog.Paul Smith1-7/+19
* Added a new version of the German translation file.