summaryrefslogtreecommitdiff
path: root/variable.h
AgeCommit message (Collapse)AuthorFilesLines
2007-07-04* Update to GPLv3Paul Smith1-4/+4
* Update copyright to 2007 * Fix download URL for translation files (thanks to Thiemo Seufer)
2007-03-20This is a major update, which switches virtually every allocated-but-not-freedPaul Smith1-9/+13
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-8/+8
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-1/+1
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-07Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith1-42/+48
2006-02-14Some memory leak cleanups (found with valgrind).Paul Smith1-0/+1
2006-02-11Last of the copyright updates.Paul Smith1-1/+2
2006-02-11Update copyright and license notices on all files.Paul Smith1-13/+11
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2005-02-27Implementation of the second expansion in explicitBoris Kolpackov1-0/+1
rules, static pattern rules and implicit rules.
2004-09-21Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),Paul Smith1-1/+1
reported by Markus Mauhart <qwe123@chello.at>. One was a simple typo; to fix the other we call patsubst_expand() for all instances of variable substitution, even when there is no '%'. We used to call subst_expand() with a special flag set in the latter case, but it didn't work properly in all situations. Easier to just use patsubst_expand() since that's what it is.
2003-05-02- Fix bug #1405: allow multiple pattern-specific variables to match a target.Paul Smith1-7/+21
- Fix some uncleanliness about the implementation of patterns-specific vars. - Some enhancements to the OS/2 port.
2003-01-30Enhancement (bug #2407) Make error messages more clear.Paul Smith1-1/+1
2002-10-25Fix eval bugs 1516 and 1517.Paul Smith1-0/+2
2002-08-08Incorporate some VMS fixes.Paul Smith1-0/+1
Add -B option docs. Add .VARIABLES variable. Add a few new tests. Add a new translation: Swedish
2002-08-01New variables, .VARIABLES and .TARGETS.Paul Smith1-4/+6
2002-07-11Install Greg McGary's patches to port the id-utils hashing functions toPaul Smith1-5/+10
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-08Major updates in preparation for 3.80.Paul Smith1-1/+16
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-05-10Fix Debian bug #144306: pass target-specific variables into the environmentPaul Smith1-3/+23
properly. Fix configure: allow cross-compilation; fix getloadavg (still needs _lots_ of work!) Let $(call ...) functions to be self-referencing. Lets us do transitive closures, for example.
2001-01-21Some bug fixes and document updates.Paul Smith1-1/+4
2000-03-27* A large number of fixes/enhancements. See the ChangeLog.Paul Smith1-10/+2
* Added a new version of the German translation file.
2000-02-07* Fix for dir.c from Andreas Schwab.filedef-cleanup-basePaul Smith1-2/+10
* Fix += target-specific variables: if your direct parent doesn't have a setting for the variable but his parent does, you'll get recursive expansion errors.
2000-02-05* Fix PR/1407.Paul Smith1-7/+25
* Keep filename/lineno information for variables, for debugging.
1999-11-17* Many cleanups and bugfixes.Paul Smith1-1/+3
* New handling of += in target-specific variables.
1999-03-05* Update FSF address info in copyright notices.Paul Smith1-1/+2
* Update maintainers build process; remove GNUmakefile. Require builders to run automake && autoreconf by hand. * Use AC_SUBST_FILE to get the maintMakefile included, rather than GNU make's include directive, which conflicts with automake 1.4's include directive.
1998-10-03Checkpoint changes. Bug fixes, mostly.Paul Smith1-1/+1
1998-07-30GNU make release 3.77.Paul Smith1-4/+11
1996-03-20Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>Roland McGrath1-24/+33
Merged VMS port from Klaus Kaempf <kkaempf@didymus.rmi.de>. * make.h (PARAMS): New macro. * config.h-vms: New file. * makefile.com: New file. * makefile.vms: New file. * readme.vms: New file. * vmsdir.h: New file. * vmsfunctions.c: New file. * vmsify.c: New file. * file.h: Renamed to filedef.h to avoid conflict with VMS system hdr. * ar.c: Added prototypes and changes for VMS. * commands.c: Likewise. * commands.h: Likewise. * default.c: Likewise. * dep.h: Likewise. * dir.c: Likewise. * expand.c: Likewise. * file.c: Likewise. * function.c: Likewise. * implicit.c: Likewise. * job.c: Likewise. * job.h: Likewise. * main.c: Likewise. * make.h: Likewise. * misc.c: Likewise. * read.c: Likewise. * remake.c: Likewise. * remote-stub.c: Likewise. * rule.c: Likewise. * rule.h: Likewise. * variable.c: Likewise. * variable.h: Likewise. * vpath.c: Likewise. * compatMakefile (srcs): Rename file.h to filedef.h.
1994-03-23entered into RCSRoland McGrath1-1/+2
1992-12-22Formerly variable.h.~9~Roland McGrath1-1/+1
1992-08-02Formerly variable.h.~8~Roland McGrath1-6/+0
1992-08-02Formerly variable.h.~7~Roland McGrath1-0/+6
1992-07-10Formerly variable.h.~6~Roland McGrath1-0/+1
1992-06-12Formerly variable.h.~5~Roland McGrath1-0/+1
1992-06-11Formerly variable.h.~4~Roland McGrath1-7/+3
1992-05-04Formerly variable.h.~3~Roland McGrath1-0/+1
1992-05-03Formerly variable.h.~2~Roland McGrath1-2/+8
1991-06-03Initial revisionRoland McGrath1-0/+94