tMakefile.fmt - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
tMakefile.fmt (1100B)
---
1 LIB=libfmt.a
2 VERSION=2.0
3 PORTPLACE=devel/libfmt
4 NAME=libfmt
5
6 NUM=\
7 charstod.$O\
8 pow10.$O\
9
10 OFILES=\
11 dofmt.$O\
12 dorfmt.$O\
13 errfmt.$O\
14 fltfmt.$O\
15 fmt.$O\
16 fmtfd.$O\
17 fmtfdflush.$O\
18 fmtlocale.$O\
19 fmtlock.$O\
20 fmtnull.$O\
21 fmtprint.$O\
22 fmtquote.$O\
23 fmtrune.$O\
24 fmtstr.$O\
25 fmtvprint.$O\
26 fprint.$O\
27 print.$O\
28 runefmtstr.$O\
29 runeseprint.$O\
30 runesmprint.$O\
31 runesnprint.$O\
32 runesprint.$O\
33 runevseprint.$O\
34 runevsmprint.$O\
35 runevsnprint.$O\
36 seprint.$O\
37 smprint.$O\
38 snprint.$O\
39 sprint.$O\
40 strtod.$O\
41 vfprint.$O\
42 vseprint.$O\
43 vsmprint.$O\
44 vsnprint.$O\
45 $(NUM)\
46 $(NAN)\
47
48 HFILES=\
49 fmtdef.h\
50 fmt.h\
51
52 all: $(LIB)
53
54 install: $(LIB)
55 test -d $(PREFIX)/share/man/man3 || mkdir -p $(PREFIX)/share/man/man3
56 install -m 0644 print.3 $(PREFIX)/share/man/man3/print.3
57 install -m 0644 fmtinstall.3 $(PREFIX)/share/man/man3/fmtinstall.3
58 mkdir -p $(PREFIX)/include
59 install -m 0644 fmt.h $(PREFIX)/include/fmt.h
60 mkdir -p $(PREFIX)/lib
61 install -m 0644 $(LIB) $(PREFIX)/lib/$(LIB)
62
63 $(NAN).$O: nan.h
64 strtod.$O: nan.h
65
66 test: $(LIB) test.$O
67 $(CC) -o test test.$O $(LIB) -L$(PREFIX)/lib -lutf
68