2014-04-28 23:33:04 +09:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
2011-12-17 23:33:32 +01:00
|
|
|
#
|
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-12-17 23:33:32 +01:00
|
|
|
#
|
2013-04-24 17:14:03 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2011-12-17 23:33:32 +01:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,ldapbe2))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_componentfile,ldapbe2,extensions/source/config/ldap/ldapbe2))
|
|
|
|
|
2012-07-02 13:00:50 +01:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,ldapbe2))
|
2011-12-17 23:33:32 +01:00
|
|
|
|
2012-07-16 16:33:07 +02:00
|
|
|
ifneq ($(OS),WNT)
|
2011-12-17 23:33:32 +01:00
|
|
|
$(eval $(call gb_Library_add_defs,ldapbe2,\
|
|
|
|
-DLDAP_DEPRECATED \
|
|
|
|
))
|
2012-07-16 16:33:07 +02:00
|
|
|
endif
|
2011-12-17 23:33:32 +01:00
|
|
|
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,ldapbe2,\
|
|
|
|
extensions/source/config/ldap/componentdef \
|
|
|
|
extensions/source/config/ldap/ldapaccess \
|
|
|
|
extensions/source/config/ldap/ldapuserprofilebe \
|
|
|
|
))
|
|
|
|
|
2012-04-07 23:22:08 +02:00
|
|
|
$(eval $(call gb_Library_use_libraries,ldapbe2,\
|
2011-12-17 23:33:32 +01:00
|
|
|
cppuhelper \
|
|
|
|
cppu \
|
|
|
|
salhelper \
|
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2012-07-16 12:14:45 +02:00
|
|
|
ifeq ($(OS),WNT)
|
2014-04-14 09:57:50 +02:00
|
|
|
$(eval $(call gb_Library_use_externals,ldapbe2,\
|
2014-04-14 09:44:35 +02:00
|
|
|
boost_headers \
|
2014-04-14 09:57:50 +02:00
|
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
|
2013-03-27 00:34:19 +01:00
|
|
|
wldap32 \
|
2012-07-16 12:14:45 +02:00
|
|
|
))
|
|
|
|
else # 0S!=WNT
|
2013-02-04 08:09:16 +01:00
|
|
|
$(eval $(call gb_Library_use_externals,ldapbe2,\
|
2014-04-13 23:44:29 +02:00
|
|
|
boost_headers \
|
2013-02-04 08:09:16 +01:00
|
|
|
openldap \
|
2013-10-23 11:19:04 -02:00
|
|
|
nss3 \
|
2013-02-04 09:54:38 +01:00
|
|
|
plc4 \
|
2013-02-04 10:04:07 +01:00
|
|
|
ssl3 \
|
2012-07-16 12:14:45 +02:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-17 23:33:32 +01:00
|
|
|
ifeq ($(OS),FREEBSD)
|
|
|
|
$(eval $(call gb_Library_add_libs,ldapbe2,\
|
|
|
|
-lcompat \
|
|
|
|
))
|
|
|
|
endif # OS=FREEBSD
|
|
|
|
|
2013-01-26 22:19:07 +01:00
|
|
|
# vim:set noet sw=4 ts=4:
|