aboutsummaryrefslogtreecommitdiff
path: root/src/libmp/port/mkfile
blob: b0cf77cd1de981228fd7cb9e6ee64dc0a0d7a9f2 (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
<$PLAN9/src/mkhdr

LIB=libmp.a
FILES=\
	mpaux\
	mpfmt\
	strtomp\
	mptobe\
	mptole\
	betomp\
	letomp\
	mpadd\
	mpsub\
	mpcmp\
	mpfactorial\
	mpmul\
	mpleft\
	mpright\
	mpvecadd\
	mpvecsub\
	mpvecdigmuladd\
	mpveccmp\
	mpdigdiv\
	mpdiv\
	mpexp\
	mpmod\
	mpextendedgcd\
	mpinvert\
	mprand\
	crt\
	mptoi\
	mptoui\
	mptov\
	mptouv\

ALLOFILES=${FILES:%=%.$O}
# cull things in the per-machine directories from this list
OFILES=	`{sh ./reduce $O $OBJTYPE $ALLOFILES}

HFILES=\
	$PLAN9/include/lib9.h\
	$PLAN9/include/mp.h\
	dat.h\

<$PLAN9/src/mksyslib

poot:
	echo $OFILES