Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(515)

Side by Side Diff: src/cmd/make.bash

Issue 152138: code review 152138: Build changes to support work on the BSDs. (Closed)
Patch Set: code review 152138: Build changes to support work on the BSDs. Created 14 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/cmd/gotest/gotest ('k') | src/make.bash » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/usr/bin/env bash
2 # Copyright 2009 The Go Authors. All rights reserved. 2 # Copyright 2009 The Go Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style 3 # Use of this source code is governed by a BSD-style
4 # license that can be found in the LICENSE file. 4 # license that can be found in the LICENSE file.
5 5
6 set -e 6 set -e
7 7
8 bash clean.bash 8 bash clean.bash
9 9
10 . $GOROOT/src/Make.$GOARCH 10 . $GOROOT/src/Make.$GOARCH
11 if [ -z "$O" ]; then 11 if [ -z "$O" ]; then
12 echo 'missing $O - maybe no Make.$GOARCH?' 1>&2 12 echo 'missing $O - maybe no Make.$GOARCH?' 1>&2
13 exit 1 13 exit 1
14 fi 14 fi
15 15
16 cd ${O}l 16 cd ${O}l
17 bash mkenam 17 bash mkenam
18 make enam.o 18 gomake enam.o
19 cd .. 19 cd ..
20 20
21 for i in cc ${O}l ${O}a ${O}c gc ${O}g gopack nm cov godefs prof gotest 21 for i in cc ${O}l ${O}a ${O}c gc ${O}g gopack nm cov godefs prof gotest
22 do 22 do
23 echo; echo; echo %%%% making $i %%%%; echo 23 echo; echo; echo %%%% making $i %%%%; echo
24 cd $i 24 cd $i
25 » make install 25 » gomake install
26 cd .. 26 cd ..
27 done 27 done
OLDNEW
« no previous file with comments | « src/cmd/gotest/gotest ('k') | src/make.bash » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b