aboutsummaryrefslogtreecommitdiff
path: root/src/lib/make.bash
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2008-11-21 12:36:16 -0800
committerRuss Cox <rsc@golang.org>2008-11-21 12:36:16 -0800
commit5a863a4ece7e23f77e89cc4c9420df73e5d786ae (patch)
tree9b74d9fa8d71b79c547912528990e097036135fa /src/lib/make.bash
parent130e6f42f1b993c1764dc1c346c9af222e59e1d2 (diff)
downloadgo-5a863a4ece7e23f77e89cc4c9420df73e5d786ae.tar.xz
convert lib to a Makefile,
mainly for "make bufio.install". R=r DELTA=144 (80 added, 62 deleted, 2 changed) OCL=19760 CL=19799
Diffstat (limited to 'src/lib/make.bash')
-rwxr-xr-xsrc/lib/make.bash56
1 files changed, 0 insertions, 56 deletions
diff --git a/src/lib/make.bash b/src/lib/make.bash
deleted file mode 100755
index 4398d44e3f..0000000000
--- a/src/lib/make.bash
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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.
-
-#!/bin/bash
-
-function buildfiles() {
- rm -f *.6
- for i
- do
- base=$(basename $i .go)
- echo 6g -o $GOROOT/pkg/$base.6 $i
- 6g -o $GOROOT/pkg/$base.6 $i
- done
-}
-
-function builddirs() {
- for i
- do
- echo; echo; echo %%%% making lib/$i %%%%; echo
- (cd $i; make install)
- done
-}
-
-set -e
-rm -f *.6
-
-# Don't sort the elements of the lists - some of the orderings matter.
-
-buildfiles strings.go
-
-builddirs syscall\
- math\
- os\
- strconv\
- container/array\
- reflect\
-
-buildfiles io.go
-
-builddirs fmt\
- tabwriter\
-
-buildfiles flag.go\
- container/vector.go\
- rand.go\
- sort.go\
- bufio.go\
- once.go\
- bignum.go\
- testing.go\
-
-builddirs net\
- time\
- http\
- regexp\