summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
2014-11-03introspection feature: ${MAKEFILE_LIST} contains the list of makefilesMarc Espie
parsed. name stolen from gmake, from a suggestion from guenther@, to avoid gratuitous confusin. okay guenther@, millert@
2014-10-31redirect error output to stderr instead of stdoutGleydson Soares
stderr is always unbuffered by default, so zap fflush(3) its no longer makes any sense here reminded by espie@ OK espie@
2014-10-20document sinclude/-includeMarc Espie
2014-10-18enable the sinclude/-include feature support I wrote long ago.Marc Espie
Other systems now have it, xenocara is using it. talked over with kettenis@ who checked release still works. I did a full bulk build with this and did not notice any issue.
2014-09-21plug a small memory leak, fairly infrequent.Marc Espie
2014-07-16tweak previous;Jason McIntyre
2014-07-15remove support for the non-standard BSDmakefile, which make tries toTheo de Raadt
open first. a handful of strange ports will cope soon. ok espie
2014-05-30modern bourne shells handle ~. Unlikely in makefiles, but still, betterMarc Espie
fork a shell then (as seen in a commit message in netbsd's make, apparently taken from debian. didn't look at the actual code, but it was a "duh" moment) okay millert@
2014-05-18a bit more reallocarray (and kill ecalloc, which isn't used)Marc Espie
okay chl@
2014-05-15remove unused variableCharles Longeau
ok espie@
2014-05-12adjust to ohash being in libutil now, and to the interface changes.Marc Espie
fix potential integer overflows in memory allocation (mostly for pedagogical purposes, these are unlikely to overflow in practice) move the rest of lst.lib stuff into its own directory.
2014-04-22pure reindentMarc Espie
2014-04-22effectively use emult_realloc, okay guenther@Marc Espie
2014-04-14STANDARDS: note that make is optionalJason McIntyre
ok schwarze sobrado
2014-03-22don't use >$@ directlyMarc Espie
2014-03-14.depend is definitely not *appended* to Makefile. Its rules are alsoMarc Espie
read after the main makefile.
2014-03-14better wording;Jason McIntyre
From: Daniel Dickman
2014-02-13Don't use use .Tn with AND/OR/NOTPhilip Guenther
Phrase any "The _flags_ argument is the ..." line consistently, eliminating unnecessary use of 'inclusive' and saying "zero or more" or "one or more" as appropriate ok millert@ jmc@ schwarze@
2014-01-29I'm a bit dyslexic. Found out by Jan Klemkow. Thanks.Marc Espie
2014-01-06Suff_FindDeps must happen before SuffExpandChildren (expand_all_children)Marc Espie
so that dynamic variables are solved properly
2014-01-06this actually requires a comment. I would never have figured it out ifMarc Espie
it wasn't for the arm error.
2014-01-06fix error messages, avoid dereferencing null pointers.Marc Espie
- the code becomes too indented, pull it into a separate function - add an extra hint, the current_gnode. - specifically, variables may be expanded during target: prereq solving in Suff_FindDeps, this is after parsing, not during command execution, and the only actual indication with have is that we're resolving a prereq of. (this ought to fix mk35, and partially solve mk34)
2013-11-24simplify determination of OBJDIR to what we actually use.Marc Espie
(prevents some race conditions by just chdir()'ing into the right objdir) problem noticed by theo okay'd by general apathy...
2013-11-22wrappers for is*/to* that make damn sure their arguments areMarc Espie
cast to unsigned chars. okay deraadt@
2013-11-12Do not use a char as index, unless first making it unsigned.Theo de Raadt
(signed char, ya know) ok espie
2013-11-01silence warningMarc Espie
okay guenther@
2013-10-19fix a few obvious .Ar markup errors (unfortunately, there are many more)Ingo Schwarze
found while working on mandoc apropos
2013-10-13this Makefile does not really help anyone bring up makeTheo de Raadt
ok espie
2013-10-01in truth, noone uses these backwards compat stubs to compile make on otherTheo de Raadt
systems. the replacements in here are the least of their worries, and they shouldn't rely on these things from the 80's. time for make to grow up, and use whatever is common today.
2013-08-26"reactivate";Jason McIntyre
make.1 part From: Christian Schulte
2013-08-26replace rand(3)/random(3) calls with secure arc4random*()Christian Weisgerber
npppd ok yasuoka@ ok millert@
2013-08-14some Bx/Ox conversion;Jason McIntyre
From: Jan Stary
2013-07-07old option -P bites the dust. It's not been doing anything for years.Marc Espie
It used to control pipes for parallel output, but the new model means pipes are no longer used at all. Its mere presence confuses some people. tested thru a few builds and bulk to not impact anything.
2013-06-24do not use literal displays when the display contains mark up;Jason McIntyre
2013-06-20fix typoMarc Espie
thx Caspar Schutijser
2013-06-15make explicit some hidden assumptions, make path handling clearer,Marc Espie
fix set -e description, as we actually match what posix says. a bit of feedback from millert@, guenther@, jmc@ will probably have further fixes when he's back :)
2013-05-30remove cmtime again, but with a proper test for nodes without children.Marc Espie
problem seen by aja, make pointed by matthieu, sleuthing by me, okay by millert (and you say OpenBSD developers don't work together)
2013-05-25obviously missed something, so revert.Marc Espie
(noticed by sthen@/matthieu@)
2013-05-22as checked through thorough tests, youngest->mtime == ctime, so ditchMarc Espie
the extra field. remove some extra abstraction layer: use clock_gettime directly instead of ts_set_from_now (what is "now" anyways) time_to_string takes param by pointer rename "now" into starttime (more accurate term) randomize queue uses arc4random_uniform (prompted by deraadt@) display debug timestamp with ns too (it's debug, so it doesn't really matter whichever way it's done, as long as it's done) okay millert@
2013-05-14keep track of the youngest child, helps a lot with out-of-date messagesMarc Espie
in -dm mode. okay millert@
2013-05-06clarify that the :C modifier uses extended regular expressions; ok espie@ jmc@Christian Weisgerber
2013-05-06actually show list of mismatched for loops when a fatal error occurs.Marc Espie
okay millert@
2013-04-23remove TIMESTAMP abstraction layer, prodded by theo.Marc Espie
while there, clean up includes. use strtoll for ar timestamps (pretty much unused in reality, more standard conforming than anything) use idea from Todd to adapt to time_t being 32 bits OR 64 bits (pedantically correct: INT_MIN would work just fine up to 1910 or so...) okay millert@, gone thru a make build.
2013-04-22unifdef non full TIMESPEC codeMarc Espie
2013-02-19Add missing trailing slash on the :S modifier in the BUGS section.William Yodlowsky
ok espie
2013-02-15turns out if a line ends with a $, the var module will run off the cliffMarc Espie
while expanding it. shows up very prominently with MALLOC_OPTIONS=S Problem found by jasper@ okay'd by jasper@ and kind-of duh'd by miod@
2013-02-04synch with reality, okay jmc@Marc Espie
2012-12-22cosmetic changes:Marc Espie
- pref -> prefix as pref is somewhat ambiguous - rework tests so loop doesn't intend off the screen - zap unneeded variable okay krw@
2012-12-14a few more commentsMarc Espie
2012-12-08document a bit of job.cMarc Espie
notice that Job_Finish() really returns a boolean, so unconfuse that accordingly (it's likely the extra Fatal() message is not needed and we could just call finish)