From 91c13e54b5d631b65e2f8344d5e0abd058f78ba1 Mon Sep 17 00:00:00 2001 From: rsc Date: Sun, 29 Feb 2004 22:11:15 +0000 Subject: Move utf, fmt. Small header file changes. --- src/lib9/fmt/mkfile | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/lib9/fmt/mkfile (limited to 'src/lib9/fmt/mkfile') 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 + -- cgit v1.2.3