summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codemaker/Module_codemaker.mk6
-rw-r--r--salhelper/Module_salhelper.mk2
2 files changed, 4 insertions, 4 deletions
diff --git a/codemaker/Module_codemaker.mk b/codemaker/Module_codemaker.mk
index c65d86c390cb..8b8f13f3b4fa 100644
--- a/codemaker/Module_codemaker.mk
+++ b/codemaker/Module_codemaker.mk
@@ -11,15 +11,13 @@ $(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)))
-ifneq ($(OS),IOS)
$(eval $(call gb_Module_add_targets,codemaker,\
StaticLibrary_codemaker \
StaticLibrary_codemaker_cpp \
- StaticLibrary_codemaker_java \
- Executable_javamaker \
+ $(if $(filter TRUE,$(ENABLE_JAVA)),StaticLibrary_codemaker_java) \
+ $(if $(filter TRUE,$(ENABLE_JAVA)),Executable_javamaker) \
Executable_cppumaker \
))
endif
-endif
# vim:set noet sw=4 ts=4:
diff --git a/salhelper/Module_salhelper.mk b/salhelper/Module_salhelper.mk
index 9278844b6c77..696e93471d0f 100644
--- a/salhelper/Module_salhelper.mk
+++ b/salhelper/Module_salhelper.mk
@@ -14,8 +14,10 @@ $(eval $(call gb_Module_add_targets,salhelper,\
Library_salhelper \
))
+ifneq ($(OS),IOS)
$(eval $(call gb_Module_add_check_targets,salhelper,\
CppunitTest_salhelper_testapi \
))
+endif
# vim: set noet sw=4 ts=4: