aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/NetSSL_OpenSSL/ya.make
blob: 25ce1db22a429aed9ec8a004b01ea5c2db25ec85 (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
75
76
77
78
79
80
81
82
83
84
85
86
87
# 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/Crypto
    contrib/libs/poco/Foundation
    contrib/libs/poco/JSON
    contrib/libs/poco/Net
    contrib/libs/poco/Util
    contrib/libs/poco/XML
)

ADDINCL(
    GLOBAL contrib/libs/poco/NetSSL_OpenSSL/include
    contrib/libs/poco/Crypto/include
    contrib/libs/poco/Foundation/include
    contrib/libs/poco/Net/include
    contrib/libs/poco/NetSSL_OpenSSL/src
    contrib/libs/poco/Util/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/AcceptCertificateHandler.cpp
    src/CertificateHandlerFactory.cpp
    src/CertificateHandlerFactoryMgr.cpp
    src/ConsoleCertificateHandler.cpp
    src/Context.cpp
    src/HTTPSClientSession.cpp
    src/HTTPSSessionInstantiator.cpp
    src/HTTPSStreamFactory.cpp
    src/InvalidCertificateHandler.cpp
    src/KeyConsoleHandler.cpp
    src/KeyFileHandler.cpp
    src/PrivateKeyFactory.cpp
    src/PrivateKeyFactoryMgr.cpp
    src/PrivateKeyPassphraseHandler.cpp
    src/RejectCertificateHandler.cpp
    src/SSLException.cpp
    src/SSLManager.cpp
    src/SecureSMTPClientSession.cpp
    src/SecureServerSocket.cpp
    src/SecureServerSocketImpl.cpp
    src/SecureSocketImpl.cpp
    src/SecureStreamSocket.cpp
    src/SecureStreamSocketImpl.cpp
    src/Session.cpp
    src/Utility.cpp
    src/VerificationErrorArgs.cpp
    src/X509Certificate.cpp
)

END()