Kaydet (Commit) 7c1026ab authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

create a pseudo-module tail_build to take advantage of gbuild features

gbuild allow for multiple 'module' to be build as one Makefile.
This help with parallelism.
This module build all the 'tail' end module. these that are not
dependencies or other dmake-based module, and that pseudo module
is declared as a dependency of postprocess instead of the individual
modules it 'group'
üst 364dbc66
#
# 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. 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.
#
# The Initial Developer of the Original Code is
# Norbert Thiebaud <nthiebaud@gmail.com> (C) 2011, All Rights Reserved.
#
# 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,tail_end))
$(eval $(call gb_Module_add_moduledirs,tail_end,\
writerfilter \
chart2 \
cui \
dbaccess \
formula \
sc \
sd \
slideshow \
starmath \
sw \
))
# vim: set noet ts=4 sw=4:
#*************************************************************************
#
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# Copyright 2009 by Sun Microsystems, Inc.
#
# 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.
#
#*************************************************************************
ifeq ($(strip $(SOLARENV)),)
$(error No environment set!)
endif
GBUILDDIR := $(SOLARENV)/gbuild
include $(GBUILDDIR)/gbuild.mk
$(eval $(call gb_Module_make_global_targets,$(SRC_ROOT)/Module_tail_build.mk))
# vim: set noet sw=4 ts=4:
This module exist only to take advantage of the ability of gbuild to build
multiple modules in one single Makefile.
A few module that normally get built at the end of the build process
are already converted. this 'pseudo-module' build them all as one.
As module get converted to gbuild they can be added to this module
if they fix the neceesary pre-requisite. that is:
To qualify a module must not be the dependant of any other module,
except postprocess or if the other module itself is under tail_build
To migrate a module <foo> under tail_build, one should:
Merge the dependencies declared in <foo>/prj/build.lst into tail_build/prj/build.lst
Remove the module <foo> from postprocess/prj/build.lst dependencies
Add the module name in Module_tail_build.mk at the root of bootstrap
tb tail_build : BOOST:boost LIBXSLT:libxslt MDDS:mdds MESA:Mesa TRANSLATIONS:translations animations avmedia basegfx canvas comphelper connectivity cppcanvas cppu cppuhelper fileaccess filter lotuswordpro offapi offuh oovbaapi oox package qadevOOo sal sfx2 soltools stoc stoc svtools svx test toolkit tools ucbhelper unotools unoxml unoxml ure uui vbahelper vcl writerperfect xmlscript NULL
tb tail_build\prj nmake - all tb_prj NULL
#*************************************************************************
#
# 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.
#
#*************************************************************************
PRJ=..
TARGET=prj
.INCLUDE : settings.mk
.IF "$(VERBOSE)"!=""
VERBOSEFLAG :=
.ELSE
VERBOSEFLAG := -s
.ENDIF
all:
cd $(PRJ) && $(GNUMAKE) $(VERBOSEFLAG) -r -j$(MAXPROCESS) $(gb_MAKETARGET) && $(GNUMAKE) $(VERBOSEFLAG) -r deliverlog
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment