summaryrefslogtreecommitdiff
path: root/usr.bin/make
AgeCommit message (Collapse)Author
2014-02-24Rename NetBSD/hp700 to NetBSD/hppa.skrll
Unfortunately our VCS isn't very helpful here.
2014-02-15Put .INCLUDEDFROM* in the right sectionsjg
2014-02-15delete the correct variables on eofchristos
fix typo in comment (from sjg)
2014-02-12Reduce the calls to realloc from brk_string by basing initial argmax guesssjg
on length of input. Reviewed by: christos
2014-02-07Use Var_Value() instead of getenv() to obtain MAKEOBJDIR{,PREFIX}.pooka
Fixes "make -X MAKEOBJDIR=foo". Purely uncoincidentally, build.sh creates the nbmake wrapper with MAKEFLAGS -X on FreeBSD.
2014-01-19Emphasise the fact that the regexp and replacement in :C/// areapb
subjected to variable expansion before regexp parsing. This was already documented if you read carefully enough, but more emphasis would have helped me to figure out why I needed three or four backslashes where I expected to need only two.
2014-01-10Bump date for previous.wiz
2014-01-10add .INCLUDEDFROM{FILE,DIR}christos
2014-01-03Treat '~' as a meta char requiring a shell.sjg
Patch from Steve McIntyre 93sam at debian.org Reviewed by: christos
2013-11-26Include signal.h early for MiNT and Linux. From pkgsrc.joerg
2013-11-14Don't SEGV when Hash_Table is uninitializedsjg
2013-11-14Don't SEGV when passed NULL for list.sjg
2013-11-07apostrophe's do not make plural's.dholland
2013-10-27Remove trailing whitespace.wiz
2013-10-25Explain that ${VAR:M*} will normalise the inter-word spacing.apb
2013-10-25The :C/// modifier takes an extendedregular expression.apb
2013-10-18fix unused variable warningschristos
2013-10-01meta_oodate: 'L'ink and 'M'ove entries need extra processing.sjg
The src of a Link should be treated as a file Read while the target a file Written. The src of a Move is like a file Deleted and the target like a file Written.
2013-09-14If MAKE_NATIVE, use sysctl to get MACHINE_ARCH from hw.machine_arch.matt
2013-09-04Add VAR_INTERNAL as a context for variables set by make itself,sjg
which should not override those set by makefiles. Currently MAKEFILE is the only variable affected. Reviewed by: christos
2013-09-02Do not apply shellErrFlag unless errCheck is true.sjg
2013-08-28Fix parsing of SUNSHCMD style :sh = assigments.sjg
Submitted by: Will Andrews at freebsd.org
2013-08-11Use Va markup to show that the "suffix" part of ".PATH.suffix"apb
is a placeholder, not a literal string. Also bump date.
2013-08-11Document .PATH.suffix:. Noted by apb back in December of 2008dholland
(that's how long my queue is...)
2013-08-10ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.sjg
Consume up to next newline, and issue a parse warning. If no newline found before P_end, carry on as before.
2013-08-04Move the call to Job_SetPrefix() to Job_Init() so thatsjg
makefiles have had a chance to set .MAKE.JOB.PREFIX
2013-07-30Allow an empty .MAKE.JOB.PREFIX to supress output of --- job --- tokenssjg
2013-07-18From bmake: move decl of pwd nearer to where it is used so the wholesjg
thing can be ifdef'd out without causing unused variable errors.
2013-07-16When a var is set in the CMD context, it prevents the same namesjg
being set in GLOBAL context. We should also delete any such variable in GLOBAL context, else make -V will show the wrong value.
2013-07-16Fix unit-tests to cope with recent change to prognamesjg
2013-07-16use bmake_foo instead of efoo()christos
2013-07-16More gmake compatibility:christos
1. add -w flag to print Entering and Leaving directory name the the beginning and the end of processing. 2. export MAKELEVEL=$((MAKELEVEL + 1)) only in the child environment. 3. when printing error messages, prefix them with the program name [$MAKELEVEL] for $MAKELEVEL > 0 4. if $MAKEFLAGS consists only of letters assume it is a set of flags (as allowed by posix), convert them to -f -l -a -g -s, so that they get parsed properly. With those fixes gmake -> bmake -> gmake -> bmake etc. works as expected.
2013-07-15Make this work again like gmake. sjg: see the test program.christos
2013-07-09For .MAKE.LEVEL.ENV use VAR_CMD so updates are ignoredsjg
2013-07-09Set .MAKE.LEVEL.ENV to the name of the env variable used to communicatesjg
the recursion level to sub-makes.
2013-07-06If using gmake's MAKELEVEL; use it the same waysjg
2013-07-05If commandShell hasErrCtl is true, set shellErrFlag for use bysjg
CompatRunCommand() so that behavior in jobs and compat mode remains consistent.
2013-06-29PR/47973: Justin Cormack: build uses <sys/signal.h> not in POSIXchristos
2013-06-26fix a typoagc
2013-06-25Remove trailing whitespace.wiz
2013-06-25Add .MAKE.META.IGNORE_PATHS to facilitate local additions to the pathssjg
which should be ignored by meta_oodate().
2013-06-24Ignore any files in /proc/sjg
2013-06-18Use a #define for the variable name we put in environment to pass .MAKE.LEVELsjg
in case we don't want to use gmake's MAKELEVEL in a different way.
2013-06-18Fix use after free bug.sjg
Parse_SetInput: curFile->fname was using the buffer passed to it - which ReadMakefile frees. This change makes the comment in ParseEOF about leaking curFile->fname true.
2013-06-10put back previous changechristos
2013-06-10Revert last, it doesn't even build.joerg
2013-06-101. Don't export .MAKE.LEVEL, because this is an illegal variable name forchristos
some shells; export MAKELEVEL like gmake(1) does. 2. It is absurd for the environment variable to be one greater than the make variable!?!?! To wit... printf 'all:\n\t@echo ${.MAKE.LEVEL}; printenv .MAKE.LEVEL' | make -f -
2013-06-05JobCreatePipe: do fcntl() *after* any fiddling of fd'ssjg
to avoid leaking descriptors. Job_ServerStart: set closed on exec for jp_0 and jp_1.
2013-05-29Clean up some left overssjg
2013-05-22improve wordingchristos