aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/python/Include/ya.make
blob: 970d0b1b1dbf40de13a3e207282aa1efde270583 (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
PY23_LIBRARY()

WITHOUT_LICENSE_TEXTS()

LICENSE(YandexOpen)

NO_PYTHON_INCLUDES()

ADDINCL(GLOBAL contrib/libs/python/Include)

IF (PYTHON2)
    CFLAGS(GLOBAL -DUSE_PYTHON2)
    PEERDIR(
        contrib/tools/python/lib
    )
ELSE()
    CFLAGS(GLOBAL -DUSE_PYTHON3)
    PEERDIR(
        contrib/tools/python3/src
    )
ENDIF()

END()