summaryrefslogtreecommitdiff
path: root/src/pkg/go/build/Makefile
blob: 68c731749a3edf7d035e4d0a4615816d9f3e0bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# 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.

include ../../../Make.inc

TARG=go/build
GOFILES=\
	build.go\
	dir.go\
	path.go\
	syslist.go\

CLEANFILES+=pkgtest/_obj cmdtest/_obj cgotest/_obj

include ../../../Make.pkg

syslist.go: ../../../Make.inc Makefile
	echo '// Generated automatically by make.' >$@
	echo 'package build' >>$@
	echo >>$@
	echo 'const goosList = "$(GOOS_LIST)"' >>$@
	echo 'const goarchList = "$(GOARCH_LIST)"' >>$@