summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
1999-07-29"sprite.h"; soren@t.dkTheo de Raadt
1999-06-06Once again, fix the spelling of "occurrence" in the documentationPaul Janzen
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1999-06-01Fix some mips -> __mips__ stuff.Per Fogelstrom
1999-05-16More special targets documentation.Marc Espie
More odd behavior (filed as `bugs' in some cases...)
1999-05-04Better comment explaining last change:Todd C. Miller
We don't want to end a word on ':' or '!' if there is a better match later on in the string. By "better" I mean one that is followed by whitespace. This allows the user to have targets like: fie::fi:fo: fum where "fie::fi:fo" is the target. In real life this is used for perl5 library man pages where "::" separates an object from its class. Ie: "File::Spec::Unix". This behaviour is also consistent with other versions of make.
1999-05-04Allow embedded ":" or "!" in target namesTodd C. Miller
1999-03-17Document known problem and work-around, until I manage to get it fixed.Marc Espie
1999-03-06back out changes that should not have escaped my local treeTodd C. Miller
1999-03-06add missing reference to infocmpTodd C. Miller
1999-02-23Document the other side of .MAINMarc Espie
1999-01-09close PR 685.Marc Espie
Slightly trimmed down version of fix by assar@sics.se (strtol failure is usually simpler to test, and error messages should identify the program that produces them)
1998-12-20bye bye BADSIGTheo de Raadt
1998-12-05Modifications from netbsd:Marc Espie
- don't interfere with MACHINE/MACHINE_ARCH defines for bootstrap - type clean-up, time_t, and printing `unknown' ints - fix TARGET/MEMBER bug in archive rules - memmove... - cleaner Error handler. - reentrant brk_string - .MAKE env variable - preliminary scaffolding for .NOPATH Other improvements: - efree - shellneed streamlined - display Stop in .CURDIR after an error. - document most features and misfeatures. - add a few OpenBSD notes to the tutorial.
1998-09-26usr.bin/ man page fixes, f-m.Aaron Campbell
1998-09-05more man page repairs; aaron@ug.cs.dal.caTheo de Raadt
1998-07-23portable bootstrap thing; lidl@eng.us.uu.netTheo de Raadt
1998-07-13ftpd: sleep for an indeterminate amount for non-existant loginsTodd C. Miller
to simulate a crypt, like login does. Use SEEK_* not L_* and kill some 0L's used in lseek while we're there.
1998-07-13Use SEEK_CUR as "whence" in fseek, not 1.Todd C. Miller
1998-07-03Better fix from Christos:Todd C. Miller
deleting a suffix that has 0 source references causes core-dump. Fix: when an unused suffix gets removed, delete it from the suffix list. There is still, however a duplicate free(), which I work around by passing the Suffix back as a return value to SuffRemove() (it gets set to NULL when the suffix is freed). This is probably not the best way to fix this.
1998-07-02Check against suffNull, not the contents of nameTodd C. Miller
1998-07-02better fix; may be a small memory leak thoughTodd C. Miller
1998-07-02back out last patch; it causes incorrect behaviorTodd C. Miller
1998-07-02Fix a bug where make gets confused by targets beginning with a period (``.'')Todd C. Miller
and tried to do a suffix conversion, following a NULL pointer in the proccess. Also add some sanity checks so we don't blindly assume strchr returns non-NULL.
1998-06-29make the bootstrap compile on modern compilersArtur Grabowski
1998-06-03zero sigaction before useTheo de Raadt
1998-05-13catch more commands that require a shellTheo de Raadt
1998-05-12emulate umask inside make, so that the value gets propogated; also ensureTheo de Raadt
that "exit" gets passed to the shell and make does not attempt to execve() it. Other commands will probably come later..
1998-03-30Y2K fixes from Andreas.Gunnarsson@emw.ericsson.se; culled from various placesTheo de Raadt
1998-03-15fix possibility of null pointer deref when using make's "-j" option.flipk
1998-03-07Add -Wno-char-subscripts to CFLAGSTodd C. Miller
1998-03-07make gcc 2.8 happyTodd C. Miller
1998-02-22some ansiMichael Shalayeff
1998-01-28Use BSDmakefile in favour of [mM]akefile if existent. Good forNiklas Hallqvist
cases where you want BSDmake specific facilities not messing up other implementations of make
1998-01-02use _exit()Theo de Raadt
1997-12-18for the test following test case, do not output FOOBAR=bar (should be FOOBAR=)Theo de Raadt
problem reported by mark@thuvia.demon.co.uk FOO= FOOBAR=$(FOO:=bar)
1997-12-16do not overflow fd_setTheo de Raadt
1997-10-13powerpc ELFPer Fogelstrom
1997-09-21$OpenBSD$Theo de Raadt
1997-09-18environment variablesTheo de Raadt
1997-07-25#if __STDC__ --> #ifdef __STDC__Michael Shalayeff
1997-06-17(foo *)NULL -> NULLkstailey
1997-06-15Avoid possible /tmp races by using mkstemp(3).Todd C. Miller
1997-04-28Back out newer .USE code as it caused problems. I've done a "make build"Todd C. Miller
without problems and the problem Theo saw before is gone.
1997-04-21nope, breaks other thingsTheo de Raadt
1997-04-20Back out the following change since it introduces an ordering problem:Todd C. Miller
in compat mode, expand .USE before evaluating the list of targets, instead of doing .USE expansions on demand, because they can cause tree restructuring.
1997-04-01Sync with NetBSD (mostly by christos initial substitution/regexp from Der Mouse)Todd C. Miller
- fix the variable substitution code in make [PR/2748] 1. change s/a/b/ so that it substitutes the first occurance of the pattern on each word, not only the first word. 2. add flag '1' to the variable substitution so that the substitutions get performed only once. ***THIS IS AN INCOMPATIBLE CHANGE!*** Unfortunately there was no way to make things consistent without modifying the current behavior. Fortunately none of our Makefiles depended on this. OLD: VAR = aa1 aa2 aa3 aa4 S/a/b/ = ba1 aa2 aa3 aa4 S/a/b/g = bb1 bb2 bb3 bb4 NEW: VAR = aa1 aa2 aa3 aa4 S/a/b/ = ba1 ba2 ba3 ba4 S/a/b/1 = ba1 aa2 aa3 aa4 S/a/b/g = bb1 bb2 bb3 bb4 S/a/b/1g = bb1 aa2 aa3 aa4 - add regexp variable substitution via 'C/foo/bar/' [PR/2752] - add variable quoting via the ${VAR:Q} modifier. This is useful when running recursive invocations of make(1): make VAR=${VAR:Q} will always work... (This may prove useful in the kernel builds...) [PR/2981] - BSD did not traditionally have <sys/cdefs.h>; use BSD4_4 instead and include <sys/param.h> to grab it. - Don't compile the regex code if MAKE_BOOTSTRAP (from gwr) - Use explicit .c.o rule in Makefile.boot so that the bootstrap process works. - Use only integral types in procedure arguments. [buf.c buf.h] - Include <stdlib.h> to get getenv() prototype on SVR4 - if __STDC__ -> ifdef __STDC__ to appease SVR4 - Define const and volatile for non __STDC__ - Implement snprintf() and vsnprintf() for non BSD4_4 systems. - Make $MACHINE_ARCH settable from the environment. - Fix .USE directive problems: (reported by cgd) 1. ${.*} variables did not get expanded in dependencies. 2. expanded ${.*} variables in .USE dependencies can cause tree restructuring; handle it. 3. in compat mode, expand .USE before evaluating the list of targets, instead of doing .USE expansions on demand, because they can cause tree restructuring. - Add a .MADE directive to indicated that the children of a target are up-to-date, even when they are not. This is to simulate our current make install behavior with proper dependencies. - Fix problems in the RE substitution error handling. - Locate all the children of a node marked as MADE. - Do not compile-in ${MACHINE} (as per NetBSD PR#3386) - Disable globbing for targets/dependencies when POSIX is defined. - Fix globbing so that patterns that don't have a matching number of [] or {} don't get expanded. (before the [ case got expanded to nothing!) This is disabled. - Make sure that the children of nodes that are marked .MADE, are marked UPTODATE and their timestamps are consistent. - Don't disable wildcards completely; they are used by other Makefiles.
1997-03-26s/main/listmain/; seebs@solon.comTheo de Raadt
1997-03-03changed to CFLAGS+=, closes PR user/116.flipk
1997-01-27Set MACHINE_ARCH only if it's not already in the environment. Updatebriggs
comment accordingly. Patch from Dale Rahn.