aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fmt/mkfile
blob: 52b0d48f1d781b6410948486c2ea993c1695fdc4 (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
<$PLAN9/src/mkhdr

LIB=libfmt.a

NUM=\
	charstod.$O\
	pow10.$O\

# Could add errfmt, but we want to pick it up from lib9 instead.
OFILES=\
	dofmt.$O\
	errfmt.$O\
	fltfmt.$O\
	fmt.$O\
	fmtfd.$O\
	fmtfdflush.$O\
	fmtlock.$O\
	fmtprint.$O\
	fmtquote.$O\
	fmtrune.$O\
	fmtstr.$O\
	fmtvprint.$O\
	fprint.$O\
	nan64.$O\
	print.$O\
	runefmtstr.$O\
	runeseprint.$O\
	runesmprint.$O\
	runesnprint.$O\
	runesprint.$O\
	runevseprint.$O\
	runevsmprint.$O\
	runevsnprint.$O\
	seprint.$O\
	smprint.$O\
	snprint.$O\
	sprint.$O\
	strtod.$O\
	vfprint.$O\
	vseprint.$O\
	vsmprint.$O\
	vsnprint.$O\
	$NUM\

HFILES=\
	fmtdef.h\
	$PLAN9/include/fmt.h\

<$PLAN9/src/mksyslib

$NAN.$O: nan.h
strtod.$O: nan.h

test: $LIB test.$O
	$CC -o test test.$O $LIB -L$PLAN9/lib -lutf