summaryrefslogtreecommitdiff
path: root/sys/src/cmd/mkfile
AgeCommit message (Collapse)Author
2023-02-20cmd/mkfile: don't recurse into test/ when loopingOri Bernstein
the test mkfile doesn't support targets like install
2023-02-20cmd/mkfile: make tests depend on cmd buildOri Bernstein
2023-02-19mkfiles: add 'mk test' supportOri Bernstein
9front has several tests scattered throughout the source, as well as more tests in an external 'regress' repository. Many of these tests are broken, because there is no easy way to build and track all of them. This pulls in several tests from different sources, deletes the broken tests, tests with missing data, and adds a single command that can be run from the root of the src directory to test our system. The hope is that as we develop new code, we add more tests, and eventually start running the tests on every commit. Please enter the commit message for your changes. Lines starting
2022-10-29/sys/src/cmd/mkfile: append to $NOMK so user can provide their ownJacob Moody
ie NOMK=(gs games) @{ cd /sys/src && mk install }
2021-08-28cmd/mkfile: major cleanupAmavect
Target generation is revised, split into $YTARG and $TARG. $PROGS is inlined to the cmd target. %.cpus is added to allow chaining: mk all.cpus $POWERLESS is added, since dtracy doesn't build yet on ppc. $DIRS regexp is simplified, simplifing $NOMK. $cpuobjtype is replaced with cp's recipe for copying itself on $cputype. $APEDIRS is removed. The none target is renamed to usage, since it prints out usage. The ape target is removed. The dirs target is replaced by all.dirs %.directories is replaced by %.dirs The all target serializes directories after cmds to match the install target recipe. All regexp rules are replaced with nonregexp versions for clarity. The &:n: rule is removed. Just build the $O.$cmd file. .y files now build .c files, not .tab.c files, and remove (bc|units|mpc|pc).c:R: All safeinstall rules are removed. The cleanfiles rule is renamed to cleancmds and simplified. %.clean is removed. Just use mk cleancmds. The install rule serializes cp and yacc before building anything else, avoiding races. The installall recipe is simplified with the install.cpus prereq. %.installall is removed. Just use mk $cmd.install.cpus The $O.cj, %.update, and compilers rules are removed.
2019-05-24/sys/src/cmd/mkfile: fix PCONLY exclude (thanks stefan)cinap_lenrek
2019-05-19vmx: handle build arch exclude in /sys/src/cmd/mkfilecinap_lenrek
2016-08-28add pc(1)aiju
2016-07-05remove mpc.tab.h on mk cleanspew
2016-05-01use rc in awk, remove awk from APEDIRS in cmd mkfileben
2015-11-25mpc: mpc.c is generated by yacc, so remove it on mk cleanBurnZeZ
2015-11-22add mpc(1), extended precision code generatorcinap_lenrek
2015-06-09unix is BUGGERED. remove itftrvxmtrx
2013-10-26mkfiles: do not rely on path containing the . elementcinap_lenrek
when executing generated binaries and helper scripts, always execute them as ./name instead of relying that path contsins the dot.
2011-08-29dont build empty directoriescinap_lenrek
2011-05-05fix manual (book) build, add files/permissions for lp, compile postscriptcinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen