Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | 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/libfmt.a
5
 
6
NUM=\
7
	charstod.$O\
8
	pow10.$O\
9
 
10
OFILES=\
11
	dofmt.$O\
12
	errfmt.$O\
13
	fltfmt.$O\
14
	fmt.$O\
15
	fmtfd.$O\
16
	fmtfdflush.$O\
17
	fmtlock.$O\
18
	fmtprint.$O\
19
	fmtquote.$O\
20
	fmtrune.$O\
21
	fmtstr.$O\
22
	fmtvprint.$O\
23
	fprint.$O\
24
	nan64.$O\
25
	print.$O\
26
	runefmtstr.$O\
27
	runeseprint.$O\
28
	runesmprint.$O\
29
	runesnprint.$O\
30
	runesprint.$O\
31
	runevseprint.$O\
32
	runevsmprint.$O\
33
	runevsnprint.$O\
34
	seprint.$O\
35
	smprint.$O\
36
	snprint.$O\
37
	sprint.$O\
38
	strtod.$O\
39
	vfprint.$O\
40
	vseprint.$O\
41
	vsmprint.$O\
42
	vsnprint.$O\
43
	werrstr.$O\
44
	$NUM\
45
 
46
HFILES=\
47
	fmtdef.h\
48
	/sys/include/ape/fmt.h\
49
 
50
</sys/src/cmd/mksyslib
51
 
52
$NAN.$O: nan.h
53
strtod.$O: nan.h
54
 
55
test: $LIB test.$O
56
	$CC -o test test.$O $LIB -L$PLAN9/lib -lutf
57
 
58
 
59
CFLAGS=$CFLAGS -c -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_BSD_EXTENSION