summaryrefslogtreecommitdiff
path: root/i18npool/qa/cppunit/makefile.mk
diff options
context:
space:
mode:
Diffstat (limited to 'i18npool/qa/cppunit/makefile.mk')
-rw-r--r--i18npool/qa/cppunit/makefile.mk15
1 files changed, 11 insertions, 4 deletions
diff --git a/i18npool/qa/cppunit/makefile.mk b/i18npool/qa/cppunit/makefile.mk
index b21d0e98dc4f..b2c905a74681 100644
--- a/i18npool/qa/cppunit/makefile.mk
+++ b/i18npool/qa/cppunit/makefile.mk
@@ -37,12 +37,12 @@ my_components = qa_i18npool
.INCLUDE : settings.mk
-.IF "$(CROSS_COMPILING)"=="YES"
-all:
- @echo Nothing done when cross-compiling
+CFLAGSCXX += $(CPPUNIT_CFLAGS)
+
+.IF "$(OS)" == "IOS"
+CFLAGSCXX += $(OBJCXXFLAGS)
.ENDIF
-CFLAGSCXX += $(CPPUNIT_CFLAGS)
DLLPRE = # no leading "lib" on .so files
# --- Libs ---------------------------------------------------------
@@ -63,6 +63,13 @@ SHL1IMPLIB= i$(SHL1TARGET)
DEF1NAME=$(SHL1TARGET)
SHL1VERSIONMAP= version.map
+.IF "$(OS)" == "IOS"
+APP2OBJS = $(OBJ)/i18npool_cppunittester_all.obj $(SHL1OBJS)
+APP2RPATH = NONE
+APP2STDLIBS = $(SHL1STDLIBS)
+APP2TARGET = i18npool_cppunittester_all
+.ENDIF
+
# --- All object files ---------------------------------------------
SLOFILES= \