summaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/CustomTarget_sdremote.mk19
-rw-r--r--android/Makefile13
-rw-r--r--android/Module_android.mk19
3 files changed, 51 insertions, 0 deletions
diff --git a/android/CustomTarget_sdremote.mk b/android/CustomTarget_sdremote.mk
new file mode 100644
index 000000000000..e153410f116a
--- /dev/null
+++ b/android/CustomTarget_sdremote.mk
@@ -0,0 +1,19 @@
+# -*- 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/.
+
+$(eval $(call gb_CustomTarget_CustomTarget,android/sdremote))
+
+sdremote_DIR := $(call gb_CustomTarget_get_workdir,android/sdremote)
+
+$(call gb_CustomTarget_get_target,android/sdremote) : $(sdremote_DIR)/done
+
+$(sdremote_DIR)/done : $(gb_Helper_PHONY)
+ $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),MAK,1)
+ cd $(SRCDIR)/android/sdremote && $(MAKE)
+
+# vim: set noet sw=4 ts=4:
diff --git a/android/Makefile b/android/Makefile
new file mode 100644
index 000000000000..0c6f47b1790f
--- /dev/null
+++ b/android/Makefile
@@ -0,0 +1,13 @@
+# -*- 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/.
+
+module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
+
+include $(module_directory)/../solenv/gbuild/partial_build.mk
+
+# vim: set noet sw=4 ts=4:
diff --git a/android/Module_android.mk b/android/Module_android.mk
new file mode 100644
index 000000000000..2f0d76ede747
--- /dev/null
+++ b/android/Module_android.mk
@@ -0,0 +1,19 @@
+# -*- 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/.
+
+$(eval $(call gb_Module_Module,android))
+
+ifeq ($(OS),ANDROID)
+
+$(eval $(call gb_Module_add_targets,android,\
+ CustomTarget_sdremote \
+))
+
+endif
+
+# vim: set noet sw=4 ts=4: