summaryrefslogtreecommitdiff
path: root/usr.bin/make/main.c
AgeCommit message (Expand)Author
2021-04-30Pull up following revision(s) (requested by mrg in ticket #1263):martin
2017-10-28Ignore empty MAKEOBJDIRsjg
2017-06-19Add -v variable that always expands variables; restore -V the way it was.christos
2017-06-19make the code look like to 1.266christos
2017-06-19Remove previous variable expansion code; sjg had already added the code tochristos
2017-06-17a variable that starts with \\ is not expanded.christos
2017-06-17simplifychristos
2017-06-17-V: try to expand the variable again if the value contains a variable.christos
2017-06-17move some code out of the gigantic main function; no functional change.christos
2017-05-10Main_SetObjdir: ensure buf2 is in scopesjg
2017-04-20We cannot tollerate things like trailing /.. etc in .CURDIRsjg
2017-04-19We cannot use buf as both src and destination for snprintf.sjg
2017-04-16Factor out parts of cached_realpath.riastradh
2017-04-16Use bmake_malloc where we don't test the return value of malloc currently.maya
2017-04-13PR/52159: Jamie Landeg-Jones: Don't try to expand $'s in paths or systemchristos
2017-03-26When we change .OBJDIR we should delete any cached realpath resultssjg
2017-03-11Do not consider using -C arg "as is" for .CURDIR unless it starts with '/'.sjg
2017-02-08Use strncpy here because we need to be portable, and we have the +1 bytechristos
2017-02-07use the logical path for -C if correct.christos
2017-01-31Partially initialize Dir before MainParseArgs can be called.sjg
2016-12-10Back in 1993 ${MACHINE} was a unique way to define objdirs forchristos
2016-12-07Don't apply the suffix (curdir) to MAKEOBJDIRchristos
2016-12-07Refactor and simplify objdir setting code.christos
2016-08-26Add a .DELETE_ON_ERROR: magic target that causes *failed* targets asdholland
2016-08-11PR: 51405sjg
2016-08-10Set .ERROR_CMD if we cansjg
2016-06-07fix memory leak, simplifychristos
2016-06-05NUL terminate.christos
2016-06-05Avoid breaking !NetBSD buildsjg
2016-06-03Add cached_realpath()sjg
2016-04-05Skip looking for .MAKE.JOBS if either of compatMake or forceJob is true.sjg
2016-03-16honor setting .MAKE.JOBS from the makefile. That way one can e.g. do:matthias
2016-03-07str2Lst_Append tokenizes the string and uses it in the list so we can'tchristos
2016-02-19getBoolean:sjg
2016-02-18Add .export-literal to avoid the need for $$ dance when trying to putsjg
2016-02-18Collapse the 3 boolean parameter to 1 flags parameter. No functional change.christos
2016-01-17remove free NULL checks (Tilman Sauerbeck)christos
2016-01-17provide missing FD_CLOEXEC for the havenots.christos
2016-01-09Preserve $$ in := assignments..christos
2015-10-25PrintOnError: fflush stdout before running .ERRORsjg
2015-10-11Add Boolean wantit to Var_Parse and Var_Substsjg
2015-09-10Output Entering/Leaving messages for objdir when != srcdir and -w flagsjg
2015-03-26Move initialization of savederr to the block where it is usedsjg
2014-09-09Restore apb's 20140820 commit (-r1.228 of main.c):dholland
2014-09-07Revert all make changes except the unit tests to the state of threejoerg
2014-08-23PR/46096: Jarmo Jaakkola: fix many problems with dependencies (PR 49086)christos
2014-08-20It should not be an error to have VAR != command that prints no outputapb
2014-08-08Fix comment: Error, Fatal, and Punt take any number of arguments, not two.gson
2014-02-07Use Var_Value() instead of getenv() to obtain MAKEOBJDIR{,PREFIX}.pooka
2013-09-14If MAKE_NATIVE, use sysctl to get MACHINE_ARCH from hw.machine_arch.matt