diff options
| author | Michael Forney <mforney@mforney.org> | 2019-02-21 22:50:01 -0800 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-03-03 22:45:39 -0800 |
| commit | 9b4c353cd82b5cf4485de040013e3895b20309e7 (patch) | |
| tree | f38f391a172e4d9f6837702cf7feeab535669aa1 /pkg/scc/gen.lua | |
| parent | 753bb3880e9e45df07e965246a6d2d610e0985f0 (diff) | |
Remove scc
Diffstat (limited to 'pkg/scc/gen.lua')
| -rw-r--r-- | pkg/scc/gen.lua | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/pkg/scc/gen.lua b/pkg/scc/gen.lua deleted file mode 100644 index 16cc4540..00000000 --- a/pkg/scc/gen.lua +++ /dev/null @@ -1,45 +0,0 @@ -set('arch', 'qbe') -cflags{ - '-std=c99', - [[-D 'SYS="linux"']], - [[-D 'ARCH="$arch"']], - '-D PREFIX=', - '-D NDEBUG', - '-I $dir/inc', - '-I $srcdir/inc/c99', - '-I $outdir/inc', -} - -lib('libcc.a', { - 'lib/debug.c', - 'lib/die.c', - 'lib/newitem.c', - 'lib/xcalloc.c', - 'lib/xmalloc.c', - 'lib/xrealloc.c', - 'lib/xstrdup.c', -}) - -build('awk', '$outdir/inc/error.h', {'$srcdir/cc2/cc2.h', '|', '$srcdir/cc2/generror.awk'}, { - expr='-f $srcdir/cc2/generror.awk', -}) - -cflags{[[-D 'ARCH="$arch"']]} - -exe('cc1-$arch', [[cc1/( - types.c decl.c lex.c error.c symbol.c main.c expr.c - code.c stmt.c cpp.c fold.c init.c builtin.c - arch/$arch/arch.c -) $outdir/libcc.a]]) -file('libexec/scc/cc1-$arch', '755', '$outdir/cc1-$arch') - -exe('cc2-$arch', [[cc2/( - main.c parser.c peep.c symbol.c node.c code.c optm.c - arch/$arch/(code.c cgen.c types.c optm.c) -) $outdir/libcc.a]], {'$outdir/inc/error.h'}) -file('libexec/scc/cc2-$arch', '755', '$outdir/cc2-$arch') - -exe('scc', {'driver/posix/scc.c', 'libcc.a'}) -file('bin/scc', '755', '$outdir/scc') - -fetch 'git' |
