2008-06-04 17:44:48 -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
|
2008-06-04 17:44:48 -06:00
|
|
|
|
|
|
|
bash clean.bash
|
|
|
|
|
2009-06-05 11:59:55 -06:00
|
|
|
. $GOROOT/src/Make.$GOARCH
|
|
|
|
if [ -z "$O" ]; then
|
|
|
|
echo 'missing $O - maybe no Make.$GOARCH?' 1>&2
|
2009-06-04 12:16:03 -06:00
|
|
|
exit 1
|
2009-06-05 11:59:55 -06:00
|
|
|
fi
|
2009-06-04 12:16:03 -06:00
|
|
|
|
|
|
|
cd ${O}l
|
2008-06-04 17:44:48 -06:00
|
|
|
bash mkenam
|
2008-06-11 18:50:07 -06:00
|
|
|
make enam.o
|
2008-06-04 17:44:48 -06:00
|
|
|
cd ..
|
|
|
|
|
2009-06-16 10:14:06 -06:00
|
|
|
for i in cc ${O}l ${O}a ${O}c gc ${O}g ar db nm acid cov godefs godoc prof gotest
|
2008-09-18 16:06:43 -06:00
|
|
|
do
|
|
|
|
echo; echo; echo %%%% making $i %%%%; echo
|
|
|
|
cd $i
|
|
|
|
make install
|
|
|
|
cd ..
|
|
|
|
done
|