aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/fmt/mkfile
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-02-29 22:11:15 +0000
committerrsc <devnull@localhost>2004-02-29 22:11:15 +0000
commit91c13e54b5d631b65e2f8344d5e0abd058f78ba1 (patch)
tree81d77fc6a74f182543603032462e865e34e43335 /src/lib9/fmt/mkfile
parent5a8e63b2f016735364d17866d5e2bcb35d20c78b (diff)
downloadplan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.tar.gz
plan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.tar.bz2
plan9port-91c13e54b5d631b65e2f8344d5e0abd058f78ba1.zip
Move utf, fmt. Small header file changes.
Diffstat (limited to 'src/lib9/fmt/mkfile')
-rw-r--r--src/lib9/fmt/mkfile57
1 files changed, 57 insertions, 0 deletions
diff --git a/src/lib9/fmt/mkfile b/src/lib9/fmt/mkfile
new file mode 100644
index 00000000..0a5d3b67
--- /dev/null
+++ b/src/lib9/fmt/mkfile
@@ -0,0 +1,57 @@
+PLAN9=../..
+<$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
+