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