bump product version to 5.0.4.1
[LibreOffice.git] / extensions / Library_ldapbe2.mk
blob0364d58e8bd1be3096273ceb276ada9116328834
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 cppuhelper \
32 cppu \
33 salhelper \
34 sal \
37 ifeq ($(OS),WNT)
38 $(eval $(call gb_Library_use_externals,ldapbe2,\
39 boost_headers \
41 $(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
42 wldap32 \
44 else # 0S!=WNT
45 $(eval $(call gb_Library_use_externals,ldapbe2,\
46 boost_headers \
47 openldap \
48 nss3 \
49 plc4 \
50 ssl3 \
52 endif
56 ifeq ($(OS),FREEBSD)
57 $(eval $(call gb_Library_add_libs,ldapbe2,\
58 -lcompat \
60 endif # OS=FREEBSD
62 # vim:set noet sw=4 ts=4: