blob: a94c4c92d8e9e5850a99c1e9b573eeca93e02eb0 (
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
|
</$objtype/mkfile
LIB=/$objtype/lib/libmp.a
FILES=\
mpaux\
mpfmt\
strtomp\
mptobe\
mptober\
mptole\
mptolel\
betomp\
letomp\
mpadd\
mpsub\
mpcmp\
mpsel\
mpfactorial\
mpmul\
mpleft\
mpright\
mpvecadd\
mpvecsub\
mpvecdigmuladd\
mpveccmp\
mpvectscmp\
mpdigdiv\
mpdiv\
mpexp\
mpmod\
mpmodop\
mpextendedgcd\
mpinvert\
mprand\
mpnrand\
crt\
mptoi\
mptoui\
mptov\
mptouv\
mpfield\
cnfield\
gmfield\
mplogic\
mptod\
ALLOFILES=${FILES:%=%.$O}
# cull things in the per-machine directories from this list
OFILES= `{rfork e; \
if(~ $objtype spim) objtype=mips; \
rc ./reduce $O $objtype $ALLOFILES}
HFILES=\
/$objtype/include/u.h\
/sys/include/mp.h\
dat.h\
CFILES=${FILES:%=%.c}
UPDATE=mkfile\
$HFILES\
$CFILES\
</sys/src/cmd/mksyslib
|