1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 $(eval
$(call gb_CustomTarget_CustomTarget
,android
/lo4android
))
11 lo4android_DIR
:= $(call gb_CustomTarget_get_workdir
,android
/experimental
/LibreOffice4Android
)
13 $(call gb_CustomTarget_get_target
,android
/lo4android
) : \
14 $(lo4android_DIR
)/done
16 # We know that CustomTarget_sdremote.mk is included first, so
17 # sdremote_DIR is defined. We want that to be built completely first,
18 # so that we can serialize Ant access to Bootstrap, which is used both
19 # by DocumentLoader and sdremote. We don't want one Ant to be cleaning
20 # out Bootstrap while another is building stuff that depends on it.
23 $(lo4android_DIR
)/done
: $(sdremote_DIR
)/done
$(call gb_Postprocess_get_target
,AllModulesButInstsetNative
)
24 $(call gb_Output_announce
,$(subst $(WORKDIR
)/,,$@
),$(true
),MAK
,2)
25 cd
$(SRCDIR
)/android
/experimental
/LibreOffice4Android
&& $(MAKE
) all
27 $(call gb_CustomTarget_get_clean_target
,android
/lo4android
) :
28 $(call gb_Output_announce
,$(subst $(WORKDIR
)/Clean
/,,$@
),$(false
),MAK
,2)
29 cd
$(SRCDIR
)/android
/experimental
/LibreOffice4Android
&& $(MAKE
) clean
31 # vim: set noet sw=4 ts=4: