dee760e92c
This puts NSS and OpenSSL implementations into own classes and adds an interface to make this possible. The implementation is now determined in Library_comphelper. Change-Id: I4918f19bca0adfd2f9180fb418d1bd57bb83982d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177383 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
177 lines
6.8 KiB
Makefile
177 lines
6.8 KiB
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# 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/.
|
|
#
|
|
# This file incorporates work covered by the following license notice:
|
|
#
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
# contributor license agreements. See the NOTICE file distributed
|
|
# with this work for additional information regarding copyright
|
|
# ownership. The ASF licenses this file to you under the Apache
|
|
# License, Version 2.0 (the "License"); you may not use this file
|
|
# except in compliance with the License. You may obtain a copy of
|
|
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
#
|
|
|
|
$(eval $(call gb_Library_Library,comphelper))
|
|
|
|
$(eval $(call gb_Library_use_custom_headers,comphelper,\
|
|
officecfg/registry \
|
|
))
|
|
|
|
$(eval $(call gb_Library_set_componentfile,comphelper,comphelper/util/comphelp,services))
|
|
|
|
$(eval $(call gb_Library_set_precompiled_header,comphelper,comphelper/inc/pch/precompiled_comphelper))
|
|
|
|
$(eval $(call gb_Library_add_defs,comphelper,\
|
|
-DCOMPHELPER_DLLIMPLEMENTATION \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_externals,comphelper,\
|
|
gpgmepp \
|
|
boost_headers \
|
|
icuuc \
|
|
icu_headers \
|
|
zlib \
|
|
))
|
|
|
|
ifeq ($(TLS),NSS)
|
|
$(eval $(call gb_Library_use_externals,comphelper,\
|
|
plc4 \
|
|
nss3 \
|
|
))
|
|
else
|
|
ifeq ($(TLS),OPENSSL)
|
|
$(eval $(call gb_Library_use_externals,comphelper,\
|
|
openssl \
|
|
openssl_headers \
|
|
))
|
|
endif
|
|
endif
|
|
|
|
$(eval $(call gb_Library_use_libraries,comphelper,\
|
|
cppu \
|
|
cppuhelper \
|
|
sal \
|
|
salhelper \
|
|
ucbhelper \
|
|
i18nlangtag \
|
|
))
|
|
|
|
$(eval $(call gb_Library_use_sdk_api,comphelper))
|
|
|
|
$(eval $(call gb_Library_add_exception_objects,comphelper,\
|
|
comphelper/source/compare/AnyCompareFactory \
|
|
comphelper/source/container/IndexedPropertyValuesContainer \
|
|
comphelper/source/container/NamedPropertyValuesContainer \
|
|
comphelper/source/container/container \
|
|
comphelper/source/container/containermultiplexer \
|
|
comphelper/source/container/interfacecontainer2 \
|
|
comphelper/source/container/embeddedobjectcontainer \
|
|
comphelper/source/container/enumerablemap \
|
|
comphelper/source/container/enumhelper \
|
|
comphelper/source/container/namecontainer \
|
|
comphelper/source/crypto/Crypto \
|
|
$(if $(filter NSS,$(TLS)), comphelper/source/crypto/Crypto_NSS) \
|
|
$(if $(filter OPENSSL,$(TLS)), comphelper/source/crypto/Crypto_OpenSSL) \
|
|
$(if $(filter NSS OPENSSL,$(TLS)),,comphelper/source/crypto/Crypto_None) \
|
|
comphelper/source/eventattachermgr/eventattachermgr \
|
|
comphelper/source/misc/accessiblecomponenthelper \
|
|
comphelper/source/misc/accessibleeventnotifier \
|
|
comphelper/source/misc/accessiblekeybindinghelper \
|
|
comphelper/source/misc/accessibleselectionhelper \
|
|
comphelper/source/misc/accessibletexthelper \
|
|
comphelper/source/misc/accessiblewrapper \
|
|
comphelper/source/misc/AccessibleImplementationHelper \
|
|
comphelper/source/misc/anycompare \
|
|
comphelper/source/misc/anytohash \
|
|
comphelper/source/misc/anytostring \
|
|
comphelper/source/misc/asyncnotification \
|
|
comphelper/source/misc/asyncquithandler \
|
|
comphelper/source/misc/automationinvokedzone \
|
|
comphelper/source/misc/backupfilehelper \
|
|
comphelper/source/misc/base64 \
|
|
comphelper/source/misc/compbase \
|
|
comphelper/source/misc/componentbase \
|
|
comphelper/source/misc/configuration \
|
|
comphelper/source/misc/configurationhelper \
|
|
comphelper/source/misc/date \
|
|
comphelper/source/misc/debuggerinfo \
|
|
comphelper/source/misc/diagnose_ex \
|
|
comphelper/source/misc/DirectoryHelper \
|
|
comphelper/source/misc/dispatchcommand \
|
|
comphelper/source/misc/docpasswordhelper \
|
|
comphelper/source/misc/docpasswordrequest \
|
|
comphelper/source/misc/documentinfo \
|
|
comphelper/source/misc/errcode \
|
|
comphelper/source/misc/evtlistenerhlp \
|
|
comphelper/source/misc/evtmethodhelper \
|
|
comphelper/source/misc/fileurl \
|
|
comphelper/source/misc/getexpandeduri \
|
|
comphelper/source/misc/graphicmimetype \
|
|
comphelper/source/misc/hash \
|
|
comphelper/source/misc/instancelocker \
|
|
comphelper/source/misc/interaction \
|
|
comphelper/source/misc/logging \
|
|
comphelper/source/misc/lok \
|
|
comphelper/source/misc/mimeconfighelper \
|
|
comphelper/source/misc/namedvaluecollection \
|
|
comphelper/source/misc/numberedcollection \
|
|
comphelper/source/misc/numbers \
|
|
comphelper/source/misc/officerestartmanager \
|
|
comphelper/source/misc/traceevent \
|
|
comphelper/source/misc/proxyaggregation \
|
|
comphelper/source/misc/random \
|
|
comphelper/source/misc/SelectionMultiplex \
|
|
comphelper/source/misc/sequenceashashmap \
|
|
comphelper/source/misc/sharedmutex \
|
|
comphelper/source/misc/simplefileaccessinteraction \
|
|
comphelper/source/misc/solarmutex \
|
|
comphelper/source/misc/stillreadwriteinteraction \
|
|
comphelper/source/misc/storagehelper \
|
|
comphelper/source/misc/string \
|
|
comphelper/source/misc/synchronousdispatch \
|
|
comphelper/source/misc/syntaxhighlight \
|
|
comphelper/source/misc/threadpool \
|
|
comphelper/source/misc/types \
|
|
comphelper/source/misc/weakeventlistener \
|
|
comphelper/source/misc/xmlsechelper \
|
|
comphelper/source/officeinstdir/officeinstallationdirectories \
|
|
comphelper/source/processfactory/processfactory \
|
|
comphelper/source/property/ChainablePropertySet \
|
|
comphelper/source/property/ChainablePropertySetInfo \
|
|
comphelper/source/property/genericpropertyset \
|
|
comphelper/source/property/MasterPropertySet \
|
|
comphelper/source/property/MasterPropertySetInfo \
|
|
comphelper/source/property/opropertybag \
|
|
comphelper/source/property/propagg \
|
|
comphelper/source/property/propertybag \
|
|
comphelper/source/property/propertycontainer \
|
|
comphelper/source/property/propertycontainer2 \
|
|
comphelper/source/property/propertycontainerhelper \
|
|
comphelper/source/property/property \
|
|
comphelper/source/property/propertysethelper \
|
|
comphelper/source/property/propertysetinfo \
|
|
comphelper/source/property/propertystatecontainer \
|
|
comphelper/source/property/propmultiplex \
|
|
comphelper/source/property/propmultiplex2 \
|
|
comphelper/source/property/propshlp \
|
|
comphelper/source/property/propstate \
|
|
comphelper/source/streaming/basicio \
|
|
comphelper/source/streaming/memorystream \
|
|
comphelper/source/streaming/oslfile2streamwrap \
|
|
comphelper/source/streaming/seekableinput \
|
|
comphelper/source/streaming/seqinputstreamserv \
|
|
comphelper/source/streaming/seqoutputstreamserv \
|
|
comphelper/source/streaming/seqstream \
|
|
comphelper/source/streaming/streamsection \
|
|
comphelper/source/xml/attributelist \
|
|
comphelper/source/xml/ofopxmlhelper \
|
|
comphelper/source/xml/xmltools \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|