summaryrefslogtreecommitdiff
path: root/sw/Module_sw.mk
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2011-01-26 10:30:19 +0100
committerMathias Bauer <mba@openoffice.org>2011-01-26 10:30:19 +0100
commitf81812464c6504831b8bddaabfe25876a0906488 (patch)
treec54e3b0790f23428b1aba8bc848830a568ec3552 /sw/Module_sw.mk
parentabd28b0352a654d43aeeb6a034370cf265fa93cc (diff)
CWS gnumake3: several clean ups and fixes in makefiles
Diffstat (limited to 'sw/Module_sw.mk')
-rw-r--r--sw/Module_sw.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index c6257e22fc93..5f6c7d9ac3c9 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -33,12 +33,17 @@ $(eval $(call gb_Module_add_targets,sw,\
Library_sw \
Library_swd \
Library_swui \
- Library_vbaswobj \
Package_misc \
Package_uiconfig \
Package_xml \
))
+ifeq ($(strip $(ENABLE_VBA)),YES)
+$(eval $(call gb_Module_add_targets,sw,\
+ Library_vbaswobj \
+))
+endif
+
$(eval $(call gb_Module_add_subsequentcheck_targets,sw,\
JunitTest_sw_complex \
JunitTest_sw_unoapi \