summaryrefslogtreecommitdiff
path: root/basic/CppunitTest_basic_vba.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-03-11 20:50:39 +0100
committerMatúš Kukan <matus.kukan@gmail.com>2013-03-12 11:36:56 +0100
commit954611cdea0ae4b0dab4f241e580c4f61792dc8b (patch)
tree9b2ef35bc3b07baf238d47a3b5c4ae649f63d74d /basic/CppunitTest_basic_vba.mk
parent12b6382ee9cd8f60ca0f1070940058b80cfcf706 (diff)
basic: make the makefile a bit nicer
Change-Id: Ib606c0a9c84b35f4ab4b10dd7dc4dd82e85fcb71
Diffstat (limited to 'basic/CppunitTest_basic_vba.mk')
-rw-r--r--basic/CppunitTest_basic_vba.mk15
1 files changed, 5 insertions, 10 deletions
diff --git a/basic/CppunitTest_basic_vba.mk b/basic/CppunitTest_basic_vba.mk
index b34318604923..8b8d7adba89f 100644
--- a/basic/CppunitTest_basic_vba.mk
+++ b/basic/CppunitTest_basic_vba.mk
@@ -57,16 +57,11 @@ $(eval $(call gb_CppunitTest_use_api,basic_vba,\
$(eval $(call gb_CppunitTest_use_ure,basic_vba))
-ifeq ($(OS),WNT)
-$(eval $(call gb_CppunitTest_use_components,basic_vba,\
- configmgr/source/configmgr \
- i18npool/util/i18npool \
- extensions/source/ole/oleautobridge \
-))
-else
$(eval $(call gb_CppunitTest_use_components,basic_vba,\
- configmgr/source/configmgr \
- i18npool/util/i18npool \
+ configmgr/source/configmgr \
+ i18npool/util/i18npool \
+ $(if $(filter $(OS),WNT), \
+ extensions/source/ole/oleautobridge) \
))
-endif
+
$(eval $(call gb_CppunitTest_use_configuration,basic_vba))