Update git submodules
[LibreOffice.git] / extensions / Library_ldapbe2.mk
blobc08ed88f744e76802cdea790cd80c17e69d4f26f
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,services))
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/ldapaccess \
26 extensions/source/config/ldap/ldapuserprofilebe \
29 $(eval $(call gb_Library_use_libraries,ldapbe2,\
30 comphelper \
31 cppuhelper \
32 cppu \
33 salhelper \
34 sal \
35 tl \
38 ifeq ($(OS),WNT)
39 $(eval $(call gb_Library_use_externals,ldapbe2,\
40 boost_headers \
42 $(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
43 wldap32 \
45 else # 0S!=WNT
46 $(eval $(call gb_Library_use_externals,ldapbe2,\
47 boost_headers \
48 openldap \
49 openssl \
51 endif
55 ifeq ($(OS),FREEBSD)
56 $(eval $(call gb_Library_add_libs,ldapbe2,\
57 -lcompat \
59 endif # OS=FREEBSD
61 # vim:set noet sw=4 ts=4: