2008-12-04 13:51:36 -07:00
|
|
|
# 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.
|
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.$(GOARCH)
|
2008-12-04 13:51:36 -07:00
|
|
|
|
2009-08-12 14:18:37 -06:00
|
|
|
TARG=sync
|
|
|
|
GOFILES=\
|
|
|
|
mutex.go\
|
2010-08-04 21:31:10 -06:00
|
|
|
once.go \
|
2009-11-30 13:10:56 -07:00
|
|
|
rwmutex.go\
|
2008-12-04 13:51:36 -07:00
|
|
|
|
2010-02-18 16:37:16 -07:00
|
|
|
# 386-specific object files
|
|
|
|
OFILES_386=\
|
|
|
|
asm_386.$O\
|
|
|
|
|
|
|
|
# amd64-specific object files
|
|
|
|
OFILES_amd64=\
|
|
|
|
asm_amd64.$O\
|
|
|
|
|
|
|
|
GOARM?=6
|
|
|
|
|
|
|
|
# arm-specific object files
|
|
|
|
OFILES_arm=\
|
|
|
|
asm_arm$(GOARM).$O\
|
|
|
|
|
2009-08-12 14:18:37 -06:00
|
|
|
OFILES=\
|
2010-02-18 16:37:16 -07:00
|
|
|
$(OFILES_$(GOARCH))\
|
2008-12-04 13:51:36 -07:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.pkg
|