aboutsummaryrefslogtreecommitdiff
path: root/src/libfmt
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2003-10-11 03:58:46 +0000
committerrsc <devnull@localhost>2003-10-11 03:58:46 +0000
commit90026180d1d5fe141ced5b83028a257746a24687 (patch)
tree217c8ff845ddd40483f1046942d3c0e30369ac40 /src/libfmt
parent93fb47050c80d20d668035c7d1b89d610c1aa7d8 (diff)
downloadplan9port-90026180d1d5fe141ced5b83028a257746a24687.tar.gz
plan9port-90026180d1d5fe141ced5b83028a257746a24687.tar.bz2
plan9port-90026180d1d5fe141ced5b83028a257746a24687.zip
Use new directory structure.
Diffstat (limited to 'src/libfmt')
-rw-r--r--src/libfmt/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/libfmt/Makefile b/src/libfmt/Makefile
index 1af8450f..9e48a596 100644
--- a/src/libfmt/Makefile
+++ b/src/libfmt/Makefile
@@ -1,5 +1,5 @@
-9SRC=..
-include $(9SRC)/Makehdr
+PLAN9=../..
+include $(PLAN9)/src/Makehdr
LIB=libfmt.a
@@ -7,8 +7,10 @@ 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\
@@ -43,13 +45,13 @@ OFILES=\
HFILES=\
fmtdef.h\
- $(9SRC)/include/fmt.h\
+ $(PLAN9)/include/fmt.h\
-include $(9SRC)/Makesyslib
+include $(PLAN9)/src/Makesyslib
$(NAN).$O: nan.h
strtod.$O: nan.h
test: $(LIB) test.$O
- $(CC) -o test test.$O $(LIB) -L$(9SRC)/lib -lutf
+ $(CC) -o test test.$O $(LIB) -L$(PLAN9)/lib -lutf