aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/internal/goos/ya.make
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/go/_std_1.21/src/internal/goos/ya.make')
-rw-r--r--contrib/go/_std_1.21/src/internal/goos/ya.make68
1 files changed, 50 insertions, 18 deletions
diff --git a/contrib/go/_std_1.21/src/internal/goos/ya.make b/contrib/go/_std_1.21/src/internal/goos/ya.make
index abfc3c1a3f..bec3f865cb 100644
--- a/contrib/go/_std_1.21/src/internal/goos/ya.make
+++ b/contrib/go/_std_1.21/src/internal/goos/ya.make
@@ -1,28 +1,60 @@
GO_LIBRARY()
+IF (FALSE)
+ MESSAGE(FATAL this shall never happen)
-SRCS(
- goos.go
-)
-
-IF (OS_LINUX)
+ELSEIF (OS_LINUX AND ARCH_X86_64)
SRCS(
- unix.go
- zgoos_linux.go
+ goos.go
+ unix.go
+ zgoos_linux.go
)
-ENDIF()
-
-IF (OS_DARWIN)
+ELSEIF (OS_LINUX AND ARCH_ARM64)
SRCS(
- unix.go
- zgoos_darwin.go
+ goos.go
+ unix.go
+ zgoos_linux.go
)
-ENDIF()
-
-IF (OS_WINDOWS)
+ELSEIF (OS_LINUX AND ARCH_AARCH64)
+ SRCS(
+ goos.go
+ unix.go
+ zgoos_linux.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_X86_64)
+ SRCS(
+ goos.go
+ unix.go
+ zgoos_darwin.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_ARM64)
SRCS(
- nonunix.go
- zgoos_windows.go
+ goos.go
+ unix.go
+ zgoos_darwin.go
+ )
+ELSEIF (OS_DARWIN AND ARCH_AARCH64)
+ SRCS(
+ goos.go
+ unix.go
+ zgoos_darwin.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_X86_64)
+ SRCS(
+ goos.go
+ nonunix.go
+ zgoos_windows.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_ARM64)
+ SRCS(
+ goos.go
+ nonunix.go
+ zgoos_windows.go
+ )
+ELSEIF (OS_WINDOWS AND ARCH_AARCH64)
+ SRCS(
+ goos.go
+ nonunix.go
+ zgoos_windows.go
)
ENDIF()
-
END()