aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/os/ya.make
blob: 1a759dfd18c6f4175ff5724328d6246cea7973d1 (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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
GO_LIBRARY()

SRCS(
    dir.go
    endian_little.go
    env.go
    error.go
    error_errno.go
    error_posix.go
    exec.go
    exec_posix.go
    executable.go
    file.go
    file_posix.go
    getwd.go
    path.go
    proc.go
    rawconn.go
    stat.go
    str.go
    sys.go
    tempfile.go
    types.go
)

GO_TEST_SRCS(export_test.go)

GO_XTEST_SRCS(
    env_test.go
    error_test.go
    example_test.go
    executable_test.go
    os_test.go
    path_test.go
    pipe_test.go
    rawconn_test.go
    read_test.go
    removeall_test.go
    rlimit_test.go
    stat_test.go
    tempfile_test.go
)

IF (OS_LINUX)
    SRCS(
        dir_unix.go
        dirent_linux.go
        exec_unix.go
        executable_procfs.go
        file_open_unix.go
        file_unix.go
        path_unix.go
        pipe2_unix.go
        readfrom_linux.go
        removeall_at.go
        rlimit.go
        rlimit_stub.go
        stat_linux.go
        stat_unix.go
        sticky_notbsd.go
        sys_linux.go
        sys_unix.go
        types_unix.go
        wait_waitid.go
    )

    GO_TEST_SRCS(
        export_linux_test.go
        export_unix_test.go
    )

    GO_XTEST_SRCS(
        env_unix_test.go
        error_unix_test.go
        exec_unix_test.go
        fifo_test.go
        os_unix_test.go
        readfrom_linux_test.go
        timeout_test.go
    )
ENDIF()

IF (OS_DARWIN)
    SRCS(
        dir_darwin.go
        exec_unix.go
        executable_darwin.go
        file_open_unix.go
        file_unix.go
        path_unix.go
        pipe_unix.go
        readfrom_stub.go
        removeall_at.go
        rlimit.go
        rlimit_darwin.go
        stat_darwin.go
        stat_unix.go
        sticky_bsd.go
        sys_bsd.go
        sys_unix.go
        types_unix.go
        wait_unimp.go
    )

    GO_TEST_SRCS(export_unix_test.go)

    GO_XTEST_SRCS(
        env_unix_test.go
        error_unix_test.go
        exec_unix_test.go
        fifo_test.go
        os_unix_test.go
        timeout_test.go
    )
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        dir_windows.go
        exec_windows.go
        executable_windows.go
        file_windows.go
        path_windows.go
        readfrom_stub.go
        removeall_noat.go
        stat_windows.go
        sticky_notbsd.go
        sys_windows.go
        types_windows.go
    )

    GO_TEST_SRCS(export_windows_test.go)

    GO_XTEST_SRCS(
        error_windows_test.go
        os_windows_test.go
        path_windows_test.go
    )
ENDIF()

END()

RECURSE(
    exec
    signal
    user
)