aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/internal/cpu/ya.make
blob: b78d82e739a4f425b85618e67ca42b59f102dc98 (plain) (blame)
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
GO_LIBRARY()
IF (OS_DARWIN AND ARCH_ARM64)
    SRCS(
		cpu.go
		cpu.s
		cpu_arm64.go
		cpu_arm64.s
		cpu_arm64_darwin.go
		cpu_no_name.go
    )
ELSEIF (OS_DARWIN AND ARCH_X86_64)
    SRCS(
		cpu.go
		cpu.s
		cpu_x86.go
		cpu_x86.s
    )
ELSEIF (OS_LINUX AND ARCH_AARCH64)
    SRCS(
		cpu.go
		cpu.s
		cpu_arm64.go
		cpu_arm64.s
		cpu_arm64_hwcap.go
		cpu_arm64_linux.go
		cpu_no_name.go
    )
ELSEIF (OS_LINUX AND ARCH_X86_64)
    SRCS(
		cpu.go
		cpu.s
		cpu_x86.go
		cpu_x86.s
    )
ELSEIF (OS_WINDOWS AND ARCH_X86_64)
    SRCS(
		cpu.go
		cpu.s
		cpu_x86.go
		cpu_x86.s
    )
ENDIF()
END()