aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/libaio/ya.make
blob: 37000691cd96b981e1c241d146e63257c60aab2b (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
# Generated by devtools/yamaker from nixpkgs 22.05.

DEFAULT(USE_AIO ${_USE_AIO})

LIBRARY()

WITHOUT_LICENSE_TEXTS()

VERSION(0.3.113)

LICENSE(Service-Dll-Harness)

NO_RUNTIME()

IF (EXPORT_CMAKE)
    OPENSOURCE_EXPORT_REPLACEMENT(
        CMAKE
        AIO
        CMAKE_TARGET
        AIO::aio
    )
ELSEIF (USE_AIO == "dynamic")
    PEERDIR(
        contrib/libs/libaio/dynamic
    )
ELSEIF (USE_AIO == "local")
    GLOBAL_CFLAGS(${USE_LOCAL_AIO_CFLAGS})
    DEFAULT(USE_LOCAL_AIO_LDFLAGS -laio)
    LDFLAGS(${USE_LOCAL_AIO_LDFLAGS})
ELSE()
    PEERDIR(
        contrib/libs/libaio/static
    )
ENDIF()

END()

IF (USE_AIO != "local")
    RECURSE(
        dynamic
        static
    )
ENDIF()