summaryrefslogtreecommitdiffstats
path: root/codemaker/Module_codemaker.mk
diff options
context:
space:
mode:
Diffstat (limited to 'codemaker/Module_codemaker.mk')
-rw-r--r--codemaker/Module_codemaker.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/codemaker/Module_codemaker.mk b/codemaker/Module_codemaker.mk
new file mode 100644
index 0000000000..6571ab2ca5
--- /dev/null
+++ b/codemaker/Module_codemaker.mk
@@ -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/.
+#
+
+$(eval $(call gb_Module_Module,codemaker))
+
+# if not cross-compiling or we need this for ODK
+ifneq (,$(if $(CROSS_COMPILING),,T)$(filter ODK,$(BUILD_TYPE)))
+$(eval $(call gb_Module_add_targets,codemaker,\
+ StaticLibrary_codemaker \
+ StaticLibrary_codemaker_cpp \
+ StaticLibrary_codemaker_java \
+ Executable_javamaker \
+ Executable_cppumaker \
+))
+endif
+
+# vim:set noet sw=4 ts=4: