2008-09-05 10:55:33 -06: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-06-05 23:18:21 -06:00
|
|
|
include $(GOROOT)/src/Make.$(GOARCH)
|
2008-11-18 18:11:56 -07:00
|
|
|
|
2009-08-12 14:18:37 -06:00
|
|
|
TARG=math
|
2009-09-24 15:27:52 -06:00
|
|
|
|
|
|
|
OFILES_amd64=\
|
|
|
|
sqrt_amd64.$O\
|
|
|
|
|
|
|
|
OFILES=\
|
|
|
|
$(OFILES_$(GOARCH))
|
|
|
|
|
|
|
|
ALLGOFILES=\
|
2009-08-12 14:18:37 -06:00
|
|
|
asin.go\
|
|
|
|
atan.go\
|
|
|
|
atan2.go\
|
|
|
|
const.go\
|
|
|
|
exp.go\
|
|
|
|
fabs.go\
|
|
|
|
floor.go\
|
|
|
|
fmod.go\
|
|
|
|
hypot.go\
|
|
|
|
log.go\
|
|
|
|
pow.go\
|
|
|
|
pow10.go\
|
|
|
|
runtime.go\
|
|
|
|
sin.go\
|
|
|
|
sinh.go\
|
|
|
|
sqrt.go\
|
|
|
|
tan.go\
|
|
|
|
tanh.go\
|
|
|
|
|
2009-09-24 15:27:52 -06:00
|
|
|
NOGOFILES=\
|
|
|
|
$(subst _$(GOARCH).$O,.go,$(OFILES_$(GOARCH)))
|
|
|
|
|
|
|
|
GOFILES=\
|
|
|
|
$(filter-out $(NOGOFILES),$(ALLGOFILES))\
|
|
|
|
$(subst .go,_decl.go,$(NOGOFILES))\
|
|
|
|
|
2009-08-12 14:18:37 -06:00
|
|
|
include $(GOROOT)/src/Make.pkg
|