RISCi_ATOM 886e736bff First pull from upstream 12/17/16 7 years ago
..
Nt.c 886e736bff First pull from upstream 12/17/16 7 years ago
Plan9.c 886e736bff First pull from upstream 12/17/16 7 years ago
Posix.c 886e736bff First pull from upstream 12/17/16 7 years ago
README 886e736bff First pull from upstream 12/17/16 7 years ago
arc.c 886e736bff First pull from upstream 12/17/16 7 years ago
archive.c 886e736bff First pull from upstream 12/17/16 7 years ago
bufblock.c 886e736bff First pull from upstream 12/17/16 7 years ago
env.c 886e736bff First pull from upstream 12/17/16 7 years ago
file.c 886e736bff First pull from upstream 12/17/16 7 years ago
fns.h 886e736bff First pull from upstream 12/17/16 7 years ago
graph.c 886e736bff First pull from upstream 12/17/16 7 years ago
job.c 886e736bff First pull from upstream 12/17/16 7 years ago
lex.c 886e736bff First pull from upstream 12/17/16 7 years ago
main.c 886e736bff First pull from upstream 12/17/16 7 years ago
match.c 886e736bff First pull from upstream 12/17/16 7 years ago
mk.c 886e736bff First pull from upstream 12/17/16 7 years ago
mk.h 886e736bff First pull from upstream 12/17/16 7 years ago
mkfile 886e736bff First pull from upstream 12/17/16 7 years ago
mkfile-Nt 886e736bff First pull from upstream 12/17/16 7 years ago
mkfile-Plan9 886e736bff First pull from upstream 12/17/16 7 years ago
mkfile-Posix 886e736bff First pull from upstream 12/17/16 7 years ago
parse.c 886e736bff First pull from upstream 12/17/16 7 years ago
rc.c 886e736bff First pull from upstream 12/17/16 7 years ago
recipe.c 886e736bff First pull from upstream 12/17/16 7 years ago
rule.c 886e736bff First pull from upstream 12/17/16 7 years ago
run.c 886e736bff First pull from upstream 12/17/16 7 years ago
sh.c 886e736bff First pull from upstream 12/17/16 7 years ago
shprint.c 886e736bff First pull from upstream 12/17/16 7 years ago
symtab.c 886e736bff First pull from upstream 12/17/16 7 years ago
var.c 886e736bff First pull from upstream 12/17/16 7 years ago
varsub.c 886e736bff First pull from upstream 12/17/16 7 years ago
word.c 886e736bff First pull from upstream 12/17/16 7 years ago

README

Using the delivered mk to rebuild mk.

You should be able to use the delivered executable of mk to
build a new executable. This may be of particular interest
on Windows NT/Win95 where the path of the shell program
can be hard-coded by changing the variable named "shell"
near the beginning of source file Nt.c.

Mk uses the regular expression library, so build
the program as follows:

1. ensure that ../../mkconfig contains the proper system definitions

2. ensure that the system libraries lib9, libbio, and libregexp have
been built. you can do this by hand by changing to ../lib9,
../libbio, and ../libregexp and doing "mk nuke" and a "mk install"
in each.

3. in this directory
mk nuke
mk install

4. on NT/Win95 the executable must be installed by hand because the current
executable is locked down while it is executing:

mv obj.out ../../Nt/386/bin/mk.exe