merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / update / check / makefile.mk
blob9f5f544102dd1b150c848b55c43155be00ddc97c
1 #*************************************************************************
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 #
5 # Copyright 2000, 2010 Oracle and/or its affiliates.
7 # OpenOffice.org - a multi-platform office productivity suite
9 # This file is part of OpenOffice.org.
11 # OpenOffice.org is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU Lesser General Public License version 3
13 # only, as published by the Free Software Foundation.
15 # OpenOffice.org is distributed in the hope that it will be useful,
16 # but WITHOUT ANY WARRANTY; without even the implied warranty of
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 # GNU Lesser General Public License version 3 for more details
19 # (a copy is included in the LICENSE file that accompanied this code).
21 # You should have received a copy of the GNU Lesser General Public License
22 # version 3 along with OpenOffice.org. If not, see
23 # <http://www.openoffice.org/license.html>
24 # for a copy of the LGPLv3 License.
26 #*************************************************************************
27 PRJ=..$/..$/..
29 PRJNAME=extensions
30 TARGET=updchk
31 PACKAGE=org.openoffice.Office
33 LIBTARGET=NO
34 ENABLE_EXCEPTIONS=TRUE
36 ABSXCSROOT=$(SOLARXMLDIR)
37 XCSROOT=..
38 DTDDIR=$(ABSXCSROOT)
39 XSLDIR=$(ABSXCSROOT)$/processing
40 PROCESSOUT=$(MISC)$/$(TARGET)
41 PROCESSORDIR=$(SOLARBINDIR)
43 # no validation by inspector class
44 NO_INSPECTION=TRUE
46 # --- Settings ---
48 .INCLUDE : settings.mk
50 # no "lib" prefix
51 DLLPRE =
53 # --- Files ---
55 SRS2NAME=$(TARGET)
56 SRC2FILES=\
57 updatehdl.src
59 RESLIB2NAME=upd
60 RESLIB2SRSFILES= $(SRS)$/updchk.srs
61 RESLIB2DEPN= updatehdl.src updatehdl.hrc
63 SLOFILES=\
64 $(SLO)$/download.obj \
65 $(SLO)$/updatecheck.obj \
66 $(SLO)$/updatecheckjob.obj \
67 $(SLO)$/updatecheckconfig.obj \
68 $(SLO)$/updateprotocol.obj \
69 $(SLO)$/updatehdl.obj
71 SHL1NOCHECK=TRUE
72 SHL1TARGET=$(TARGET).uno
73 SHL1OBJS=$(SLOFILES)
74 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
76 SHL1IMPLIB=i$(SHL1TARGET)
77 SHL1STDLIBS= \
78 $(CPPUHELPERLIB) \
79 $(CPPULIB) \
80 $(CURLLIB) \
81 $(SALLIB) \
82 $(SHELL32LIB) \
83 $(OLE32LIB)
85 SHL1VERSIONMAP=$(SOLARENV)/src/component.map
86 SHL1DEF=$(MISC)$/$(SHL1TARGET).def
87 DEF1NAME=$(SHL1TARGET)
89 PACKAGEDIR=$(subst,.,$/ $(PACKAGE))
90 SPOOLDIR=$(MISC)$/registry$/spool
92 XCUFILES= \
93 Addons.xcu \
94 Jobs.xcu
96 MYXCUFILES= \
97 $(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu \
98 $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu
100 LOCALIZEDFILES= \
101 Addons.xcu \
102 Jobs.xcu
104 .IF "$(test)" != ""
105 APP1TARGET=updateprotocoltest
106 APP1STDLIBS= $(SHL1STDLIBS)
107 APP1OBJS= \
108 $(SLO)$/updateprotocol.obj \
109 $(SLO)$/updateprotocoltest.obj
112 .ENDIF # "$(test)" != ""
114 # --- Targets ---
116 .INCLUDE : target.mk
118 ALLTAR : $(MYXCUFILES)
120 .IF "$(WITH_LANG)"!=""
121 XCU_SOURCEDIR:=$(PROCESSOUT)$/merge$/$(PACKAGEDIR)
122 .ELSE # "$(WITH_LANG)"!=""
123 XCU_SOURCEDIR:=.
124 .ENDIF # "$(WITH_LANG)"!=""
126 $(SPOOLDIR)$/$(PACKAGEDIR)$/Addons$/Addons-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Addons.xcu
127 @-$(MKDIRHIER) $(@:d)
128 @$(COPY) $< $@
130 $(SPOOLDIR)$/$(PACKAGEDIR)$/Jobs$/Jobs-onlineupdate.xcu : $(XCU_SOURCEDIR)$/Jobs.xcu
131 @-$(MKDIRHIER) $(@:d)
132 @$(COPY) $< $@
133 # @$(PERL) transform.pl < $< > $@