blob: 16b8d1acde4f72c42bb56400de946d03be4c13e4 (
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
|
# This file was generated by the build system used internally in the Yandex monorepo.
# Only simple modifications are allowed (adding source-files to targets, adding simple properties
# like target_include_directories). These modifications will be ported to original
# ya.make files by maintainers. Any complex modifications which can't be ported back to the
# original buildsystem will not be accepted.
add_subdirectory(libraries)
add_library(contrib-libs-openldap)
target_compile_options(contrib-libs-openldap PRIVATE
-DLDAPI_SOCK="/run/openldap/ldapi"
-DLDAP_LIBRARY
$<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(contrib-libs-openldap PUBLIC
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/include
)
target_include_directories(contrib-libs-openldap PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/sasl/include
)
target_link_libraries(contrib-libs-openldap PUBLIC
openldap-libraries-liblber
contrib-libs-openssl
contrib-libs-sasl
)
target_sources(contrib-libs-openldap PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/abandon.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/account_usability.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/add.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/addentry.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/assertion.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/avl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/bind.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/cancel.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/charray.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/compare.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/controls.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/cyrus.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/dds.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/delete.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/deref.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/dnssrv.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/error.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/extended.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/fetch.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/filter.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/free.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getattr.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getdn.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getentry.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/getvalues.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/init.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/lbase64.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldap_sync.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldif.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ldifutil.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/messages.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/modify.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/modrdn.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/msctrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/open.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/options.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/os-ip.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/os-local.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/pagectrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/passwd.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/ppolicy.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/print.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/psearchctrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/rdwr.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/references.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/request.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/result.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/rq.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sasl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sbind.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/schema.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/search.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sort.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/sortctrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/stctrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/string.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tavl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_debug.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_nt.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_posix.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_pth.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/thr_thr.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/threads.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls2.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls_g.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tls_o.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/tpool.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/turn.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/txn.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/unbind.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/url.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/utf-8-conv.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/utf-8.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/util-int.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/vc.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/version.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/vlvctrl.c
${CMAKE_SOURCE_DIR}/contrib/libs/openldap/libraries/libldap/whoami.c
)
|