aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/syscall/ya.make
blob: e296b41f6d312cce21484ae24d6689e017922ca9 (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
GO_LIBRARY()

SRCS(
    asan0.go
    endian_little.go
    msan0.go
    net.go
    syscall.go
    time_nofake.go
)

IF (OS_DARWIN)
    SRCS(
        bpf_darwin.go
        dirent.go
        env_unix.go
        exec_libc2.go
        exec_unix.go
        flock_darwin.go
        forkpipe.go
        ptrace_darwin.go
        rlimit.go
        rlimit_darwin.go
        route_bsd.go
        route_darwin.go
        sockcmsg_unix.go
        sockcmsg_unix_other.go
        syscall_bsd.go
        syscall_darwin.go
        syscall_unix.go
        timestruct.go
    )

    IF (ARCH_ARM64)
        SRCS(
            asm_darwin_arm64.s
            syscall_darwin_arm64.go
            zerrors_darwin_arm64.go
            zsyscall_darwin_arm64.go
            zsyscall_darwin_arm64.s
            zsysnum_darwin_arm64.go
            ztypes_darwin_arm64.go
        )
    ENDIF()

    IF (ARCH_X86_64)
        SRCS(
            asm_darwin_amd64.s
            syscall_darwin_amd64.go
            zerrors_darwin_amd64.go
            zsyscall_darwin_amd64.go
            zsyscall_darwin_amd64.s
            zsysnum_darwin_amd64.go
            ztypes_darwin_amd64.go
        )
    ENDIF()
ENDIF()

IF (OS_LINUX)
    SRCS(
        dirent.go
        env_unix.go
        exec_linux.go
        exec_unix.go
        flock.go
        forkpipe2.go
        lsf_linux.go
        netlink_linux.go
        rlimit.go
        rlimit_stub.go
        setuidgid_linux.go
        sockcmsg_linux.go
        sockcmsg_unix.go
        sockcmsg_unix_other.go
        syscall_linux.go
        syscall_linux_accept4.go
        syscall_unix.go
        timestruct.go
    )

    IF (ARCH_ARM64)
        SRCS(
            asm_linux_arm64.s
            syscall_linux_arm64.go
            zerrors_linux_arm64.go
            zsyscall_linux_arm64.go
            zsysnum_linux_arm64.go
            ztypes_linux_arm64.go
        )
    ENDIF()

    IF (ARCH_X86_64)
        SRCS(
            asm_linux_amd64.s
            syscall_linux_amd64.go
            zerrors_linux_amd64.go
            zsyscall_linux_amd64.go
            zsysnum_linux_amd64.go
            ztypes_linux_amd64.go
        )
    ENDIF()
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        dll_windows.go
        env_windows.go
        exec_windows.go
        security_windows.go
        syscall_windows.go
        types_windows.go
        wtf8_windows.go
        zerrors_windows.go
        zsyscall_windows.go
    )

    IF (ARCH_ARM64)
        SRCS(
            types_windows_arm64.go
        )
    ENDIF()

    IF (ARCH_X86_64)
        SRCS(
            types_windows_amd64.go
        )
    ENDIF()
ENDIF()

END()