blob: c647008d79abcf27dda9ecaa4f51c837a7e1e55a [file] [log] [blame]
Ratan Guptaca039ca2022-01-09 12:22:27 +05301phosphor_ldap_conf_deps = [
Patrick Williamse92f4ac2022-04-05 16:10:18 -05002 cereal_dep,
Ratan Guptaca039ca2022-01-09 12:22:27 +05303 phosphor_dbus_interfaces_dep,
4 phosphor_logging_dep,
5 sdbusplus_dep,
6]
7
8phosphor_ldap_conf_lib = static_library(
9 'phosphor_ldap_conf',
10 [
11 'utils.cpp',
12 'ldap_config.cpp',
13 'ldap_config_mgr.cpp',
14 'ldap_mapper_entry.cpp',
15 'ldap_mapper_serialize.cpp'
16 ],
17 include_directories: '..',
18 dependencies: phosphor_ldap_conf_deps,
19)
20
21phosphor_ldap_conf_dep = declare_dependency(
22 link_with: phosphor_ldap_conf_lib,
23 dependencies: phosphor_ldap_conf_deps,
24)
25
26executable(
27 'phosphor-ldap-conf',
28 'main.cpp',
29 include_directories: '..',
30 dependencies: phosphor_ldap_conf_dep,
31 link_args: ['-lldap'],
32 install: true,
33)