aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bmake/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Merge bmake-20260313Simon J. Gerraty5 days1-6/+13
| | | | Merge commit 'fe271bdb43cf88ee129d94c0e286fe618fd28e89'
* Merge bmake-20250804Simon J. Gerraty2025-08-051-0/+2
| | | | | | Fixes bug in meta mode output capture. Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'
* Replace last few remaining MAN[1-8] with MANDag-Erling Smørgrav2025-07-261-2/+0
| | | | | Reviewed by: ivy Differential Revision: https://reviews.freebsd.org/D51530
* Merge bmake-20250308Simon J. Gerraty2025-03-191-52/+52
|
* Fix mangled bmake makefileSimon J. Gerraty2025-01-311-19/+19
|
* Merge bmake-20250125Simon J. Gerraty2025-01-301-58/+81
| | | | Merge commit '5ad769f660f3d00853bc739f82d9bc62f6a682cb'
* Merge bmake-20240430Simon J. Gerraty2024-05-031-2/+2
| | | | Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
* bmake Makefile.configSimon J. Gerraty2024-03-141-1/+1
|
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Merge bmake-20230622Simon J. Gerraty2023-06-271-2/+4
| | | | Merge commit '3e39ce563b9ba25883e5aa37d9799eda9e57c1e0'
* Merge bmake-20230414Simon J. Gerraty2023-04-241-3/+1
| | | | Merge commit '51d8a8b4ac1dd7265e891149e470a803906de2a7'
* Merge bmake-20230208Simon J. Gerraty2023-02-101-1/+1
| | | | Merge commit 'f4d51098686d961fc03dc5aa327619d0af3c9dcd'
* Merge/update to bmake-20230126Simon J. Gerraty2023-01-281-1/+1
|
* Update to bmake-20220726Simon J. Gerraty2022-07-271-4/+8
| | | | Merge commit '31a96ca5f0b6e5f8f7fa8cecf3a5c4354b3b096f'
* Auto-create bmake/unit-tests objdir if appropriateSimon J. Gerraty2022-07-261-1/+14
| | | | | | | | | | Given the way bmake/unit-tests is visited, when doing 'test' MK_AUTO_OBJ=yes will not be effective. So create the objdir before running the sub-make. Also ensure MAKEOBJDIR is passed to opt-m-include-dir Reviewed by: deo
* After-import bmake-20211212Simon J. Gerraty2021-12-181-3/+2
|
* Merge bmake-20201117Simon J. Gerraty2020-11-201-1/+7
| | | | | | | | | | | | | | | o allow env var MAKE_OBJDIR_CHECK_WRITABLE=no to skip writable checks in InitObjdir. Explicit .OBJDIR target always allows read-only directory. o More code cleanup and refactoring. o More unit tests MFC after: 1 week Notes: svn path=/head/; revision=367863
* Update to bmake-20201101Simon J. Gerraty2020-11-071-2/+1
| | | | | | | | | | | | | | Lots of new unit-tests increase code coverage. Lots of refactoring, cleanup and simlpification to reduce code size. Fixes for Bug 223564 and 245807 Updates to dirdeps.mk and meta2deps.py Notes: svn path=/head/; revision=367465
* Update to bmake-20200902Simon J. Gerraty2020-09-051-33/+7
| | | | | | | | | | | | | | | | | | | | Lots of code refactoring, simplification and cleanup. Lots of new unit-tests providing much higher code coverage. All courtesy of rillig at netbsd. Other significant changes: o new read-only variable .SHELL which provides the path of the shell used to run scripts (as defined by the .SHELL target). o variable parsing detects more errors. o new debug option -dl: LINT mode, does the equivalent of := for all variable assignments so that file and line number are reported for variable parse errors. Notes: svn path=/head/; revision=365366
* Merge bmake-20200606Simon J. Gerraty2020-06-091-2/+2
| | | | | | | | | | Relevant items from ChangeLog: o dir.c: cached_stats - don't confuse stat and lstat results. o var.c: add :Or for reverse sort. Notes: svn path=/head/; revision=361986
* Merge bmake-20200517Simon J. Gerraty2020-05-201-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes since 20181221 are mostly portability related hence the large gap in versions imported. There are however some bug fixes, and a rework of filemon handling. In NetBSD make/filemon/filemon_ktrace.c allows use of fktrace and elimination of filemon(4) which has not had the TLC it needs. FreeBSD filemon(4) is in much better shape, so bmake/filemon/filemon_dev.c allows use of that, with a bit less overhead than the ktrace model. Summary of changes from ChangeLog o str.c: empty string does not match % pattern plus unit-test changes o var.c: import handling of old sysV style modifier using '%' o str.c: refactor brk_string o meta.c: meta_oodate, CHECK_VALID_META is too aggressive for CMD a blank command is perfectly valid. o meta.c: meta_oodate, check for corrupted meta file earlier and more often. * meta.c: meta_compat_parent check for USE_FILEMON patch from Soeren Tempel o meta.c: fix compat mode, need to call meta_job_output() o job.c: extra fds for meta mode not needed if using filemon_dev o meta.c: avoid passing NULL to filemon_*() when meta_needed() returns FALSE. o filemon/filemon_{dev,ktrace}.c: allow selection of filemon implementation. filemon_dev.c uses the kernel module while filemon_ktrace.c leverages the fktrace api available in NetBSD. filemon_ktrace.c can hopefully form the basis for adding support for other tracing mechanisms such as strace on Linux. o meta.c: when target is out-of-date per normal make rules record value of .OODATE in meta file. o parse.c: don't pass NULL to realpath(3) some versions cannot handle it. o parse.c: ParseDoDependency: free paths rather than assert plus more unit-tests Notes: svn path=/head/; revision=361307
* Update to bmake-20171028Simon J. Gerraty2017-11-021-7/+2
| | | | | | | | | Ignore empty MAKEOBJDIR[PREFIX] Reported by: bdrewery Notes: svn path=/head/; revision=325340
* Import bmake-20170720Simon J. Gerraty2017-07-241-2/+2
| | | | | | | Includes fix for compat handling of interrupts. Notes: svn path=/head/; revision=321410
* Import bmake-20170711Simon J. Gerraty2017-07-151-2/+2
| | | | Notes: svn path=/head/; revision=321036
* Merge bmake-20170510Simon J. Gerraty2017-05-101-2/+2
| | | | | | | No-op change other than version update. Notes: svn path=/head/; revision=318163
* Merge bmake-20170420Simon J. Gerraty2017-04-211-2/+2
| | | | Notes: svn path=/head/; revision=317239
* Update to bmake 20170413Simon J. Gerraty2017-04-151-2/+2
| | | | Notes: svn path=/head/; revision=316949
* Merge bmake-20170301Simon J. Gerraty2017-03-061-2/+2
| | | | Notes: svn path=/head/; revision=314808
* Merge bmake-20161212Simon J. Gerraty2016-12-191-3/+6
| | | | Notes: svn path=/head/; revision=310304
* Update to bmake-20170818Simon J. Gerraty2016-09-091-2/+2
| | | | | | | | This version has some new knobs for dealing with troublesome targets in meta mode. Notes: svn path=/head/; revision=305633
* Merge bmake-20160606Simon J. Gerraty2016-06-081-2/+2
| | | | | | | o dir.c: extend mtimes cache to others via cached_stat() Notes: svn path=/head/; revision=301665
* Import bmake-20160604Simon J. Gerraty2016-06-051-2/+2
| | | | | | | Performace improvements for meta mode. Notes: svn path=/head/; revision=301462
* Merge bmake-20160512Simon J. Gerraty2016-05-201-2/+2
| | | | Notes: svn path=/head/; revision=300313
* Update to bmake-20160315Simon J. Gerraty2016-03-181-2/+2
| | | | | | | | | | | Archive member handling works again meta mode, treat missing reads as for writes. Update dirdeps.mk - much improved startup time. Update meta.stage.mk - avoid ln when chmod required. Notes: svn path=/head/; revision=297040
* Fix upgrade of bmake by not setting conflicting MAKE_VERSION.Bryan Drewery2016-03-111-2/+2
| | | | | | | | | | This may be used in later checks, such as in bsd.dep.mk, to enable features that rely on the built-in value. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296644
* Merge bmake-20160307Simon J. Gerraty2016-03-111-2/+2
| | | | Notes: svn path=/head/; revision=296637
* Merge bmake-20151220Simon J. Gerraty2015-12-251-2/+2
| | | | | | | Fixed clearing suffixes impact on null suffix Notes: svn path=/head/; revision=292733
* Merge bmake-20151201Simon J. Gerraty2015-12-081-2/+2
| | | | Notes: svn path=/head/; revision=291978
* Merge bmake 20151020Simon J. Gerraty2015-10-231-2/+3
| | | | Notes: svn path=/head/; revision=289842
* Merge bmake-20150606Simon J. Gerraty2015-06-111-2/+2
| | | | | | | | Only change to bmake is man page - document .OBJDIR target. We also get latest dirdeps.mk and friends. Notes: svn path=/head/; revision=284254
* Merge bmake-20150505 improve detection of malformed conditionals.Simon J. Gerraty2015-05-101-2/+2
| | | | Notes: svn path=/head/; revision=282740
* Merge bmake-20150418Simon J. Gerraty2015-04-211-5/+5
| | | | | | | PR: 199486 Notes: svn path=/head/; revision=281812
* Update to bmake-20140620Simon J. Gerraty2014-07-081-2/+3
| | | | | | | | | Main change is detection of malformed variable references. Reviewed by: obrien Notes: svn path=/head/; revision=268437
* Add .../share/mk to the default system make path. This will fix theWarner Losh2014-05-231-1/+0
| | | | | | | | | | | | | problem with broken in-tree builds (which are used far more pervasively than I'd known outside the tree). However, weird results may now happen if at any point in the tree above you there happens to be a directory that has subdirectory of share/mk, as unpredictable results will follow. This was considered the lessor of the two evils, at least for now. In the future this will be removed again when the underlying issues are resolved. Notes: svn path=/head/; revision=266566
* Undo changes to the generated Makefile. Move tests directory to properWarner Losh2014-05-151-6/+0
| | | | | | | | location, including updating the test to work in the more-fragile fmake -> bmake bootstrap environment. Notes: svn path=/head/; revision=266104
* Move old fmake tests into bmake and hook them to the build.Julio Merino2014-05-141-0/+5
| | | | | | | | | | | | | | | | | | | | | This first step is mostly to prevent the code from rotting even further and to ensure these do not get wiped when fmake's code is removed from the tree. These tests are currently being skipped because they detect the underlying make is not fmake and thus disable themselves -- and the reason is that some of the tests fail, possibly due to legitimate bugs. Enabling them to run against bmake will come separately. Lastly, it would be ideal if these tests were fed upstream but they are not ready for that yet. In the interim, just put them under usr.bin/bmake/ while we sort things out. The existence of a different unit-tests directory within here makes me feel less guilty about this. Change confirmed working with a clean amd64 build. Notes: svn path=/head/; revision=266074
* Merge bmake-20140101 from vendorSimon J. Gerraty2014-01-271-3/+3
| | | | Notes: svn path=/head/; revision=261212
* Stick to traditional DEFAULT_SYS_PATH (/usr/share/mk)Simon J. Gerraty2013-09-101-0/+1
| | | | | | | | Reviewed by: obrien Approved by: re Notes: svn path=/head/; revision=255463
* Merge bmake-20130904Simon J. Gerraty2013-09-051-2/+2
| | | | Notes: svn path=/head/; revision=255253
* ParseGetLine: don't treat a zero byte as end of buffer if P_end says it isn't.Simon J. Gerraty2013-08-101-1/+1
| | | | | | | | Consume up to next newline, and issue a parse warning. If no newline found before P_end, carry on as before. Notes: svn path=/head/; revision=254194