summaryrefslogtreecommitdiff
path: root/src/pkg/math/Makefile
blob: 74072503cf214b5a7704dcfcea3fe7cd6a9a4268 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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 $(GOROOT)/src/Make.$(GOARCH)

TARG=math

OFILES_amd64=\
	sqrt_amd64.$O\

OFILES=\
	$(OFILES_$(GOARCH))

ALLGOFILES=\
	asin.go\
	atan.go\
	atan2.go\
	bits.go\
	const.go\
	exp.go\
	fabs.go\
	floor.go\
	fmod.go\
	hypot.go\
	log.go\
	pow.go\
	pow10.go\
	sin.go\
	sinh.go\
	sqrt.go\
	tan.go\
	tanh.go\
	unsafe.go\

NOGOFILES=\
	$(subst _$(GOARCH).$O,.go,$(OFILES_$(GOARCH)))

GOFILES=\
	$(filter-out $(NOGOFILES),$(ALLGOFILES))\
	$(subst .go,_decl.go,$(NOGOFILES))\

include $(GOROOT)/src/Make.pkg