Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/src/ape/lib/mp/port/mkfile – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
APE=/sys/src/ape
2
<$APE/config
3
 
4
LIB=/$objtype/lib/ape/libmp.a
5
 
6
FILES=\
7
	mpaux\
8
	mpfmt\
9
	strtomp\
10
	mptobe\
11
	mptole\
12
	betomp\
13
	letomp\
14
	mpadd\
15
	mpsub\
16
	mpcmp\
17
	mpfactorial\
18
	mpmul\
19
	mpleft\
20
	mpright\
21
	mpvecadd\
22
	mpvecsub\
23
	mpvecdigmuladd\
24
	mpveccmp\
25
	mpdigdiv\
26
	mpdiv\
27
	mpexp\
28
	mpmod\
29
	mpextendedgcd\
30
	mpinvert\
31
	mprand\
32
	crt\
33
	mptoi\
34
	mptoui\
35
	mptov\
36
	mptouv\
37
 
38
ALLOFILES=${FILES:%=%.$O}
39
 
40
# cull things in the per-machine directories from this list
41
OFILES=	`{rc ./reduce $O $objtype $ALLOFILES}
42
 
43
HFILES=\
44
	/sys/include/ape/mp.h\
45
	../../../../libmp/port/dat.h\
46
 
47
CFILES=${FILES:%=%.c}
48
 
49
UPDATE=\
50
	mkfile\
51
	$HFILES\
52
	$CFILES\
53
 
54
</sys/src/cmd/mksyslib
55
 
56
CFLAGS=$CFLAGS -c -+ -D_POSIX_SOURCE -D_PLAN9_SOURCE -I. -I../../../libmp/port -I/sys/include/ape -I/sys/include
57
 
58
%.$O:	../../../../libmp/port/%.c
59
	$CC $CFLAGS ../../../../libmp/port/$stem.c