[Libreoffice-commits] core.git: cross_tail_build/Makefile cross_tail_build/prj cross_tail_build/README Makefile.cross Makefile.in Module_cross_tail_build.mk Module_cross_toolset.mk Module_tail_build.mk
Matúš Kukan
matus.kukan at gmail.com
Mon Feb 18 07:44:21 PST 2013
Makefile.cross | 17 +++++++
Makefile.in | 12 ++---
Module_cross_tail_build.mk | 89 --------------------------------------
Module_cross_toolset.mk | 94 +++++++++++++++++++++++++++++++++++++++++
Module_tail_build.mk | 2
cross_tail_build/Makefile | 37 ----------------
cross_tail_build/README | 4 -
cross_tail_build/prj/build.lst | 2
8 files changed, 117 insertions(+), 140 deletions(-)
New commits:
commit a811e047be0bb30a7648d540f9a9c8a5bdae8f67
Author: Matúš Kukan <matus.kukan at gmail.com>
Date: Sun Feb 10 14:26:14 2013 +0100
Make building of cross-toolset build.pl and dmake free.
Adds more modules to Module_cross_*.mk.
Change-Id: I9a7a12ff07649262355bfa82bdf09fbf93b1530e
Reviewed-on: https://gerrit.libreoffice.org/2240
Reviewed-by: Matúš Kukan <matus.kukan at gmail.com>
Tested-by: Matúš Kukan <matus.kukan at gmail.com>
diff --git a/Makefile.cross b/Makefile.cross
new file mode 100644
index 0000000..d3af680
--- /dev/null
+++ b/Makefile.cross
@@ -0,0 +1,17 @@
+# -*- 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/.
+#
+
+include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))config_build.mk
+
+gb_Side := build
+include $(SOLARENV)/gbuild/gbuild.mk
+
+$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/Module_cross_tail_build.mk))
+
+# vim: set noet sw=4 ts=4:
diff --git a/Makefile.in b/Makefile.in
index e3472d6..c9f2237 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -46,7 +46,7 @@ else # MAKE_RESTARTS
all: build
ifeq ($(gb_Side),)
-export gb_Side:=host
+gb_Side:=host
endif
include $(BUILDDIR)/config_$(gb_Side).mk
@@ -291,13 +291,11 @@ endif
build-nocheck : export SKIP_TESTS := YES
build-nocheck : build
+# Ideally solenv would be also in Module_cross_toolset.mk
+# but one would need to chase and add missing dependencies.
cross-toolset: bootstrap fetch
-# We need to build icu for the build platform, as building icu for the host
-# platform requires tools built as part of icu that can run on the build
-# platform. see --with-cross-build in icu/ExternalProject_icu.mk
- $(GNUMAKE) gb_Side=build icu
-#
- cd cross_tail_build && $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS)
+ $(GNUMAKE) gb_Side=build solenv
+ $(GNUMAKE) -j $(PARALLELISM) $(GMAKE_OPTIONS) -f $(SRCDIR)/Makefile.cross
#
# Install
diff --git a/Module_cross_tail_build.mk b/Module_cross_tail_build.mk
deleted file mode 100644
index 046ee61..0000000
--- a/Module_cross_tail_build.mk
+++ /dev/null
@@ -1,89 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-# Version: MPL 1.1 / GPLv3+ / LGPLv3+
-#
-# The contents of this file are subject to the Mozilla Public License Version
-# 1.1 (the "License"); you may not use this file except in compliance with
-# the License or as specified alternatively below. You may obtain a copy of
-# the License at http://www.mozilla.org/MPL/
-#
-# Software distributed under the License is distributed on an "AS IS" basis,
-# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
-# for the specific language governing rights and limitations under the
-# License.
-#
-# Major Contributor(s):
-# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon at redhat.com>
-# (initial developer)
-#
-# All Rights Reserved.
-#
-# For minor contributions see the git repository.
-#
-# Alternatively, the contents of this file may be used under the terms of
-# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
-# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
-# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
-# instead of those above.
-
-$(eval $(call gb_Module_Module,cross_tail_build))
-
-$(eval $(call gb_Module_add_moduledirs,cross_tail_build,\
- autodoc \
- basegfx \
- binaryurp \
- bridges \
- cli_ure \
- codemaker \
- comphelper \
- cosv \
- cppu \
- cppuhelper \
- cppunit \
- i18npool \
- i18nutil \
- idl \
- idlc \
- io \
- javaunohelper \
- jurt \
- jvmaccess \
- jvmfwk \
- l10ntools \
- o3tl \
- offapi \
- officecfg \
- oovbaapi \
- registry \
- remotebridges \
- ridljar \
- rsc \
- sal \
- salhelper \
- sax \
- setup_native \
- shell \
- stoc \
- store \
- tools \
- ucbhelper \
- udkapi \
- udm \
- unoil \
- unotest \
- unotools \
- ure \
- xmlreader \
- $(call gb_Helper_optional,BOOST,boost) \
- $(call gb_Helper_optional,CLUCENE,clucene) \
- $(call gb_Helper_optional_for_host,DESKTOP, \
- helpcompiler \
- xmlhelp \
- ) \
- $(call gb_Helper_optional,EXPAT,expat) \
- $(call gb_Helper_optional,LIBLANGTAG,liblangtag) \
- $(call gb_Helper_optional,QADEVOOO,qadevOOo) \
- $(call gb_Helper_optional,UCPP,ucpp) \
- $(call gb_Helper_optional,ZLIB,zlib) \
-))
-
-# vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/Module_cross_toolset.mk b/Module_cross_toolset.mk
new file mode 100644
index 0000000..fb47572
--- /dev/null
+++ b/Module_cross_toolset.mk
@@ -0,0 +1,94 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+# Version: MPL 1.1 / GPLv3+ / LGPLv3+
+#
+# The contents of this file are subject to the Mozilla Public License Version
+# 1.1 (the "License"); you may not use this file except in compliance with
+# the License or as specified alternatively below. You may obtain a copy of
+# the License at http://www.mozilla.org/MPL/
+#
+# Software distributed under the License is distributed on an "AS IS" basis,
+# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
+# for the specific language governing rights and limitations under the
+# License.
+#
+# Major Contributor(s):
+# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon at redhat.com>
+# (initial developer)
+#
+# All Rights Reserved.
+#
+# For minor contributions see the git repository.
+#
+# Alternatively, the contents of this file may be used under the terms of
+# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
+# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
+# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
+# instead of those above.
+
+$(eval $(call gb_Module_Module,cross_toolset))
+
+$(eval $(call gb_Module_add_moduledirs,cross_toolset,\
+ autodoc \
+ basegfx \
+ binaryurp \
+ bridges \
+ cli_ure \
+ codemaker \
+ comphelper \
+ cosv \
+ cppu \
+ cppuhelper \
+ external \
+ i18npool \
+ i18nutil \
+ idl \
+ idlc \
+ io \
+ javaunohelper \
+ jurt \
+ jvmaccess \
+ jvmfwk \
+ l10ntools \
+ o3tl \
+ offapi \
+ officecfg \
+ oovbaapi \
+ registry \
+ remotebridges \
+ ridljar \
+ rsc \
+ sal \
+ salhelper \
+ sax \
+ setup_native \
+ shell \
+ soltools \
+ stoc \
+ store \
+ tools \
+ ucbhelper \
+ udkapi \
+ udm \
+ unoil \
+ unotest \
+ unotools \
+ ure \
+ xmlreader \
+ $(call gb_Helper_optional,BOOST,boost) \
+ $(call gb_Helper_optional,CLUCENE,clucene) \
+ $(call gb_Helper_optional,CPPUNIT,cppunit) \
+ $(call gb_Helper_optional_for_host,DESKTOP, \
+ helpcompiler \
+ xmlhelp \
+ ) \
+ $(call gb_Helper_optional,EXPAT,expat) \
+ $(call gb_Helper_optional,ICU,icu) \
+ $(call gb_Helper_optional,LIBLANGTAG,liblangtag) \
+ $(call gb_Helper_optional,LIBXML2,libxml2) \
+ $(call gb_Helper_optional,LIBXSLT,libxslt) \
+ $(call gb_Helper_optional,QADEVOOO,qadevOOo) \
+ $(call gb_Helper_optional,UCPP,ucpp) \
+ $(call gb_Helper_optional,ZLIB,zlib) \
+))
+
+# vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/Module_tail_build.mk b/Module_tail_build.mk
index 12e0d7e..3f9e2d1 100644
--- a/Module_tail_build.mk
+++ b/Module_tail_build.mk
@@ -113,9 +113,9 @@ $(eval $(call gb_Module_add_moduledirs,tail_build,\
$(call gb_Helper_optional,WPD,libwpd) \
$(call gb_Helper_optional,WPG,libwpg) \
$(call gb_Helper_optional,WPS,libwps) \
+ $(call gb_Helper_optional,LIBXML2,libxml2) \
libxmlsec \
$(call gb_Helper_optional,LIBXSLT,libxslt) \
- $(call gb_Helper_optional,LIBXML2,libxml2) \
lingucomponent \
linguistic \
lotuswordpro \
diff --git a/cross_tail_build/Makefile b/cross_tail_build/Makefile
deleted file mode 100644
index 5fda0ec..0000000
--- a/cross_tail_build/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-include $(dir $(realpath $(firstword $(MAKEFILE_LIST))))/../config_build.mk
-
-export gb_Side=build
-
-include $(SOLARENV)/gbuild/gbuild.mk
-
-$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/Module_cross_tail_build.mk))
-
-# vim: set noet sw=4 ts=4:
diff --git a/cross_tail_build/README b/cross_tail_build/README
deleted file mode 100644
index fe1addd..0000000
--- a/cross_tail_build/README
+++ /dev/null
@@ -1,4 +0,0 @@
-This is "tail build" for the build side of cross-compilation
-
-See [git:tail_build/README] for details what it is good for and how to
-add a module to it.
diff --git a/cross_tail_build/prj/build.lst b/cross_tail_build/prj/build.lst
deleted file mode 100644
index c3d8c72..0000000
--- a/cross_tail_build/prj/build.lst
+++ /dev/null
@@ -1,2 +0,0 @@
-ctb cross_tail_build :: CPPUNIT:cppunit EXPAT:expat external ICU:icu LIBXML2:libxml2 LIBXSLT:libxslt solenv soltools NULL
-ctb tail_build\prj nmake - all ctb_prj NULL
diff --git a/cross_tail_build/prj/d.lst b/cross_tail_build/prj/d.lst
deleted file mode 100644
index e69de29..0000000
More information about the Libreoffice-commits
mailing list