1*cdf0e10cSrcweir#************************************************************************* 2*cdf0e10cSrcweir# 3*cdf0e10cSrcweir# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir# 5*cdf0e10cSrcweir# Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir# 7*cdf0e10cSrcweir# OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir# 9*cdf0e10cSrcweir# This file is part of OpenOffice.org. 10*cdf0e10cSrcweir# 11*cdf0e10cSrcweir# OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir# it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir# only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir# 15*cdf0e10cSrcweir# OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir# but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir# GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir# (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir# 21*cdf0e10cSrcweir# You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir# version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir# <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir# for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir# 26*cdf0e10cSrcweir#************************************************************************* 27*cdf0e10cSrcweirPRJ=..$/..$/.. 28*cdf0e10cSrcweir 29*cdf0e10cSrcweirPRJNAME=extensions 30*cdf0e10cSrcweirTARGET=updchk 31*cdf0e10cSrcweirPACKAGE=org.openoffice.Office 32*cdf0e10cSrcweir 33*cdf0e10cSrcweirLIBTARGET=NO 34*cdf0e10cSrcweirENABLE_EXCEPTIONS=TRUE 35*cdf0e10cSrcweir 36*cdf0e10cSrcweirABSXCSROOT=$(SOLARXMLDIR) 37*cdf0e10cSrcweirXCSROOT=.. 38*cdf0e10cSrcweirDTDDIR=$(ABSXCSROOT) 39*cdf0e10cSrcweirXSLDIR=$(ABSXCSROOT)$/processing 40*cdf0e10cSrcweirPROCESSOUT=$(MISC)$/$(TARGET) 41*cdf0e10cSrcweirPROCESSORDIR=$(SOLARBINDIR) 42*cdf0e10cSrcweir 43*cdf0e10cSrcweir# no validation by inspector class 44*cdf0e10cSrcweirNO_INSPECTION=TRUE 45*cdf0e10cSrcweir 46*cdf0e10cSrcweir# --- Settings --- 47*cdf0e10cSrcweir 48*cdf0e10cSrcweir.INCLUDE : settings.mk 49*cdf0e10cSrcweir 50*cdf0e10cSrcweir# no "lib" prefix 51*cdf0e10cSrcweirDLLPRE = 52*cdf0e10cSrcweir 53*cdf0e10cSrcweir# --- Files --- 54*cdf0e10cSrcweir 55*cdf0e10cSrcweirSRS2NAME=$(TARGET) 56*cdf0e10cSrcweirSRC2FILES=\ 57*cdf0e10cSrcweir updatehdl.src 58*cdf0e10cSrcweir 59*cdf0e10cSrcweirRESLIB2NAME=upd 60*cdf0e10cSrcweirRESLIB2SRSFILES= $(SRS)$/updchk.srs 61*cdf0e10cSrcweirRESLIB2DEPN= updatehdl.src updatehdl.hrc 62*cdf0e10cSrcweir 63*cdf0e10cSrcweirSLOFILES=\ 64*cdf0e10cSrcweir $(SLO)$/download.obj \ 65*cdf0e10cSrcweir $(SLO)$/updatecheck.obj \ 66*cdf0e10cSrcweir $(SLO)$/updatecheckjob.obj \ 67*cdf0e10cSrcweir $(SLO)$/updatecheckconfig.obj \ 68*cdf0e10cSrcweir $(SLO)$/updateprotocol.obj \ 69*cdf0e10cSrcweir $(SLO)$/updatehdl.obj 70*cdf0e10cSrcweir 71*cdf0e10cSrcweirSHL1NOCHECK=TRUE 72*cdf0e10cSrcweirSHL1TARGET=$(TARGET).uno 73*cdf0e10cSrcweirSHL1OBJS=$(SLOFILES) 74*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 75*cdf0e10cSrcweir 76*cdf0e10cSrcweirSHL1IMPLIB=i$(SHL1TARGET) 77*cdf0e10cSrcweirSHL1STDLIBS= \ 78*cdf0e10cSrcweir $(CPPUHELPERLIB) \ 79*cdf0e10cSrcweir $(CPPULIB) \ 80*cdf0e10cSrcweir $(CURLLIB) \ 81*cdf0e10cSrcweir $(SALLIB) \ 82*cdf0e10cSrcweir $(SHELL32LIB) \ 83*cdf0e10cSrcweir $(OLE32LIB) 84*cdf0e10cSrcweir 85*cdf0e10cSrcweirSHL1VERSIONMAP=$(SOLARENV)/src/component.map 86*cdf0e10cSrcweirSHL1DEF=$(MISC)$/$(SHL1TARGET).def 87*cdf0e10cSrcweirDEF1NAME=$(SHL1TARGET) 88*cdf0e10cSrcweir 89*cdf0e10cSrcweirPACKAGEDIR=$(subst,.,$/ $(PACKAGE)) 90*cdf0e10cSrcweirSPOOLDIR=$(MISC)$/registry$/spool 91*cdf0e10cSrcweir 92*cdf0e10cSrcweirXCUFILES= \ 93*cdf0e10cSrcweir Addons.xcu \ 94*cdf0e10cSrcweir Jobs.xcu 95*cdf0e10cSrcweir 96*cdf0e10cSrcweirMYXCUFILES= \ 97*cdf0e10cSrcweir $(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu \ 98*cdf0e10cSrcweir $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu 99*cdf0e10cSrcweir 100*cdf0e10cSrcweirLOCALIZEDFILES= \ 101*cdf0e10cSrcweir Addons.xcu \ 102*cdf0e10cSrcweir Jobs.xcu 103*cdf0e10cSrcweir 104*cdf0e10cSrcweir.IF "$(test)" != "" 105*cdf0e10cSrcweirAPP1TARGET=updateprotocoltest 106*cdf0e10cSrcweirAPP1STDLIBS= $(SHL1STDLIBS) 107*cdf0e10cSrcweirAPP1OBJS= \ 108*cdf0e10cSrcweir $(SLO)$/updateprotocol.obj \ 109*cdf0e10cSrcweir $(SLO)$/updateprotocoltest.obj 110*cdf0e10cSrcweir 111*cdf0e10cSrcweir 112*cdf0e10cSrcweir.ENDIF # "$(test)" != "" 113*cdf0e10cSrcweir 114*cdf0e10cSrcweir# --- Targets --- 115*cdf0e10cSrcweir 116*cdf0e10cSrcweir.INCLUDE : target.mk 117*cdf0e10cSrcweir 118*cdf0e10cSrcweirALLTAR : $(MYXCUFILES) 119*cdf0e10cSrcweir 120*cdf0e10cSrcweir.IF "$(WITH_LANG)"!="" 121*cdf0e10cSrcweirXCU_SOURCEDIR:=$(PROCESSOUT)$/merge$/$(PACKAGEDIR) 122*cdf0e10cSrcweir.ELSE # "$(WITH_LANG)"!="" 123*cdf0e10cSrcweirXCU_SOURCEDIR:=. 124*cdf0e10cSrcweir.ENDIF # "$(WITH_LANG)"!="" 125*cdf0e10cSrcweir 126*cdf0e10cSrcweir$(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Addons.xcu 127*cdf0e10cSrcweir @-$(MKDIRHIER) $(@:d) 128*cdf0e10cSrcweir @$(COPY) $< $@ 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir$(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu 131*cdf0e10cSrcweir @-$(MKDIRHIER) $(@:d) 132*cdf0e10cSrcweir @$(COPY) $< $@ 133*cdf0e10cSrcweir# @$(PERL) transform.pl < $< > $@ 134*cdf0e10cSrcweir 135*cdf0e10cSrcweir 136*cdf0e10cSrcweirALLTAR : $(MISC)/updchk.uno.component 137*cdf0e10cSrcweir 138*cdf0e10cSrcweir$(MISC)/updchk.uno.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \ 139*cdf0e10cSrcweir updchk.uno.component 140*cdf0e10cSrcweir $(XSLTPROC) --nonet --stringparam uri \ 141*cdf0e10cSrcweir '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \ 142*cdf0e10cSrcweir $(SOLARENV)/bin/createcomponent.xslt updchk.uno.component 143