# -*- 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/. # $(eval $(call gb_ExternalPackage_ExternalPackage,nss,nss)) $(eval $(call gb_ExternalPackage_use_external_project,nss,nss)) $(eval $(call gb_ExternalPackage_add_files,nss,bin,\ config/nspr-config \ config/nss-config \ )) ifeq ($(OS),MACOSX) $(eval $(call gb_ExternalPackage_add_libraries_for_install,nss,lib,\ mozilla/dist/out/lib/libcrmf.a \ mozilla/dist/out/lib/libfreebl3.dylib \ mozilla/dist/out/lib/libnspr4.dylib \ mozilla/dist/out/lib/libnss3.dylib \ mozilla/dist/out/lib/libnssckbi.dylib \ mozilla/dist/out/lib/libnssdbm3.dylib \ mozilla/dist/out/lib/libnssutil3.dylib \ mozilla/dist/out/lib/libplc4.dylib \ mozilla/dist/out/lib/libplds4.dylib \ mozilla/dist/out/lib/libsmime3.dylib \ mozilla/dist/out/lib/libsoftokn3.dylib \ mozilla/dist/out/lib/libssl3.dylib \ )) $(eval $(call gb_ExternalPackage_add_files,nss,lib/sqlite,\ $(if $(filter 1060 1070 1080,$(MAC_OS_X_VERSION_MIN_REQUIRED)),,mozilla/dist/out/lib/libsqlite3.dylib) \ )) else ifeq ($(OS),WNT) ifeq ($(COM),MSC) $(eval $(call gb_ExternalPackage_add_files,nss,lib,\ mozilla/dist/out/lib/nspr4.lib \ mozilla/dist/out/lib/nss3.lib \ mozilla/dist/out/lib/nssdbm3.lib \ mozilla/dist/out/lib/nssutil3.lib \ mozilla/dist/out/lib/plc4.lib \ mozilla/dist/out/lib/plds4.lib \ mozilla/dist/out/lib/smime3.lib \ mozilla/dist/out/lib/softokn3.lib \ mozilla/dist/out/lib/sqlite3.lib \ mozilla/dist/out/lib/ssl3.lib \ )) else $(eval $(call gb_ExternalPackage_add_files,nss,lib,\ mozilla/nsprpub/out/pr/src/libnspr4.dll.a \ mozilla/dist/out/lib/libnss3.dll.a \ mozilla/dist/out/lib/libnssdbm3.dll.a \ mozilla/dist/out/lib/libnssutil3.dll.a \ mozilla/nsprpub/out/lib/libc/src/libplc4.dll.a \ mozilla/nsprpub/out/lib/ds/libplds4.dll.a \ mozilla/dist/out/lib/libsmime3.dll.a \ mozilla/dist/out/lib/libsoftokn3.dll.a \ mozilla/dist/out/lib/libsqlite3.dll.a \ mozilla/dist/out/lib/libssl3.dll.a \ )) endif $(eval $(call gb_ExternalPackage_add_libraries_for_install,nss,bin,\ mozilla/dist/out/lib/freebl3.dll \ mozilla/dist/out/lib/nspr4.dll \ mozilla/dist/out/lib/nss3.dll \ mozilla/dist/out/lib/nssckbi.dll \ mozilla/dist/out/lib/nssdbm3.dll \ mozilla/dist/out/lib/nssutil3.dll \ mozilla/dist/out/lib/plc4.dll \ mozilla/dist/out/lib/plds4.dll \ mozilla/dist/out/lib/smime3.dll \ mozilla/dist/out/lib/softokn3.dll \ mozilla/dist/out/lib/sqlite3.dll \ mozilla/dist/out/lib/ssl3.dll \ )) else # OS!=WNT/MACOSX $(eval $(call gb_ExternalPackage_add_files,nss,lib,\ mozilla/dist/out/lib/libcrmf.a \ mozilla/dist/out/lib/libnsssysinit.so \ )) $(eval $(call gb_ExternalPackage_add_libraries_for_install,nss,lib,\ mozilla/dist/out/lib/libfreebl3.so \ mozilla/dist/out/lib/libnspr4.so \ mozilla/dist/out/lib/libnss3.so \ mozilla/dist/out/lib/libnssckbi.so \ mozilla/dist/out/lib/libnssdbm3.so \ mozilla/dist/out/lib/libnssutil3.so \ mozilla/dist/out/lib/libplc4.so \ mozilla/dist/out/lib/libplds4.so \ mozilla/dist/out/lib/libsmime3.so \ mozilla/dist/out/lib/libsoftokn3.so \ mozilla/dist/out/lib/libssl3.so \ )) $(eval $(call gb_ExternalPackage_add_files,nss,lib/sqlite,\ mozilla/dist/out/lib/libsqlite3.so \ )) endif # vim: set noet sw=4 ts=4: ion> LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/onlineupdate/StaticLibrary_libmar.mk
AgeCommit message (Collapse)Author
2019-04-04Drop UNICODE/_UNICODE definesMike Kaganski
The code is using expicit (mostly W) Windows API, and is independent from the macro. Removing it here allows to catch places where some UNICODE-dependent macro is used unintentionally. Change-Id: I5dff40aecfc3c3dc7fc4cf7271a995a675943a45 Reviewed-on: https://gerrit.libreoffice.org/70237 Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-07-31updater: get the signature verification working on WindowsMarkus Mohrhard
The updater itself does not link to NSS on Windows and instead uses the Windows-internal crypto libraries. However the mar executable needs to link against NSS, so we need to split the code a bit. Change-Id: Iea61c716aa507a876fdb444eb28ad828bdea18bd Reviewed-on: https://gerrit.libreoffice.org/40608 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2017-05-19build the signing part for the updaterMarkus Mohrhard
Change-Id: I422eed712da76a90f49b9d9cd5d6155fa394c223
2016-06-13tdf#98602 Duplicate code in onlineupdate/Ras-al-Ghul
Converted libmar into static library and removed duplicate code. Change-Id: I51c58ae9a6a1f1128422b4a79491d0cd62e6ced6 Reviewed-on: https://gerrit.libreoffice.org/23312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-03-14Revert "tdf#98602 Duplicate code in onlineupdate/"Jan Holesovsky
Unfortunately needs more work, I've pushed it too early... This reverts commit e60506acc53098b4b479d565048c316562657cec.
2016-03-14tdf#98602 Duplicate code in onlineupdate/Ras-al-Ghul
Converted libmar into static library and removed duplicated code Change-Id: I6a6c8ce24103a400e1835ccf7e6421024f5cec4b Reviewed-on: https://gerrit.libreoffice.org/23179 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>