summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-15 19:26:53 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-15 19:26:53 +0300
commit73a15b7576fcd831aca08decdba15e8e6fa72536 (patch)
tree4c23d6fb3745c4b50a38bd92d971544ffda1385f /l10ntools
parent851b841094c6aeddbd85e8a56ea4fb8aee81844b (diff)
Don't do anything here when cross-compiling
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/layout/makefile.mk5
-rw-r--r--l10ntools/source/filter/merge/makefile.mk5
-rw-r--r--l10ntools/source/filter/utils/makefile.mk5
-rw-r--r--l10ntools/source/help/makefile.mk6
-rw-r--r--l10ntools/source/makefile.mk5
5 files changed, 26 insertions, 0 deletions
diff --git a/l10ntools/layout/makefile.mk b/l10ntools/layout/makefile.mk
index dee3c6e81b33..c977cba441cf 100644
--- a/l10ntools/layout/makefile.mk
+++ b/l10ntools/layout/makefile.mk
@@ -40,6 +40,11 @@ ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
+.IF "$(CROSS_COMPILING)" == "YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
.IF "$(SYSTEM_EXPAT)" == "YES"
CFLAGS+=-DSYSTEM_EXPAT
.ENDIF
diff --git a/l10ntools/source/filter/merge/makefile.mk b/l10ntools/source/filter/merge/makefile.mk
index 8ef73debd743..cc9efd9118e6 100644
--- a/l10ntools/source/filter/merge/makefile.mk
+++ b/l10ntools/source/filter/merge/makefile.mk
@@ -34,6 +34,11 @@ PACKAGE = com$/sun$/star$/filter$/config$/tools$/merge
.INCLUDE: settings.mk
+.IF "$(CROSS_COMPILING)" == "YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
#----- compile .java files -----------------------------------------
OWNCOPY = \
diff --git a/l10ntools/source/filter/utils/makefile.mk b/l10ntools/source/filter/utils/makefile.mk
index 43a28d57ee9e..ca92f4b1b515 100644
--- a/l10ntools/source/filter/utils/makefile.mk
+++ b/l10ntools/source/filter/utils/makefile.mk
@@ -34,6 +34,11 @@ PACKAGE = com$/sun$/star$/filter$/config$/tools$/utils
.INCLUDE: settings.mk
+.IF "$(CROSS_COMPILING)" == "YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
#----- compile .java files -----------------------------------------
diff --git a/l10ntools/source/help/makefile.mk b/l10ntools/source/help/makefile.mk
index 3fd6879a9989..d79194e10c29 100644
--- a/l10ntools/source/help/makefile.mk
+++ b/l10ntools/source/help/makefile.mk
@@ -35,6 +35,12 @@ TARGETTYPE=CUI
# --- Settings -----------------------------------------------------
.INCLUDE : settings.mk
+
+.IF "$(CROSS_COMPILING)" == "YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
.INCLUDE : helplinker.pmk
.IF "$(SYSTEM_LIBXSLT)" == "YES"
diff --git a/l10ntools/source/makefile.mk b/l10ntools/source/makefile.mk
index 86bcea3cbd0e..b581c463f352 100644
--- a/l10ntools/source/makefile.mk
+++ b/l10ntools/source/makefile.mk
@@ -40,6 +40,11 @@ ENABLE_EXCEPTIONS=TRUE
.INCLUDE : settings.mk
+.IF "$(CROSS_COMPILING)" == "YES"
+all:
+ @echo Nothing done when cross-compiling
+.ENDIF
+
CDEFS+= -DYY_NEVER_INTERACTIVE=1
.IF "$(SYSTEM_EXPAT)" == "YES"