From ce1bdc424f462236d8e6bc6c06e95d2f40b43eae Mon Sep 17 00:00:00 2001 From: Matúš Kukan Date: Mon, 4 Mar 2013 15:32:05 +0100 Subject: 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 which was not possible previously. Change-Id: I6f8ce1c6503124526986e192b7d3552b909fc157 --- Makefile.gbuild | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Makefile.gbuild (limited to 'Makefile.gbuild') 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: -- cgit v1.2.3