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 = desktop 26TARGET = test_deployment_boxt 27 28ENABLE_EXCEPTIONS = TRUE 29 30.INCLUDE: settings.mk 31.INCLUDE: rtlbootstrap.mk 32.INCLUDE: versionlist.mk 33 34my_version = $(OOOBASEVERSIONMAJOR).$(OOOBASEVERSIONMINOR) 35 36DLLPRE = 37 38SLOFILES = $(SHL1OBJS) 39 40SHL1TARGET = boxt.uno 41SHL1OBJS = $(SLO)/boxt.obj 42SHL1RPATH = BOXT 43SHL1STDLIBS = \ 44 $(CPPUHELPERLIB) $(CPPULIB) $(MSFILTERLIB) $(SALLIB) $(TOOLSLIB) $(VCLLIB) 45SHL1VERSIONMAP = $(SOLARENV)/src/reg-component.map 46DEF1NAME = $(SHL1TARGET) 47 48.INCLUDE: target.mk 49 50ALLTAR : $(MISC)/boxt.oxt 51 52$(MISC)/boxt.oxt .ERRREMOVE : manifest.xml description.xml Addons.xcu \ 53 ProtocolHandler.xcu $(SHL1TARGETN) 54 $(RM) -r $@ $(MISC)/$(TARGET).zip 55 $(MKDIR) $(MISC)/$(TARGET).zip 56 $(MKDIR) $(MISC)/$(TARGET).zip/META-INF 57 $(SED) -e 's|@PATH@|$(SHL1TARGETN:f)|g' < manifest.xml \ 58 > $(MISC)/$(TARGET).zip/META-INF/manifest.xml 59 $(SED) -e 's|@PLATFORM@|$(RTL_OS:l)_$(RTL_ARCH:l)|g' \ 60 -e 's|@VERSION@|$(my_version)|g' < description.xml \ 61 > $(MISC)/$(TARGET).zip/description.xml 62 $(COPY) Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN) $(MISC)/$(TARGET).zip 63 cd $(MISC)/$(TARGET).zip && zip ../boxt.oxt META-INF/manifest.xml \ 64 description.xml Addons.xcu ProtocolHandler.xcu $(SHL1TARGETN:f) 65