summaryrefslogtreecommitdiff
path: root/src/pkg/math/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2009-09-24 14:27:52 -0700
committerRuss Cox <rsc@golang.org>2009-09-24 14:27:52 -0700
commitec551bf8ac64f4e83c1362fe40f950fe6961d047 (patch)
tree1f920b43a5f9d7e3954b173e737eefb60d71acb5 /src/pkg/math/Makefile
parentf2f970d8e42dcb973cd1926d2a5c1bb39be53d57 (diff)
downloadgolang-ec551bf8ac64f4e83c1362fe40f950fe6961d047.tar.gz
install assembly math.Sqrt on amd64
R=r DELTA=33 (32 added, 0 deleted, 1 changed) OCL=34983 CL=34986
Diffstat (limited to 'src/pkg/math/Makefile')
-rw-r--r--src/pkg/math/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/pkg/math/Makefile b/src/pkg/math/Makefile
index f062a7468..bf8d99a60 100644
--- a/src/pkg/math/Makefile
+++ b/src/pkg/math/Makefile
@@ -5,7 +5,14 @@
include $(GOROOT)/src/Make.$(GOARCH)
TARG=math
-GOFILES=\
+
+OFILES_amd64=\
+ sqrt_amd64.$O\
+
+OFILES=\
+ $(OFILES_$(GOARCH))
+
+ALLGOFILES=\
asin.go\
atan.go\
atan2.go\
@@ -25,4 +32,11 @@ GOFILES=\
tan.go\
tanh.go\
+NOGOFILES=\
+ $(subst _$(GOARCH).$O,.go,$(OFILES_$(GOARCH)))
+
+GOFILES=\
+ $(filter-out $(NOGOFILES),$(ALLGOFILES))\
+ $(subst .go,_decl.go,$(NOGOFILES))\
+
include $(GOROOT)/src/Make.pkg