blob: 942f7b38f0663bd6982831801c87d4826fb6bcfc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
<../../../mkconfig
TARG= mash.dis\
mashlib.dis\
mashparse.dis\
builtins.dis\
history.dis\
make.dis\
INS= $ROOT/dis/mash.dis\
$ROOT/dis/lib/mashlib.dis\
$ROOT/dis/lib/mashparse.dis\
$ROOT/dis/lib/mash/builtins.dis\
$ROOT/dis/lib/mash/history.dis\
$ROOT/dis/lib/mash/make.dis\
MODULES=\
mash.m\
mashparse.m\
SYSMODULES=\
bufio.m\
draw.m\
filepat.m\
hash.m\
regex.m\
sh.m\
string.m\
sys.m\
LIBSRC=\
depends.b\
dump.b\
exec.b\
expr.b\
lex.b\
misc.b\
serve.b\
symb.b\
xeq.b\
all:V: $TARG
install:V: $INS
nuke:V: clean
rm -f $INS
clean:V:
rm -f *.dis *.sbl
uninstall:V:
rm -f $INS
MODDIR=$ROOT/module
SYS_MODULE=${SYSMODULES:%=$MODDIR/%}
LIMBOFLAGS=-I$MODDIR
$ROOT/dis/mash.dis: mash.dis
rm -f $ROOT/dis/mash.dis && cp mash.dis $ROOT/dis/mash.dis
$ROOT/dis/lib/mashlib.dis: mashlib.dis
rm -f $ROOT/dis/mashlib.dis && cp mashlib.dis $ROOT/dis/lib/mashlib.dis
$ROOT/dis/lib/mashparse.dis: mashparse.dis
rm -f $ROOT/dis/mashparse.dis && cp mashparse.dis $ROOT/dis/lib/mashparse.dis
$ROOT/dis/lib/mash/%.dis: %.dis
rm -f $ROOT/dis/$stem.dis && cp $stem.dis $ROOT/dis/lib/mash/$stem.dis
%.dis: $MODULES $SYS_MODULE
mashlib.dis: $LIBSRC
%.dis: %.b
limbo $LIMBOFLAGS -gw $stem.b
%.s: %.b
limbo $LIMBOFLAGS -w -G -S $stem.b
|