1*8809db7aSAndrew Rist#************************************************************** 2*8809db7aSAndrew Rist# 3*8809db7aSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 4*8809db7aSAndrew Rist# or more contributor license agreements. See the NOTICE file 5*8809db7aSAndrew Rist# distributed with this work for additional information 6*8809db7aSAndrew Rist# regarding copyright ownership. The ASF licenses this file 7*8809db7aSAndrew Rist# to you under the Apache License, Version 2.0 (the 8*8809db7aSAndrew Rist# "License"); you may not use this file except in compliance 9*8809db7aSAndrew Rist# with the License. You may obtain a copy of the License at 10*8809db7aSAndrew Rist# 11*8809db7aSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 12*8809db7aSAndrew Rist# 13*8809db7aSAndrew Rist# Unless required by applicable law or agreed to in writing, 14*8809db7aSAndrew Rist# software distributed under the License is distributed on an 15*8809db7aSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*8809db7aSAndrew Rist# KIND, either express or implied. See the License for the 17*8809db7aSAndrew Rist# specific language governing permissions and limitations 18*8809db7aSAndrew Rist# under the License. 19*8809db7aSAndrew Rist# 20*8809db7aSAndrew Rist#************************************************************** 21cdf0e10cSrcweirPRJ=.. 22cdf0e10cSrcweirPRJNAME=l10n 23cdf0e10cSrcweirTARGET=l10n_merge 24cdf0e10cSrcweir 25cdf0e10cSrcweir# --- Targets ------------------------------------------------------ 26cdf0e10cSrcweir.INCLUDE : settings.mk 27cdf0e10cSrcweir 28cdf0e10cSrcweir.IF "$(WITH_LANG)" == "" 29cdf0e10cSrcweir 30cdf0e10cSrcweir@all: 31cdf0e10cSrcweir @echo "Nothing to do - en-US only build." 32cdf0e10cSrcweir.ELSE 33cdf0e10cSrcweir 34cdf0e10cSrcweirall_sdfs:=$(shell cd $(PRJ)/source && ls -1 */localize.sdf) 35cdf0e10cSrcweir 36cdf0e10cSrcweir.INCLUDE .IGNORE : $(COMMONMISC)/sdf/lock.mk 37cdf0e10cSrcweir 38cdf0e10cSrcweir.INCLUDE : target.mk 39cdf0e10cSrcweir 40cdf0e10cSrcweirALLTAR : $(COMMONMISC)/merge.done 41cdf0e10cSrcweir 42cdf0e10cSrcweir$(COMMONMISC)/merge.done : $(all_sdfs) 43cdf0e10cSrcweir.IF "$(L10N_LOCK)" != "YES" 44cdf0e10cSrcweir $(IFEXIST) $(COMMONMISC)/sdf $(THEN) $(RENAME) $(COMMONMISC)/sdf $(COMMONMISC)/sdf$(INPATH)_begone $(FI) 45cdf0e10cSrcweir -rm -rf $(COMMONMISC)/sdf$(INPATH)_begone 46cdf0e10cSrcweir -$(MKDIRHIER) $(COMMONMISC)/sdf 47cdf0e10cSrcweir.ENDIF # "$(L10n_LOCK)" != "YES" 48cdf0e10cSrcweir $(PERL) $(SOLARVER)/$(INPATH)/bin$(UPDMINOREXT)/fast_merge.pl -sdf_files $(mktmp $<) -merge_dir $(COMMONMISC)/sdf && $(TOUCH) $@ 49cdf0e10cSrcweir $(COPY) $(PRJ)/localization_present.mk $(PRJ)/$(COMMON_OUTDIR)$(PROEXT)/inc 50cdf0e10cSrcweir.ENDIF 51