17871dc3eSAndrew Rist#************************************************************** 27871dc3eSAndrew Rist# 37871dc3eSAndrew Rist# Licensed to the Apache Software Foundation (ASF) under one 47871dc3eSAndrew Rist# or more contributor license agreements. See the NOTICE file 57871dc3eSAndrew Rist# distributed with this work for additional information 67871dc3eSAndrew Rist# regarding copyright ownership. The ASF licenses this file 77871dc3eSAndrew Rist# to you under the Apache License, Version 2.0 (the 87871dc3eSAndrew Rist# "License"); you may not use this file except in compliance 97871dc3eSAndrew Rist# with the License. You may obtain a copy of the License at 107871dc3eSAndrew Rist# 117871dc3eSAndrew Rist# http://www.apache.org/licenses/LICENSE-2.0 127871dc3eSAndrew Rist# 137871dc3eSAndrew Rist# Unless required by applicable law or agreed to in writing, 147871dc3eSAndrew Rist# software distributed under the License is distributed on an 157871dc3eSAndrew Rist# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 167871dc3eSAndrew Rist# KIND, either express or implied. See the License for the 177871dc3eSAndrew Rist# specific language governing permissions and limitations 187871dc3eSAndrew Rist# under the License. 197871dc3eSAndrew Rist# 207871dc3eSAndrew Rist#************************************************************** 217871dc3eSAndrew Rist 227871dc3eSAndrew Rist 23cdf0e10cSrcweirPRJ=..$/..$/.. 24cdf0e10cSrcweir 25cdf0e10cSrcweirPRJNAME=extensions 26cdf0e10cSrcweirTARGET=updchk 27cdf0e10cSrcweirPACKAGE=org.openoffice.Office 28cdf0e10cSrcweir 29cdf0e10cSrcweirLIBTARGET=NO 30cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 31cdf0e10cSrcweir 32cdf0e10cSrcweirABSXCSROOT=$(SOLARXMLDIR) 33cdf0e10cSrcweirXCSROOT=.. 34cdf0e10cSrcweirDTDDIR=$(ABSXCSROOT) 35cdf0e10cSrcweirXSLDIR=$(ABSXCSROOT)$/processing 36cdf0e10cSrcweirPROCESSOUT=$(MISC)$/$(TARGET) 37cdf0e10cSrcweirPROCESSORDIR=$(SOLARBINDIR) 38cdf0e10cSrcweir 39cdf0e10cSrcweir# no validation by inspector class 40cdf0e10cSrcweirNO_INSPECTION=TRUE 41cdf0e10cSrcweir 42cdf0e10cSrcweir# --- Settings --- 43cdf0e10cSrcweir 44cdf0e10cSrcweir.INCLUDE : settings.mk 45cdf0e10cSrcweir 46cdf0e10cSrcweir# no "lib" prefix 47cdf0e10cSrcweirDLLPRE = 48cdf0e10cSrcweir 49cdf0e10cSrcweir# --- Files --- 50cdf0e10cSrcweir 51cdf0e10cSrcweirSRS2NAME=$(TARGET) 52cdf0e10cSrcweirSRC2FILES=\ 53cdf0e10cSrcweir updatehdl.src 54cdf0e10cSrcweir 55cdf0e10cSrcweirRESLIB2NAME=upd 56cdf0e10cSrcweirRESLIB2SRSFILES= $(SRS)$/updchk.srs 57cdf0e10cSrcweirRESLIB2DEPN= updatehdl.src updatehdl.hrc 58cdf0e10cSrcweir 59cdf0e10cSrcweirSLOFILES=\ 60cdf0e10cSrcweir $(SLO)$/download.obj \ 61cdf0e10cSrcweir $(SLO)$/updatecheck.obj \ 62cdf0e10cSrcweir $(SLO)$/updatecheckjob.obj \ 63cdf0e10cSrcweir $(SLO)$/updatecheckconfig.obj \ 64cdf0e10cSrcweir $(SLO)$/updateprotocol.obj \ 65cdf0e10cSrcweir $(SLO)$/updatehdl.obj 66cdf0e10cSrcweir 67cdf0e10cSrcweirSHL1NOCHECK=TRUE 68*73c96003SYuri Dario.IF "$(GUI)" == "OS2" 69*73c96003SYuri DarioSHL1TARGET=updchkun 70*73c96003SYuri Dario.ELSE 71cdf0e10cSrcweirSHL1TARGET=$(TARGET).uno 72*73c96003SYuri Dario.ENDIF 73cdf0e10cSrcweirSHL1OBJS=$(SLOFILES) 74cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 75cdf0e10cSrcweir 76cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET) 77cdf0e10cSrcweirSHL1STDLIBS= \ 78cdf0e10cSrcweir $(CPPUHELPERLIB) \ 79cdf0e10cSrcweir $(CPPULIB) \ 80cdf0e10cSrcweir $(CURLLIB) \ 81cdf0e10cSrcweir $(SALLIB) \ 82cdf0e10cSrcweir $(SHELL32LIB) \ 83cdf0e10cSrcweir $(OLE32LIB) 84cdf0e10cSrcweir 85cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map 86cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 87cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 88cdf0e10cSrcweir 89cdf0e10cSrcweirPACKAGEDIR=$(subst,.,$/ $(PACKAGE)) 90cdf0e10cSrcweirSPOOLDIR=$(MISC)$/registry$/spool 91cdf0e10cSrcweir 92cdf0e10cSrcweirXCUFILES= \ 93cdf0e10cSrcweir Addons.xcu \ 94cdf0e10cSrcweir Jobs.xcu 95cdf0e10cSrcweir 96cdf0e10cSrcweirMYXCUFILES= \ 97cdf0e10cSrcweir $(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu \ 98cdf0e10cSrcweir $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu 99cdf0e10cSrcweir 100cdf0e10cSrcweirLOCALIZEDFILES= \ 101cdf0e10cSrcweir Addons.xcu \ 102cdf0e10cSrcweir Jobs.xcu 103cdf0e10cSrcweir 104cdf0e10cSrcweir.IF "$(test)" != "" 105cdf0e10cSrcweirAPP1TARGET=updateprotocoltest 106cdf0e10cSrcweirAPP1STDLIBS= $(SHL1STDLIBS) 107cdf0e10cSrcweirAPP1OBJS= \ 108cdf0e10cSrcweir $(SLO)$/updateprotocol.obj \ 109cdf0e10cSrcweir $(SLO)$/updateprotocoltest.obj 110cdf0e10cSrcweir 111cdf0e10cSrcweir 112cdf0e10cSrcweir.ENDIF # "$(test)" != "" 113cdf0e10cSrcweir 114cdf0e10cSrcweir# --- Targets --- 115cdf0e10cSrcweir 116cdf0e10cSrcweir.INCLUDE : target.mk 117cdf0e10cSrcweir 118cdf0e10cSrcweirALLTAR : $(MYXCUFILES) 119cdf0e10cSrcweir 120cdf0e10cSrcweir.IF "$(WITH_LANG)"!="" 121cdf0e10cSrcweirXCU_SOURCEDIR:=$(PROCESSOUT)$/merge$/$(PACKAGEDIR) 122cdf0e10cSrcweir.ELSE # "$(WITH_LANG)"!="" 123cdf0e10cSrcweirXCU_SOURCEDIR:=. 124cdf0e10cSrcweir.ENDIF # "$(WITH_LANG)"!="" 125cdf0e10cSrcweir 126cdf0e10cSrcweir$(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Addons.xcu 127cdf0e10cSrcweir @-$(MKDIRHIER) $(@:d) 128cdf0e10cSrcweir @$(COPY) $< $@ 129cdf0e10cSrcweir 130cdf0e10cSrcweir$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu 131cdf0e10cSrcweir @-$(MKDIRHIER) $(@:d) 132cdf0e10cSrcweir @$(COPY) $< $@ 133cdf0e10cSrcweir# @$(PERL) transform.pl < $< > $@ 134cdf0e10cSrcweir 135cdf0e10cSrcweir 136cdf0e10cSrcweirALLTAR : $(MISC)/updchk.uno.component 137cdf0e10cSrcweir 138cdf0e10cSrcweir$(MISC)/updchk.uno.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 139cdf0e10cSrcweir updchk.uno.component 140cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam uri \ 141cdf0e10cSrcweir '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 142cdf0e10cSrcweir $(SOLARENV)/bin/createcomponent.xslt updchk.uno.component 143