office-gobmx/onlineupdate/StaticLibrary_libmar.mk
Markus Mohrhard 6de75d132f updater: get the signature verification working on Windows
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-07-31 23:56:19 +02:00

31 lines
873 B
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/.
#
$(eval $(call gb_StaticLibrary_StaticLibrary,libmar))
$(eval $(call gb_StaticLibrary_set_include,libmar,\
-I$(SRCDIR)/onlineupdate/source/libmar/src/ \
$$(INCLUDE) \
))
$(eval $(call gb_StaticLibrary_add_defs,libmar,\
-DUNICODE \
))
$(eval $(call gb_StaticLibrary_add_cobjects,libmar,\
onlineupdate/source/libmar/src/mar_create \
onlineupdate/source/libmar/src/mar_extract \
onlineupdate/source/libmar/src/mar_read \
))
$(eval $(call gb_StaticLibrary_use_static_libraries,\
libmarverify \
))
# vim:set shiftwidth=4 tabstop=4 noexpandtab: */