1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20#************************************************************** 21 22 23 24PRJ=..$/.. 25PRJNAME=swext 26TARGET=mediawiki 27GEN_HID=FALSE 28 29ENABLE_EXCEPTIONS=TRUE 30 31# --- Settings ---------------------------------- 32 33.INCLUDE : settings.mk 34 35DESCRIPTION:=$(MISC)$/$(TARGET)$/description.xml 36 37# .IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" 38# PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/license_$i) 39# .ELSE 40PACKLICS:=$(foreach,i,$(alllangiso) $(MISC)$/$(TARGET)$/license$/LICENSE_$i) 41# .ENDIF 42 43common_build_zip= 44 45.INCLUDE : target.mk 46 47.IF "$(GUI)" == "WIN" || "$(GUI)" == "WNT" 48$(PACKLICS) : $(SOLARBINDIR)$/osl$/license$$(@:b:s/_/./:e:s/./_/)$$(@:e).txt 49 @@-$(MKDIRHIER) $(@:d) 50 $(GNUCOPY) $< $@ 51.ELSE 52$(PACKLICS) : $(SOLARBINDIR)$/osl$/LICENSE$$(@:b:s/_/./:e:s/./_/)$$(@:e) 53 @@-$(MKDIRHIER) $(@:d) 54 $(GNUCOPY) $< $@ 55.ENDIF 56 57ALLTAR: $(PACKLICS) $(DESCRIPTION) 58 59.INCLUDE .IGNORE : $(MISC)$/$(TARGET)_lang_track.mk 60.IF "$(LAST_WITH_LANG)"!="$(WITH_LANG)" 61PHONYDESC=.PHONY 62.ENDIF # "$(LAST_WITH_LANG)"!="$(WITH_LANG)" 63$(DESCRIPTION) $(PHONYDESC) : $$(@:f) 64 @@-$(MKDIRHIER) $(@:d) 65 $(PERL) $(SOLARENV)$/bin$/licinserter.pl description.xml license/LICENSE_xxx $@ 66 @echo LAST_WITH_LANG=$(WITH_LANG) > $(MISC)$/$(TARGET)_lang_track.mk 67