From 1ee760335b8562f52728baa6ffebb2e79b28e789 Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Sun, 9 Sep 2012 15:29:43 +0200 Subject: liborcus: convert to gbuild Change-Id: I6a0d869526ffd40bfe5ff81267f241c049d050f0 --- liborcus/ExternalProject_liborcus.mk | 49 ++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 liborcus/ExternalProject_liborcus.mk (limited to 'liborcus/ExternalProject_liborcus.mk') diff --git a/liborcus/ExternalProject_liborcus.mk b/liborcus/ExternalProject_liborcus.mk new file mode 100644 index 000000000000..80d38763788b --- /dev/null +++ b/liborcus/ExternalProject_liborcus.mk @@ -0,0 +1,49 @@ +# -*- 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_ExternalProject_ExternalProject,liborcus)) + +$(eval $(call gb_ExternalProject_use_unpacked,liborcus,orcus)) + +$(eval $(call gb_ExternalProject_register_targets,liborcus,\ + build \ +)) + +ifeq ($(OS)$(COM),WNTMSC) + +$(call gb_ExternalProject_get_state_target,liborcus,build) : + cd $(EXTERNAL_WORKDIR)/vsprojects/liborcus-static-nozip \ + && export BOOST_INCLUDE_DIR=$(OUTDIR)/inc/external \ + && export BOOST_LIB_DIR=$(OUTDIR)/lib \ + && $(COMPATH)/vcpackages/vcbuild.exe liborcus-static-nozip.vcproj "Release|Win32" \ + && cp Release/orcus.lib $(OUTDIR)/lib \ + && touch $@ + +else + +$(call gb_ExternalProject_get_state_target,liborcus,build) : + cd $(EXTERNAL_WORKDIR) \ + && $(if $(filter ANDROID,$(OS)),LIBS='-lgnustl_shared -lm') \ + ./configure \ + --with-pic \ + --enable-static \ + --disable-shared \ + --without-libzip \ + --disable-debug \ + --disable-spreadsheet-model \ + $(if $(filter NO,$(SYSTEM_BOOST)),CXXFLAGS=-I$(OUTDIR)/inc/external) \ + $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ + && $(GNUMAKE) \ + && cp src/liborcus/.libs/liborcus-0.2.a $(OUTDIR)/lib \ + && ln -s $(OUTDIR)/lib/liborcus.a liborcus-0.2.a \ + && touch $@ + +endif + +# vim: set noet sw=4 ts=4: -- cgit distro/collabora/cd-5.3-3.4'>distro/collabora/cd-5.3-3.4 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/lotuswordpro
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-01-08 10:08:07 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-01-08 14:35:39 +0100
commitf39fd98e8cc9e3a7b6c0930cfdf06b8b01bd794d (patch)
tree5617fc13009cb9fc55ca7d6f58a738c741be6e3e /lotuswordpro
parent08de4faa001307a758e182ea981c769357c976bf (diff)
ofz#5028 Direct-leak
Change-Id: I5d168e4e30a6c76002399ad002a278c6c583210a Reviewed-on: https://gerrit.libreoffice.org/47577 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>