aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/Crypto/ya.make
blob: ff2797ae05dc58f783256ef5086142ac8c985b0a (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
# Generated by devtools/yamaker.

LIBRARY()

VERSION(1.9.4)

LICENSE(BSL-1.0)

LICENSE_TEXTS(.yandex_meta/licenses.list.txt)

PEERDIR(
    contrib/libs/openssl
    contrib/libs/poco/Foundation
)

ADDINCL(
    GLOBAL contrib/libs/poco/Crypto/include
    contrib/libs/poco/Crypto/src
    contrib/libs/poco/Foundation/include
)

NO_COMPILER_WARNINGS()

NO_UTIL()

CFLAGS(
    -DPOCO_ENABLE_CPP11
    -DPOCO_ENABLE_CPP14
    -DPOCO_NO_AUTOMATIC_LIBS
    -DPOCO_UNBUNDLED
)

IF (OS_DARWIN)
    CFLAGS(
        -DPOCO_OS_FAMILY_UNIX
        -DPOCO_NO_STAT64
    )
ELSEIF (OS_LINUX)
    CFLAGS(
        -DPOCO_OS_FAMILY_UNIX
        -DPOCO_HAVE_FD_EPOLL
    )
ELSEIF (OS_WINDOWS)
    CFLAGS(
        -DPOCO_OS_FAMILY_WINDOWS
    )
ENDIF()

SRCS(
    src/Cipher.cpp
    src/CipherFactory.cpp
    src/CipherImpl.cpp
    src/CipherKey.cpp
    src/CipherKeyImpl.cpp
    src/CryptoException.cpp
    src/CryptoStream.cpp
    src/CryptoTransform.cpp
    src/DigestEngine.cpp
    src/ECDSADigestEngine.cpp
    src/ECKey.cpp
    src/ECKeyImpl.cpp
    src/EVPPKey.cpp
    src/KeyPair.cpp
    src/KeyPairImpl.cpp
    src/OpenSSLInitializer.cpp
    src/PKCS12Container.cpp
    src/RSACipherImpl.cpp
    src/RSADigestEngine.cpp
    src/RSAKey.cpp
    src/RSAKeyImpl.cpp
    src/X509Certificate.cpp
)

END()