2008-06-11 14:34:08 -06:00
|
|
|
#!/bin/bash
|
|
|
|
# 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.
|
|
|
|
|
2008-09-18 16:06:43 -06:00
|
|
|
set -e
|
|
|
|
export MAKEFLAGS=-j4
|
|
|
|
|
2008-06-13 13:55:37 -06:00
|
|
|
bash clean.bash
|
|
|
|
|
2008-09-18 16:06:43 -06:00
|
|
|
for i in lib9 libbio libmach_amd64 libregexp
|
2008-06-12 14:26:16 -06:00
|
|
|
do
|
|
|
|
cd $i
|
|
|
|
make install
|
|
|
|
cd ..
|
|
|
|
done
|
|
|
|
|
2008-09-11 14:03:46 -06:00
|
|
|
for i in cmd runtime
|
2008-06-11 14:34:08 -06:00
|
|
|
do
|
|
|
|
cd $i
|
|
|
|
bash make.bash
|
|
|
|
cd ..
|
|
|
|
done
|
2008-08-07 18:36:50 -06:00
|
|
|
|
|
|
|
# do these after go compiler and runtime are built
|
|
|
|
for i in syscall
|
|
|
|
do
|
|
|
|
echo; echo; echo %%%% making $i %%%%; echo
|
|
|
|
cd $i
|
|
|
|
make install
|
|
|
|
cd ..
|
|
|
|
done
|
2008-09-11 14:03:46 -06:00
|
|
|
|
|
|
|
for i in lib
|
|
|
|
do
|
|
|
|
cd $i
|
|
|
|
bash make.bash
|
|
|
|
cd ..
|
|
|
|
done
|