Version 6.4.0.3, tag libreoffice-6.4.0.3
[LibreOffice.git] / extensions / Library_ldapbe2.mk
blobe76dcc21a5dd8920698665d5d3a0725f8b88002e
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 $(eval $(call gb_Library_Library,ldapbe2))
14 $(eval $(call gb_Library_set_componentfile,ldapbe2,extensions/source/config/ldap/ldapbe2))
16 $(eval $(call gb_Library_use_sdk_api,ldapbe2))
18 ifneq ($(OS),WNT)
19 $(eval $(call gb_Library_add_defs,ldapbe2,\
20 -DLDAP_DEPRECATED \
22 endif
24 $(eval $(call gb_Library_add_exception_objects,ldapbe2,\
25 extensions/source/config/ldap/componentdef \
26 extensions/source/config/ldap/ldapaccess \
27 extensions/source/config/ldap/ldapuserprofilebe \
30 $(eval $(call gb_Library_use_libraries,ldapbe2,\
31 comphelper \
32 cppuhelper \
33 cppu \
34 salhelper \
35 sal \
36 tl \
39 ifeq ($(OS),WNT)
40 $(eval $(call gb_Library_use_externals,ldapbe2,\
41 boost_headers \
43 $(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
44 wldap32 \
46 else # 0S!=WNT
47 $(eval $(call gb_Library_use_externals,ldapbe2,\
48 boost_headers \
49 openldap \
50 nss3 \
51 plc4 \
52 ssl3 \
54 endif
58 ifeq ($(OS),FREEBSD)
59 $(eval $(call gb_Library_add_libs,ldapbe2,\
60 -lcompat \
62 endif # OS=FREEBSD
64 # vim:set noet sw=4 ts=4: