aboutsummaryrefslogtreecommitdiffstats
path: root/build/conf/sysincl.conf
blob: 60e641e2dba5b4b3b860cbd728da5c8c44e538c2 (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
SYSINCL=
SYSINCL+=build/sysincl/libc-to-compat.yml
SYSINCL+=build/sysincl/libc-to-nothing.yml
SYSINCL+=build/sysincl/stl-to-nothing.yml
SYSINCL+=build/sysincl/linux.yml
SYSINCL+=build/sysincl/windows.yml
SYSINCL+=build/sysincl/darwin.yml
SYSINCL+=build/sysincl/intrinsic.yml
SYSINCL+=build/sysincl/nvidia.yml
SYSINCL+=build/sysincl/misc.yml
SYSINCL+=build/sysincl/unsorted.yml

when ($USE_LOCAL_SWIG == "yes") {
    SYSINCL+=build/sysincl/swig-to-nothing.yml
}
otherwise {
    SYSINCL+=build/sysincl/swig.yml
}

when ($USE_SYSTEM_JDK) {
    SYSINCL+=build/sysincl/system-jdk.yml
}

when ($OPENSOURCE != "yes") {
    SYSINCL+=build/yandex_specific/sysincl/speechkit.yml
    SYSINCL+=build/yandex_specific/sysincl/sophos.yml
    SYSINCL+=build/yandex_specific/sysincl/misc.yml
    SYSINCL+=build/yandex_specific/sysincl/taxi.yml
}

when ($MUSL == "yes") {
    SYSINCL+=build/sysincl/libc-to-musl.yml
    SYSINCL+=build/sysincl/linux-musl.yml
}

when ($OS_WINDOWS == "yes") {
    SYSINCL+=build/sysincl/misc-win.yml
    when ($OPENSOURCE !="yes") {
        SYSINCL+=build/yandex_specific/sysincl/misc-win.yml
    }
}

when ($OS_ANDROID == "yes") {
    SYSINCL+=build/sysincl/android.yml
}

when ($OS_LINUX != "yes") {
    SYSINCL+=build/sysincl/linux-headers.yml
}

when ($OS_LINUX != "yes" || $CATBOOST_OPENSOURCE == "yes") {
    SYSINCL+=build/sysincl/ibdrv.yml
}

when ($WITH_VALGRIND == "yes") {
    SYSINCL+=build/sysincl/valgrind.yml
}

when ($OS_LINUX == "yes" && $OS_SDK == "ubuntu-12") {
    SYSINCL+=build/sysincl/linux-ubuntu-12.yml
}