Paul Smith
6e0527913c
- Memory cleanups, found with valgrind.
...
- Fix handling of special targets like .SUFFIX for VMS insensitive targets.
- Don't make temporary batch files for -n. Make sure batch files are created
in text mode.
2006-02-20 02:14:00 +00:00
Paul Smith
0806a403d6
Fix Savannah bug #106 : keep separate track of which variable we are
...
expanding, and use that info when generating error messages instead of
the file info, where appropriate.
2006-02-15 23:54:42 +00:00
Paul Smith
a6bdc58385
Last of the copyright updates.
2006-02-11 22:16:04 +00:00
Paul Smith
586daef9bc
Update copyright and license notices on all files.
...
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2006-02-11 19:02:21 +00:00
Paul Smith
1e9dc3ce45
Various minor updates and code cleanups.
2005-07-12 04:35:13 +00:00
Boris Kolpackov
659fc6b55e
Implementation of the second expansion in explicit
...
rules, static pattern rules and implicit rules.
2005-02-27 21:40:23 +00:00
Paul Smith
0799ce730d
Fix some bugs in variable pattern substitution (e.g. $(VAR:A=B)),
...
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.
2004-09-21 04:00:31 +00:00
Paul Smith
e334942e57
Numerous updates and bug fixes.
...
A number of W32 cleanups from J.Grant.
A number of OS/2 cleanups from Andreas Buening.
Various random bug fixes.
2004-03-22 15:11:48 +00:00
Paul Smith
ee3d37a591
Fix bugs 5798 and 6195.
2003-11-04 07:40:29 +00:00
Paul Smith
b7c728046e
Enhancement (bug #2407 ) Make error messages more clear.
2003-01-30 06:21:36 +00:00
Paul Smith
d696707cb5
Fix eval bugs 1516 and 1517.
2002-10-25 22:01:47 +00:00
Paul Smith
6374309c6d
Convert the source code to use ANSI C style function definitions and
...
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-10-14 21:54:04 +00:00
Paul Smith
47cd8d4624
Fix core dump on malformed variable line (Debian bug #81656 )
...
Allow SysV-style variable references to use {} in addition to ().
Add variable.h to the POTFILES.in since it has a translatable string.
2002-10-05 13:45:47 +00:00
Paul Smith
21cf8c6444
Install Greg McGary's patches to port the id-utils hashing functions to
...
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-11 06:38:57 +00:00
Paul Smith
9052b52dfc
Fix Debian bug #144306 : pass target-specific variables into the environment
...
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.
2002-05-10 03:15:07 +00:00
Paul Smith
8f2b1e2c7c
Some bug fixes and document updates.
2001-01-21 06:49:11 +00:00
Paul Smith
0d70d05458
* Various fixes for problems in the 3.79.0.1 pretest.
2000-06-19 21:22:44 +00:00
Paul Smith
4a5550c822
* Lots of bug fixes and cleanup; new i18n files, etc.
2000-06-07 05:43:37 +00:00
Paul Smith
c637af71d9
* A large number of fixes/enhancements. See the ChangeLog.
...
* Added a new version of the German translation file.
2000-03-27 06:54:37 +00:00
Paul Smith
17f2dda0ac
* Fix for dir.c from Andreas Schwab.
...
* 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-07 19:54:04 +00:00
Paul Smith
9b0a3d91ea
* Fix PR/1407.
...
* Keep filename/lineno information for variables, for debugging.
2000-02-05 07:37:40 +00:00
Paul Smith
b7b83d6398
* Change $(call...) to not expand arguments by default.
...
* Unify the way arguments are passed to builtin functions in function.c.
2000-01-11 07:31:42 +00:00
Paul Smith
ebb733c0f9
* Many cleanups and bugfixes.
...
* New handling of += in target-specific variables.
1999-11-17 07:33:47 +00:00
Paul Smith
3e26bde6db
* Fix PR/1394.
...
* Apply changes from Paul Eggert.
* Many other cleanups (index/rindex --> strchr/strrchr, etc.)
1999-10-15 07:00:58 +00:00
Paul Smith
cbb9e38d10
* Rework jobserver yet one more time.
...
* Install the $(if ...) function and document it. Still need some examples.
1999-08-13 07:36:26 +00:00
Paul Smith
28ef4c4dac
* Add gettext macros to start i18n support.
1999-07-28 06:23:37 +00:00
Paul Smith
187787286d
* Various bug fixes.
1999-06-14 05:26:28 +00:00
Paul Smith
9e6ba6a148
* Update FSF address info in copyright notices.
...
* 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.
1999-03-05 05:55:11 +00:00
Paul Smith
2c64fb221a
Checkpoint changes. Bug fixes, mostly.
1998-10-03 05:39:55 +00:00
Paul Smith
e2403327e9
GNU make release 3.77.
1998-07-30 20:54:47 +00:00
Roland McGrath
9e443adaf6
Tue Mar 19 20:21:34 1996 Roland McGrath <roland@charlie-brown.gnu.ai.mit.edu>
...
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.
1996-03-20 14:57:41 +00:00
Roland McGrath
f3cfccf0b8
Cast results of alloca' to
char *' in two places.
1995-02-06 22:36:43 +00:00
Roland McGrath
2cbfa1024a
(variable_expand): Fix braino in last change.
1995-01-15 16:33:35 +00:00
Roland McGrath
e167e0a3c2
(variable_expand): Rewrote computed variable name and substitution
...
reference handling to be simpler. First expand the entire text between the
parens if it contains any $s, then examine the result of that for
subtitution references and do no further expansion while parsing them.
1995-01-15 15:32:37 +00:00
Roland McGrath
b24a026b02
entered into RCS
1993-08-30 16:31:47 +00:00
Roland McGrath
ae112a5cb5
Formerly expand.c.~9~
1993-06-25 19:20:36 +00:00
Roland McGrath
29de1a7e5a
Formerly expand.c.~8~
1993-05-06 21:14:33 +00:00
Roland McGrath
15d4ec2322
Formerly expand.c.~7~
1993-02-03 20:59:22 +00:00
Roland McGrath
555a705aaa
Formerly expand.c.~6~
1992-12-22 23:44:03 +00:00
Roland McGrath
8b591a8b90
Formerly expand.c.~5~
1992-10-25 03:01:07 +00:00
Roland McGrath
29380252a8
Formerly expand.c.~4~
1992-06-16 23:43:29 +00:00
Roland McGrath
78e7551083
Formerly expand.c.~3~
1992-06-12 00:29:21 +00:00
Roland McGrath
e309bb2f76
Formerly expand.c.~2~
1992-06-11 02:27:09 +00:00
Roland McGrath
1a51e308e5
Initial revision
1991-09-13 23:39:37 +00:00