summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-03-29 13:18:23 +0300
committerTor Lillqvist <tml@iki.fi>2012-03-30 08:37:12 +0300
commit677defb67bd3bfc861ea31620fadbb4bff65a06e (patch)
tree86e7b446307f8a67ba993e479adede021ca41081 /io
parente20fa170160e1bb1953ad171e092edfb3de531af (diff)
Don't build and deliver .component files with empty URIs (for iOS)
Diffstat (limited to 'io')
-rw-r--r--io/source/acceptor/makefile.mk15
-rw-r--r--io/source/connector/makefile.mk11
2 files changed, 16 insertions, 10 deletions
diff --git a/io/source/acceptor/makefile.mk b/io/source/acceptor/makefile.mk
index 40d6c023bf38..566c2b5ca51d 100644
--- a/io/source/acceptor/makefile.mk
+++ b/io/source/acceptor/makefile.mk
@@ -68,17 +68,20 @@ SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
-# --- Targets ------------------------------------------------------
-.ENDIF # L10N_framework
-
-.ENDIF
+.ENDIF # IOS
-.INCLUDE : target.mk
+.ENDIF # L10N_framework
-ALLTAR : $(MISC)/acceptor.component
+.IF "$(OS)" != "IOS"
$(MISC)/acceptor.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
acceptor.component
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt acceptor.component
+
+ALLTAR : $(MISC)/acceptor.component
+
+.ENDIF # IOS
+
+.INCLUDE : target.mk
diff --git a/io/source/connector/makefile.mk b/io/source/connector/makefile.mk
index a4844304d031..2470b614eb35 100644
--- a/io/source/connector/makefile.mk
+++ b/io/source/connector/makefile.mk
@@ -68,12 +68,11 @@ SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME= $(SHL1TARGET)
-# --- Targets ------------------------------------------------------
-.ENDIF # L10N_framework
+.ENDIF # IOS
-.ENDIF
+.ENDIF # L10N_framework
-.INCLUDE : target.mk
+.IF "$(OS)" != "IOS"
ALLTAR : $(MISC)/connector.component
@@ -82,3 +81,7 @@ $(MISC)/connector.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
$(XSLTPROC) --nonet --stringparam uri \
'$(COMPONENTPREFIX_URE_NATIVE)$(SHL1TARGETN:f)' -o $@ \
$(SOLARENV)/bin/createcomponent.xslt connector.component
+
+.ENDIF # IOS
+
+.INCLUDE : target.mk