aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/net/internal/socktest/ya.make
blob: 074fde162e905afc5d24e67c85f9be5b79089f9e (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
GO_LIBRARY()

SRCS(
    switch.go
    switch_posix.go
)

GO_XTEST_SRCS(main_test.go)

IF (OS_LINUX)
    SRCS(
        switch_unix.go
        sys_cloexec.go
        sys_unix.go
    )

    GO_XTEST_SRCS(main_unix_test.go)
ENDIF()

IF (OS_DARWIN)
    SRCS(
        switch_unix.go
        sys_unix.go
    )

    GO_XTEST_SRCS(main_unix_test.go)
ENDIF()

IF (OS_WINDOWS)
    SRCS(
        switch_windows.go
        sys_windows.go
    )

    GO_XTEST_SRCS(main_windows_test.go)
ENDIF()

END()

RECURSE(
)