summaryrefslogtreecommitdiff
path: root/cpputools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-02-16 13:12:37 +0200
committerTor Lillqvist <tml@iki.fi>2012-02-16 15:25:39 +0200
commit63fabb9d462907c896549c42ba7dea70a4d31ea3 (patch)
treecf2c88de05277879316c26fe393f2f185f1e23af /cpputools
parentb57a1f2f4d693902a1720b5d4e47fa60cfba7ce0 (diff)
Build unoexe as a (static) library for iOS
Diffstat (limited to 'cpputools')
-rwxr-xr-xcpputools/source/unoexe/makefile.mk11
1 files changed, 8 insertions, 3 deletions
diff --git a/cpputools/source/unoexe/makefile.mk b/cpputools/source/unoexe/makefile.mk
index e4317b064891..34cd6ac1467d 100755
--- a/cpputools/source/unoexe/makefile.mk
+++ b/cpputools/source/unoexe/makefile.mk
@@ -28,7 +28,9 @@ PRJ=..$/..
PRJNAME=cpputools
TARGET=uno
+.IF "$(OS)" != "IOS"
LIBTARGET=NO
+.ENDIF
ENABLE_EXCEPTIONS=TRUE
# --- Settings -----------------------------------------------------
@@ -68,12 +70,15 @@ UNOTYPES= \
DEPOBJFILES=$(OBJ)$/unoexe.obj
+.IF "$(OS)" == "IOS"
+LIB1TARGET=$(LB)/$(TARGET).lib
+LIB1ARCHIV=$(LB)/lib$(TARGET).a
+LIB1OBJFILES=$(DEPOBJFILES)
+CFLAGSCXX += $(OBJCXXFLAGS)
+.ELSE
APP1TARGET=$(TARGET)
APP1OBJS=$(DEPOBJFILES)
APP1RPATH=UREBIN
-
-.IF "$(OS)" == "IOS"
-CFLAGSCXX += $(OBJCXXFLAGS)
.ENDIF
# Include all relevant (see ure/source/README) dynamic libraries, so that C++