summaryrefslogtreecommitdiff
path: root/solenv/inc/pstrules.mk
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-10-18 12:55:39 +0000
committerOliver Bolte <obo@openoffice.org>2004-10-18 12:55:39 +0000
commitc62a568ae6dcc6ef373714907f5d1d7f84486742 (patch)
treec2ee91af6703b3217fd306f79f12a428e83f2b41 /solenv/inc/pstrules.mk
parentca0d75b1f2d2da49384e967e5bd823004b74a5ed (diff)
INTEGRATION: CWS langsupporter (1.31.16); FILE MERGED
2004/09/22 06:56:58 obr 1.31.16.1: #i33873# ulf file converter tool
Diffstat (limited to 'solenv/inc/pstrules.mk')
-rw-r--r--solenv/inc/pstrules.mk16
1 files changed, 11 insertions, 5 deletions
diff --git a/solenv/inc/pstrules.mk b/solenv/inc/pstrules.mk
index 15451a1ee0bb..4f7190294c7b 100644
--- a/solenv/inc/pstrules.mk
+++ b/solenv/inc/pstrules.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: pstrules.mk,v $
#
-# $Revision: 1.31 $
+# $Revision: 1.32 $
#
-# last change: $Author: rt $ $Date: 2004-08-23 09:17:24 $
+# last change: $Author: obo $ $Date: 2004-10-18 13:55:39 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -211,6 +211,12 @@ ALLPARFILES=$(uniq $(ULFPARFILES) $(MOREPARFILES))
SCP_PRODUCT_TYPE*=FAT
+.IF "$(GUI)" == "WNT"
+LANGFILEEXT=mlf
+.ELSE
+LANGFILEEXT=jlf
+.ENDIF
+
$(PAR)$/%.par :
@echo ------------------------------
@echo Making: $@
@@ -226,12 +232,12 @@ $(PAR)$/%.par :
.ENDIF
.ENDIF
.IF "$(common_build_srs)"!=""
- +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(TARGET)$/$(@:b).ulf} -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
+ +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l {$(subst,$(OUTPATH),$(COMMON_OUTDIR) $(MISC))$/$(TARGET)$/$(@:b).$(LANGFILEEXT)} -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
.ELSE # "$(common_build_srs)"!=""
- +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l {$(MISC)$/$(@:b).ulf} -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
+ +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l {$(MISC)$/$(@:b).$(LANGFILEEXT)} -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
.ENDIF # "$(common_build_srs)"!=""
# hacked version
-# +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l $(@:b).ulf -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
+# +$(PERL) $(SOLARENV)$/bin$/pre2par.pl -l $(@:b).$(LANGFILEEXT) -s $(MISC)$/{$(subst,$(@:d:d:d), $(@:d:d))}$/$(*:b).pre -o $@
.ENDIF # "$(PARFILES)"!=""