2011-12-19 15:09:48 -06:00
|
|
|
# -*- Mode: makefile; tab-width: 4; indent-tabs-mode: t -*-
|
2011-12-17 16:33:32 -06:00
|
|
|
#
|
|
|
|
#
|
2013-04-24 11:14:03 -05:00
|
|
|
# This file is part of the LibreOffice project.
|
2011-12-17 16:33:32 -06:00
|
|
|
#
|
2013-04-24 11:14:03 -05: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 16:33:32 -06:00
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_Library,ldapbe2))
|
|
|
|
|
|
|
|
$(eval $(call gb_Library_set_componentfile,ldapbe2,extensions/source/config/ldap/ldapbe2))
|
|
|
|
|
2012-07-02 07:00:50 -05:00
|
|
|
$(eval $(call gb_Library_use_sdk_api,ldapbe2))
|
2011-12-17 16:33:32 -06:00
|
|
|
|
2012-07-16 09:33:07 -05:00
|
|
|
ifneq ($(OS),WNT)
|
2011-12-17 16:33:32 -06:00
|
|
|
$(eval $(call gb_Library_add_defs,ldapbe2,\
|
|
|
|
-DLDAP_DEPRECATED \
|
|
|
|
))
|
2012-07-16 09:33:07 -05:00
|
|
|
endif
|
2011-12-17 16:33:32 -06: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 16:22:08 -05:00
|
|
|
$(eval $(call gb_Library_use_libraries,ldapbe2,\
|
2011-12-17 16:33:32 -06:00
|
|
|
cppuhelper \
|
|
|
|
cppu \
|
|
|
|
salhelper \
|
|
|
|
sal \
|
|
|
|
))
|
|
|
|
|
2012-07-16 05:14:45 -05:00
|
|
|
ifeq ($(OS),WNT)
|
2012-09-28 08:31:46 -05:00
|
|
|
$(eval $(call gb_Library_use_system_win32_libs,ldapbe2,\
|
2013-03-26 18:34:19 -05:00
|
|
|
wldap32 \
|
2012-07-16 05:14:45 -05:00
|
|
|
))
|
|
|
|
else # 0S!=WNT
|
2013-02-04 01:09:16 -06:00
|
|
|
$(eval $(call gb_Library_use_externals,ldapbe2,\
|
|
|
|
nss3 \
|
|
|
|
openldap \
|
2013-02-04 02:54:38 -06:00
|
|
|
plc4 \
|
2013-02-04 03:04:07 -06:00
|
|
|
ssl3 \
|
2012-07-16 05:14:45 -05:00
|
|
|
))
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-12-17 16:33:32 -06:00
|
|
|
ifeq ($(OS),FREEBSD)
|
|
|
|
$(eval $(call gb_Library_add_libs,ldapbe2,\
|
|
|
|
-lcompat \
|
|
|
|
))
|
|
|
|
endif # OS=FREEBSD
|
|
|
|
|
2013-01-26 15:19:07 -06:00
|
|
|
# vim:set noet sw=4 ts=4:
|