diff options
| author | Michael Forney <mforney@mforney.org> | 2019-11-04 21:02:34 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-11-04 23:52:01 -0800 |
| commit | b1896f59a59c61a1fccdae99f7fc089be7b526b0 (patch) | |
| tree | 8d6425e88bd8214c2650941c466962f1618fdf62 /pkg/rc/gen.lua | |
| parent | 09cb647879b12dd8fee8a220dc2609e55bb0731d (diff) | |
Add standalone rc shell
Diffstat (limited to 'pkg/rc/gen.lua')
| -rw-r--r-- | pkg/rc/gen.lua | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pkg/rc/gen.lua b/pkg/rc/gen.lua new file mode 100644 index 00000000..aaba57c6 --- /dev/null +++ b/pkg/rc/gen.lua @@ -0,0 +1,29 @@ +cflags{ + '-pedantic', + '-D PREFIX=', +} + +exe('rc', { + 'code.c', + 'exec.c', + 'getflags.c', + 'glob.c', + 'here.c', + 'io.c', + 'lex.c', + 'pcmd.c', + 'pfnc.c', + 'simple.c', + 'subr.c', + 'trap.c', + 'tree.c', + 'var.c', + 'y.tab.c', + 'unix.c', + 'havefork.c', + 'prompt-null.c', +}) +file('bin/rc', '755', '$outdir/rc') +file('lib/rcmain', '644', '$srcdir/rcmain.unix') + +fetch 'git' |
