1#**************************************************************
2#
3#  Licensed to the Apache Software Foundation (ASF) under one
4#  or more contributor license agreements.  See the NOTICE file
5#  distributed with this work for additional information
6#  regarding copyright ownership.  The ASF licenses this file
7#  to you under the Apache License, Version 2.0 (the
8#  "License"); you may not use this file except in compliance
9#  with the License.  You may obtain a copy of the License at
10#
11#    http://www.apache.org/licenses/LICENSE-2.0
12#
13#  Unless required by applicable law or agreed to in writing,
14#  software distributed under the License is distributed on an
15#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16#  KIND, either express or implied.  See the License for the
17#  specific language governing permissions and limitations
18#  under the License.
19#
20#**************************************************************
21
22
23PRJ=..$/..$/..
24
25PRJNAME=extensions
26TARGET=updchkui
27
28LIBTARGET=NO
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings ---
32
33.INCLUDE : settings.mk
34
35# --- Files ---
36
37SLOFILES=\
38	$(SLO)$/updatecheckui.obj
39
40SRS1NAME=$(TARGET)
41SRC1FILES=\
42	updatecheckui.src
43
44RESLIB1NAME=updchk
45RESLIB1IMAGES=$(PRJ)$/source$/update$/ui
46RESLIB1SRSFILES= $(SRS)$/updchkui.srs
47RESLIB1DEPN= updatecheckui.src updatecheckui.hrc
48
49SHL1NOCHECK=TRUE
50SHL1TARGET=updchk$(DLLPOSTFIX)
51SHL1OBJS=$(SLOFILES)
52SHL1DEF=$(MISC)$/$(SHL1TARGET).def
53
54SHL1IMPLIB=i$(SHL1TARGET)
55SHL1STDLIBS=    \
56        $(COMPHELPERLIB) \
57        $(CPPUHELPERLIB) \
58        $(CPPULIB) \
59        $(SALLIB) \
60        $(VCLLIB) \
61        $(TOOLSLIB)
62
63SHL1VERSIONMAP=$(SOLARENV)/src/component.map
64SHL1DEF=$(MISC)$/$(SHL1TARGET).def
65DEF1NAME=$(SHL1TARGET)
66
67# --- Targets ---
68
69.INCLUDE : target.mk
70
71
72ALLTAR : $(MISC)/updchk.component
73
74$(MISC)/updchk.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
75        updchk.component
76    $(XSLTPROC) --nonet --stringparam uri \
77        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
78        $(SOLARENV)/bin/createcomponent.xslt updchk.component
79