summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
2003-04-06get rid of some strcpy/sprintf.Marc Espie
ok krw@, matthieu@, deraadt@
2003-03-28little cleanup;Jason McIntyre
systrace(1) ok provos@
2003-03-10these pages all had bad section numbers in the .Xr's;Jason McIntyre
lots of help and ok millert@
2003-02-18intial -> initial;Jason McIntyre
the great intial witch hunt, as prompted by tdeval@ os-aix-dso.c: ok henning@ ab.C: ok drahn@
2003-01-05Grammar and typo fixes, general language improvementsPeter Valchev
from jmc@prioris.mini.pw.edu.pl with changes by me
2003-01-03revert: reintroduce allTargets list #if CLEANUP, as all nodes are not addedMarc Espie
to the hash. ok miod@
2002-12-30Don't pass a NULL arg to Parse_DoVar which can happen if user specifiesTodd C. Miller
"make --". Check for "-", not "--" when deciding whether or not to pass something to Lst_AtEnd() (I misunderstood what the old code was trying to do). This fixes, e.g. ports/graphics/tiff
2002-12-30Avoid setting optind to 0 since in GNU getopt() that means the sameTodd C. Miller
as optreset in BSD getopt. This actually simplifies things a bit. espie@ OK
2002-12-29check -DCLEANUP compilationMarc Espie
2002-12-29Synch comment with codeMarc Espie
2002-12-09From Andrushock, s/sucess/success/gTodd C. Miller
2002-08-30okay, I'll bite. s/sports/supports/ can go in; it's clearer.Jason Peel
from Tomoyuki Sahara <tshr@oak.dti.ne.jp>; nick@ says this looks better, too
2002-08-12Swap args to calloc(3) so they are in the correct order; art@ ok.Aaron Campbell
2002-08-05dup2() style nit--don't dup2() if oldfd == newfd; espie@ OK.Todd C. Miller
2002-07-31use fork, not vfork. seems to fix misterious trapframe trashing on hppa; ↵Michael Shalayeff
deraadt@ ok
2002-07-25Obey LDSTATIC when building "generate".Artur Grabowski
2002-06-13synch comments with actual code.Marc Espie
Okay miod@.
2002-06-12a real pid_t cleanup.Mike Pechkin
espie@ ok for make/, deraadt@ one extra eye, millert@ ok
2002-06-11This is the first step in sanitizing the conditional parser.Marc Espie
Change the conditional recognition algorithm: scan for a sequence of alphabetic characters, hash it, and compare it against a small table (using ohash functions). This makes Cond_Eval entry more logical, and allows for some shortcuts in recognizing .include, .for, .undef. This also means that conditionals must have an intervening blank between the keyword and the actual test, e.g., .ifA will no longer work. (but no-one actually uses this, and it's highly obfuscated) Okay miod@.
2002-06-08. include,Marc Espie
variable modifiers: standard vs non-standard. ok miod@, millert@
2002-06-05missing $OpenBSD$ markerMarc Espie
2002-06-05tweak quick_lookup for a faster path.Marc Espie
okay millert@
2002-05-29more snprintfTheo de Raadt
2002-05-27unsigned vs unsigned intTheo de Raadt
2002-05-17oops, worked only because va_end is a noop on most of our arches.Marc Espie
2002-04-22Do not hardcode mvme88k-specific compilation flags here, especially sinceMiod Vallat
the new flags happen to be no different from those set in <sys.mk>
2002-04-17Disallow condTop from ever becoming <0. Fixes regress/mk17 mk18.Marc Espie
ok millert@
2002-04-16explain how conditionals/includes/loops interact.Marc Espie
ok aaron@
2002-03-23uname(3); hunter@dg.net.uaTheo de Raadt
2002-03-19Kill remote comments, un-expose private code.Marc Espie
ok millert@
2002-03-06First step in really explaining what make does, and what's standard,Marc Espie
and what's not. okay millert@, miod@.
2002-03-02Kill JOB_REMIGRATE.Marc Espie
2002-03-02kill #ifdef REMOTE stuff that only obfuscates issues.Marc Espie
ok millert@, miod@
2002-02-26close PR 2311Marc Espie
2002-02-19We live in an ANSI C world. Remove lots of gratuitous #ifdef __STDC__ cruft.Todd C. Miller
2002-01-30use defined(__ELF__) instead of a list of ELF architectures from whichMatthieu Herrb
sparc64 was missing. This fixes a bug with ELF static libraries on sparc64
2002-01-16Use the volatile specifier to fix warnings about variables beingTodd C. Miller
clobbered by longjmp / vfork instead of the gcc "(void)&foo;" hack.
2001-12-02Put back the interrupt fixed code, since it's not the issue.Marc Espie
2001-11-23back out changes that break kernel compiles. good testing jobmk install!Theo de Raadt
2001-11-22Remove broken interrupt handler.Marc Espie
Nothing of what it did is allowed in an interrupt handler. Rather, just mark that an interrupt occurred, and check for interrupts in the wait of RunCommand (that's the correct point to check for interrupts anyways). Okay miod@, millert@ approves (as he's too tired to look at the code)
2001-11-22Explicitly mark nodes whose commands have been filled withMarc Espie
implicit (suffix) rules. Then, only expand the IMPSRC/< variable if the node has been marked. This matches what Single Unix 2 and common sense say: implicit rules shouldn't count when an explicit rule has been found (an explicit rule being a full-scale dependency, with some associated commands) Note that Single Unix leaves the `PREFIX' question open, so we leave the PREFIX code as it is. This fixes regression case mk14, which now fails as it should. This is just a bug-fix. Some more correct (and faster) code should probably be substituted. Namely, right now, the suffix code is too greedy, whereas it should test for explicit rules earlier, and not even bother instantiating implicit rules from templates when they duplicate actual existing rules. ok millert@
2001-11-17do not exit() from signal handlerTheo de Raadt
2001-11-17errno savingTheo de Raadt
2001-11-11Fixed version... don't see how this could work on i386, since it didn'tMarc Espie
initialize create in main.c.
2001-11-11undo changes that crash on (at least) the alphaTheo de Raadt
2001-11-11Redo LstInit as a macro: smaller and faster code in all cases, zeroing twoMarc Espie
pointers is simpler than calling a function. Recognize purely static lst headers, which don't really need any initialization. ok miod@
2001-09-19occured->occurredMike Pechkin
idea from deraadt@ via NetBSD millert@ ok p.s. Next commit will fix a typo in the sys/
2001-09-16Make make cross-compilable.Artur Grabowski
2001-09-15fix a pasto, fix pr 1969Michael Shalayeff
2001-09-07Repair regular expression substitution.Marc Espie
Even though the code can share some common parts, there is an important difference I had missed.