diff options
| author | Michael Forney <mforney@mforney.org> | 2016-05-19 01:59:12 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-05-19 01:59:12 -0700 |
| commit | d8327c0b757b9fb3da56b7a1e3f280ebc90e554a (patch) | |
| tree | eb7c0930255ee09aad5d3542238e935c46354a9a | |
| parent | 85cb3fbbb9711e57e75b657ecef61130b041683f (diff) | |
plan9port: Build sam
| -rw-r--r-- | core/plan9port/gen.rc | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/core/plan9port/gen.rc b/core/plan9port/gen.rc index 10ff5946..f14ba8b6 100644 --- a/core/plan9port/gen.rc +++ b/core/plan9port/gen.rc @@ -375,6 +375,33 @@ exe bin/rc -d '$outdir'/rc/x.tab.h '$outdir'/rc/x.tab.c src/cmd/rc/^(\ var.c\ ) lib9.a -file bin/rc '$outdir'/rc 755 -file share/man/man1/rc.1 '$srcdir'/man/man1/rc.1 644 +# src/src/cmd/sam/mkfile:/^OFILES +exe bin/sam src/cmd/sam/^(\ + sam.c\ + address.c\ + buff.c\ + cmd.c\ + disk.c\ + error.c\ + file.c\ + io.c\ + list.c\ + mesg.c\ + moveto.c\ + multi.c\ + rasp.c\ + regexp.c\ + shell.c\ + string.c\ + sys.c\ + unix.c\ + util.c\ + xec.c\ +) libplumb.a lib9.a + +for(exe in rc sam) { + file bin/$exe '$outdir'/bin/$exe 755 + file share/man/man1/$exe.1 '$srcdir'/man/man1/$exe.1 644 +} + file lib/rcmain '$srcdir'/rcmain 644 |
