diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2013-03-04 15:32:05 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2013-03-05 09:06:18 +0100 |
commit | ce1bdc424f462236d8e6bc6c06e95d2f40b43eae (patch) | |
tree | bf004e40e4674c83c6515b2ed9096f8541dcd421 /Makefile.gbuild | |
parent | 61add5c77de1ff963b839020c77f67f14ef07de1 (diff) |
Let's use only one Makefile forwarding to gbuild.
Well, there is still another one: solenv/gbuild/partial_build.mk
This enables you to do in SRCDIR:
make gb_Side=build -r -f Makefile.gbuild <target>
which was not possible previously.
Change-Id: I6f8ce1c6503124526986e192b7d3552b909fc157
Diffstat (limited to 'Makefile.gbuild')
-rw-r--r-- | Makefile.gbuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.gbuild b/Makefile.gbuild new file mode 100644 index 000000000000..65ff9f25fea3 --- /dev/null +++ b/Makefile.gbuild @@ -0,0 +1,23 @@ +# -*- 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/. +# + +ifeq (,$(gb_Side)) +gb_Side := host +endif +ifeq (,$(BUILDDIR)) +BUILDDIR := $(dir $(realpath $(firstword $(MAKEFILE_LIST)))) +endif + +include $(BUILDDIR)/config_$(gb_Side).mk + +include $(SOLARENV)/gbuild/gbuild.mk + +$(eval $(call gb_Module_make_global_targets,$(SRCDIR)/RepositoryModule_$(gb_Side).mk)) + +# vim: set noet sw=4 ts=4: |