1#*************************************************************************
2#
3# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4#
5# Copyright 2000, 2010 Oracle and/or its affiliates.
6#
7# OpenOffice.org - a multi-platform office productivity suite
8#
9# This file is part of OpenOffice.org.
10#
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.
14#
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).
20#
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.
25#
26#*************************************************************************
27PRJ=..$/..$/..
28
29PRJNAME=extensions
30TARGET=updchkui
31
32LIBTARGET=NO
33ENABLE_EXCEPTIONS=TRUE
34
35# --- Settings ---
36
37.INCLUDE : settings.mk
38
39# --- Files ---
40
41SLOFILES=\
42	$(SLO)$/updatecheckui.obj
43
44SRS1NAME=$(TARGET)
45SRC1FILES=\
46	updatecheckui.src
47
48RESLIB1NAME=updchk
49RESLIB1IMAGES=$(PRJ)$/source$/update$/ui
50RESLIB1SRSFILES= $(SRS)$/updchkui.srs
51RESLIB1DEPN= updatecheckui.src updatecheckui.hrc
52
53SHL1NOCHECK=TRUE
54SHL1TARGET=updchk$(DLLPOSTFIX)
55SHL1OBJS=$(SLOFILES)
56SHL1DEF=$(MISC)$/$(SHL1TARGET).def
57
58SHL1IMPLIB=i$(SHL1TARGET)
59SHL1STDLIBS=    \
60        $(COMPHELPERLIB) \
61        $(CPPUHELPERLIB) \
62        $(CPPULIB) \
63        $(SALLIB) \
64        $(VCLLIB) \
65        $(TOOLSLIB)
66
67SHL1VERSIONMAP=$(SOLARENV)/src/component.map
68SHL1DEF=$(MISC)$/$(SHL1TARGET).def
69DEF1NAME=$(SHL1TARGET)
70
71# --- Targets ---
72
73.INCLUDE : target.mk
74
75
76ALLTAR : $(MISC)/updchk.component
77
78$(MISC)/updchk.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
79        updchk.component
80    $(XSLTPROC) --nonet --stringparam uri \
81        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
82        $(SOLARENV)/bin/createcomponent.xslt updchk.component
83