summaryrefslogtreecommitdiff
path: root/basegfx/test/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'basegfx/test/makefile.mk')
-rw-r--r--basegfx/test/makefile.mk10
1 files changed, 7 insertions, 3 deletions
diff --git a/basegfx/test/makefile.mk b/basegfx/test/makefile.mk
index e71153f46219..4dfe4259e49e 100644
--- a/basegfx/test/makefile.mk
+++ b/basegfx/test/makefile.mk
@@ -36,12 +36,16 @@ ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
-.IF "$(GUI)" == "OS2"
+.IF "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
@all:
+.IF "$(GUI)" == "OS2"
@echo "Skipping, cppunit broken."
+.ELIF "$(WITH_CPPUNIT)" != "YES"
+ @echo "cppunit disabled. nothing do do."
+.END
-.ELSE
+.ELSE # "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
#building with stlport, but cppunit was not built with stlport
.IF "$(USE_SYSTEM_STL)"!="YES"
@@ -86,7 +90,7 @@ SLOFILES=$(SHL1OBJS)
# --- Targets ------------------------------------------------------
-.ENDIF # "$(GUI)" == "OS2"
+.ENDIF # "$(WITH_CPPUNIT)" != "YES" || "$(GUI)" == "OS2"
.INCLUDE : target.mk
.INCLUDE : _cppunit.mk