From 079c00a475d11f71a69fe848dd67e8fe34ac88a8 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Mon, 17 Nov 2008 12:34:03 -0800 Subject: correctly rounded floating-point conversions in new package strconv. move atoi etc to strconv too. update fmt, etc to use strconv. R=r DELTA=2232 (1691 added, 424 deleted, 117 changed) OCL=19286 CL=19380 --- src/lib/strconv/Makefile | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 src/lib/strconv/Makefile (limited to 'src/lib/strconv/Makefile') diff --git a/src/lib/strconv/Makefile b/src/lib/strconv/Makefile new file mode 100644 index 0000000000..e34a0fa92c --- /dev/null +++ b/src/lib/strconv/Makefile @@ -0,0 +1,58 @@ +# Copyright 2009 The Go Authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +# DO NOT EDIT. Automatically generated by gobuild. +# gobuild -m strconv atof.go atoi.go decimal.go ftoa.go itoa.go +O=6 +GC=$(O)g +CC=$(O)c -w +AS=$(O)a +AR=$(O)ar + +PKG=$(GOROOT)/pkg/strconv.a + +install: $(PKG) + +nuke: clean + rm -f $(PKG) + +clean: + rm -f *.$O *.a + +%.$O: %.go + $(GC) $*.go + +%.$O: %.c + $(CC) $*.c + +%.$O: %.s + $(AS) $*.s + + +O1=\ + atoi.$O\ + decimal.$O\ + itoa.$O\ + +O2=\ + ftoa.$O\ + +O3=\ + atof.$O\ + +$(PKG): a1 a2 a3 +a1: $(O1) + $(AR) grc $(PKG) $(O1) + rm -f $(O1) +a2: $(O2) + $(AR) grc $(PKG) $(O2) + rm -f $(O2) +a3: $(O3) + $(AR) grc $(PKG) $(O3) + rm -f $(O3) + +$(O1): nuke +$(O2): a1 +$(O3): a2 + -- cgit v1.3