summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-05-24Import bmake-BMAKEnia156-2434/+20367
2015-05-19Import bmake-20150505joerg120-2676/+6033
2011-06-18Import bmake-20110606. Many changes, among them:bsiegert42-338/+4606
- unit-tests/modts now works on MirBSD - meta mode - ApplyModifiers: when we parse a variable which is not the entire modifier string, or not followed by ':', do not consider it as containing modifiers. - when long modifiers fail to match, check sysV style. - :hash - cheap 32bit hash of value - :localtime, :gmtime - use value as format string for strftime. - fix for use after free() in CondDoExists(). - boot-strap (TOOL_DIFF): aparently at least on linux distro formats the output of 'type' differently - so eat any "()" - correct sysV substitution handling of empty lhs and variable - correct exists() check for dir with trailing / - correct handling of modifiers for non-existant variables during evaluation of conditionals. - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles have been read. - fix example of :? modifier in man page. - sigcompat.c: convert to ansi so we can use higher warning levels. - parse.c: SunOS 5.8 at least does not have MAP_FILE - use mmap(2) if available, for reading makefiles - to ensure unit-tests results match, need to control LC_ALL as well as LANG. - if stale dependency is an IMPSRC, search via .PATH - machine.sh: like os.sh, allow for uname -p producing useless drivel - boot-strap: document configure knobs for meta and filemon.
2010-09-07Import bmake-20100808:joerg17-147/+395
- boot-strap (TOOL_DIFF): set this to ensure tests use the same version of diff that configure tested - in jobs mode, when we discover we cannot make something, call PrintOnError before exit. - formatting fixes for ignored errors - ensure jobs are cleaned up regardless of where wait() was called. - os.sh (MACHINE_ARCH): watch out for drivel from uname -p - call PrintOnError from JobFinish when we detect an error we are not ignoring. - use bmake_signal() which is a wrapper around sigaction() in place of signal() - add .export-env to allow exporting variables to environment without tracking (so no re-export when the internal value is changed). - fix for .info et al being greedy. - back to using realpath on argv[0] but only if contains '/' and does not start with '/'.
2010-05-13Import bmake-20100510:joerg6-38/+70
- use absolute path for bmake when running tests during boot-strap - revert use of realpath on argv[0] - print MAKE_PRINT_VAR_ON_ERROR before running .ERROR target - fix for missing SIGCHLD when compiled with SunPRO - fflush stdout before writing to stdout
2010-04-24Import bmake-20100423:joerg16-81/+271
- Fixes for vfork(), bogus $TMPDIR, .export and realpath(3) - boot-strap fixes to allow -m .../mk, no default use of /usr/share/mk on !NetBSD, honor --with-default-sys-path - Other small improvements
2010-04-20Import bmake-20100414:joerg33-4483/+4940
- Resolve argv[0] with realpath if needed - Add :tA to realpath(3)ify variables - Support for .info, .warning, .error, .ERROR - Unit tests for .ERROR / .error; never make .ERROR the default target - Fix for .ALLSRC being populated twice - Support for .MAKE_MODE, .MAKE.MAKEFILE_PREFERENCE, .MAKE_DEPENDFILE - Haiku support - Improved diagnostics for .for with multiple variables - Rewrite bootstrap to not use make - Fix for -m .../ - Add support for .unexport - Catch typoes in .el*if etc - Fix parsing of :S;...;...; applied to .for loop iterators appearing in dependency lines
2009-09-18Import bmake-20090909:joerg100-2467/+4068
- .MAKE.LEVEL, -C, SIGINFO support - fixes for :M and \: - vfork signal handling fixes e.g. for Solaris
2008-11-11bmake-20081111:joerg92-597/+1193
- remove unused compat code for (v)asprintf - remove unneeded configure checks - use emalloc and co only if the whole family is provided by libutil
2008-11-11Update to bmake 20081101 snapshot. The more important changes are:joerg31-3409/+5364
- portability fixes for putenv - man page updates - fix processing of .END with -j - fix some segmentation faults on parse errors - debug output goes to stderr by default - first round of fixes for A/UX - fix crashes on long lines - faster VarQuote - fix use of ?= when the LHS contains variable references
2008-03-09Import bmake-20080215joerg73-5122/+5708
2005-12-02Import bmake-20051105sjg94-0/+46591
1997-08-20initial empty check-insrcmastr0-0/+0