# 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.

ROOT= /go
<$ROOT/$objtype/mkfile

BIND= `{bind -b $ROOT/$GOARCH/bin /bin}

TARGDIR= $GOROOT/pkg/${GOOS}_$GOARCH/sync
TARG= atomic			# no dependencies

GOFILES=\
	doc.go\

OFILES=\
	asm_$GOARCH.$O\

#ifeq ($(GOARCH),arm)
#OFILES+=asm_$(GOOS)_$(GOARCH).$O
#endif

OFILES_${GOOS}_386=\

OFILES_${GOOS}_arm=\
	asm_${GOOS}_arm.$O

OFILES=\
	$OFILES\
	${`{echo -n OFILES_$(GOOS)^_$GOARCH}}\

<../../../mkpkg
