bump product version to 4.1.6.2
[LibreOffice.git] / extensions / Library_ldapbe2.mk
blobdb4510f4d7258789c645f24ae0706bc8abc746e3
1 # -*- Mode: makefile; 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 cppuhelper \
32 cppu \
33 salhelper \
34 sal \
37 ifeq ($(OS),WNT)
38 $(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
39 wldap32 \
41 else # 0S!=WNT
42 $(eval $(call gb_Library_use_externals,ldapbe2,\
43 nss3 \
44 openldap \
45 plc4 \
46 ssl3 \
48 endif
52 ifeq ($(OS),FREEBSD)
53 $(eval $(call gb_Library_add_libs,ldapbe2,\
54 -lcompat \
56 endif # OS=FREEBSD
58 # vim:set noet sw=4 ts=4: