summaryrefslogtreecommitdiff
path: root/Makefile
blob: 65be21f95cca50f6921471eb534ebe9b2370a9b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# Copyright 2012 LibreOffice contributors.
#
# 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/.
#

# must not be empty so we can have a target for it
ifeq ($(MAKECMDGOALS),)
MAKECMDGOALS:=all
endif

SHELL=/usr/bin/env bash
SRCDIR:=$(patsubst %/,%,$(dir $(realpath $(firstword $(MAKEFILE_LIST)))))

.PHONY : $(filter-out $(SRCDIR)/config_host.mk,$(MAKECMDGOALS))

# recursively invoke Makefile.top, which includes config_host.mk
$(filter-out help,$(firstword $(MAKECMDGOALS))) : $(SRCDIR)/config_host.mk
	$(MAKE) -r -f $(SRCDIR)/Makefile.top $(MAKECMDGOALS)

# run configure in an environment not polluted by config_host.mk
$(SRCDIR)/config_host.mk : \
		$(SRCDIR)/config_host.mk.in \
		$(SRCDIR)/ooo.lst.in \
		$(SRCDIR)/configure.ac \
		$(SRCDIR)/autogen.lastrun
	./autogen.sh

# dummy rule in case autogen.lastrun does not exist
$(SRCDIR)/autogen.lastrun:
	@true

help:
	@cat $(SRCDIR)/solenv/gbuild/gbuild.help.txt
	@true

# vim: set noet sw=4 ts=4:
onov 2019-03-02Fix typoAndrea Gelmini 2019-02-20More loplugin:simplifyboolStephan Bergmann 2019-02-19Some uses of C++17 class template argument deductionStephan Bergmann 2019-02-19More loplugin:simplifyboolStephan Bergmann 2019-02-08loplugin:indentation in cppu..cuiNoel Grandin 2019-01-29cppu: fix Android buildMiklos Vajna 2019-01-29tdf#42949 Fix IWYU warnings in cppu/Gabor Kelemen 2019-01-19Fix typoAndrea Gelmini 2018-12-29typelib: Fix incorrect parameter type to std::min() on m68kJohn Paul Adrian Glaubitz 2018-12-08Remove obsolete SAL_FALLTHROUGH completelyStephan Bergmann 2018-12-07loplugin:singlevalfields extend to all static varsNoel Grandin 2018-12-06Remove obsolete GCC version checksStephan Bergmann 2018-11-16loplugin:buriedassign in avmedia..cuiNoel Grandin 2018-11-07coverity#1441100 silence Out-of-bounds accessCaolán McNamara 2018-11-04replace double-checked locking patterns with thread safe local staticsMike Kaganski 2018-11-04replace double-checked locking patterns with thread safe local staticsMike Kaganski 2018-10-24remove more rtl::OUString and OString prefixesNoel Grandin 2018-10-09Extend loplugin:redundantinline to catch inline functions w/o external linkageStephan Bergmann 2018-09-22tweak markupCaolán McNamara 2018-09-17New loplugin:externalStephan Bergmann 2018-09-10Fix for --enable-debug --disable-assert-always-abortStephan Bergmann 2018-09-06loplugin:simplifyconstruct in canvas..cuiNoel Grandin 2018-08-29fix android buildNoel Grandin 2018-08-29replace rtl_allocateMemory with std::mallocNoel Grandin 2018-08-29loplugin:constantparam (1)Noel Grandin 2018-07-29replace double checked locking patternsJochen Nitschke 2018-07-27Related: rhbz#1602589 add comments to coverity annotationsCaolán McNamara 2018-07-26Related: rhbz#1602589 silence coverity leaked_storageCaolán McNamara 2018-07-16Add missing sal/log.hxx headersGabor Kelemen 2018-06-29tdf#96099 Remove trivial std::map typedefs in [cd]*Arkadiy Illarionov 2018-06-01loplugin: look for CPPUNIT_ASSERT_EQUALS with params swappedNoel Grandin 2018-05-22Fix typosAndrea Gelmini 2018-05-10move Java from config_features to already existing config_javaRene Engelhard