summaryrefslogtreecommitdiff
path: root/usr.bin/make/main.c
AgeCommit message (Expand)Author
2010-05-10PrintOnError: run .ERROR last, so even if it causes problems wesjg
2010-05-05Revert bogus patch that attempted to canonicalize a non absolute argv[0] usingchristos
2010-04-29fflush stdout, before writing to stderr.sjg
2010-04-23On darwin at least, vfork() fails in child of vfork().sjg
2010-04-22Use _PATH_TMP instead of a literal /tmp; noted by Christosdholland
2010-04-22don't use strlcpy; it causes bootstrap issues. (noted by moof)dholland
2010-04-22Just because $TMPDIR is set does not mean it is valid.sjg
2010-04-20On some systems realpath will prefix make with cwd, so make suresjg
2010-04-14If argv[0] is not an absolute path, attempt to resolve itsjg
2010-04-08Process .ERROR the same as .BEGIN, .END etcsjg
2010-04-07Add:sjg
2010-01-04We need to have set curdir before calling Dir_FindHereOrAbove().sjg
2009-09-09We must delay setting .CURDIR and .OBJDIR until after MainParseArgs()sjg
2009-09-08Reviewed by: apbsjg
2009-09-03Use the W* macros to test wait results.dholland
2009-08-26Add -C directory, same as gmake and freebsd make.sjg
2009-03-24per dholland, put back MAKE_VERSION for the benefit of third party users.perry
2009-03-20The Makefile and main.c arranged to put "netbsd-${DATE}" into theperry
2009-03-18use progname instead of getprogname() for portability.christos
2009-03-01use siginfo to report on the directory we are working on if available.christos
2009-01-24Move the bmake_malloc() functions into their own .c and .h files.dsl
2009-01-23Sprinkle some const.dsl
2009-01-23Change 'ClientData' to 'void *' so that relevant parameters candsl
2009-01-17Change 'Buffer' so that it is the actual struct, not a pointer to it.dsl
2009-01-16Send output of Error() to debug_file (unless stderr/stdout).dsl
2009-01-13Sprinkle a const. (arg of Main_ParseArgLine())dsl
2008-12-20Delete very splurious 'free(buf)' that xtos added.dsl
2008-12-19if brk_string fail, so do we.christos
2008-12-13fix typo in commentdholland
2008-12-13Use NULL instead of -1 cast to the relavant type (usually via NIL).dsl
2008-12-13Do not let the variable name "" be set from the command line (-D "")dsl
2008-12-07add debug flag for cwd.christos
2008-10-22Send debugging output to stderr by default, not to stderr.apb
2008-10-19Always make the debugging output unbuffered; in addition, if debuggingapb
2008-10-18Allow optional "+" in "-dF[+]filename" even if the filename is "stdout"apb
2008-10-06Don't use emalloc and friends directly, but call them consistentlyjoerg
2008-07-21Remove the \n and tabs from the __COPYRIGHT() strings.lukem
2008-02-15back all changes out until I fix it properly.christos
2008-02-15fix != expansion bug I introduced.christos
2008-02-14- use pid_t/size_t as appropriate instead of int.christos
2008-01-19Implement -dl (aka LOUD) to override '@' at the start of script lines.sjg
2007-12-21If make can't find a rule to create a file it needs to satisfy a ruledsl
2007-10-13* Convert all uses of strdup() to estrdup();apb
2007-10-05Add the ability to .export variables to the environment.sjg
2007-10-01Add the ability to tweak the token output before targets in job mode.sjg
2007-01-01Since the 'buf' code here is only used by make, we don't need two namesdsl
2006-12-16Use open/read/close instead of stdio for makefiles.dsl
2006-12-06Add anewline to the end of the error message output when the debug logdsl
2006-12-03Some minor changes:dsl
2006-11-17A rather large rototil in the way the parallel make code schedules jobs.dsl