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
23
24PRJ=..$/..
25PRJNAME=xmlhelp
26TARGET=tvhlp
27USE_DEFFILE=TRUE
28ENABLE_EXCEPTIONS=TRUE
29NO_BSYMBOLIC=TRUE
30
31# Version
32TVHLP_MAJOR=1
33
34.INCLUDE: settings.mk
35
36.IF "$(SYSTEM_EXPAT)" == "YES"
37CFLAGS+=-DSYSTEM_EXPAT
38.ENDIF
39
40SLOFILES=\
41	$(SLO)$/tvfactory.obj  \
42	$(SLO)$/tvread.obj
43
44LIB1TARGET=$(SLB)$/_$(TARGET).lib
45LIB1OBJFILES=$(SLOFILES)
46
47SHL1TARGET=$(TARGET)$(TVHLP_MAJOR)
48SHL1DEF=$(MISC)$/$(SHL1TARGET).def
49SHL1LIBS=$(LIB1TARGET)
50SHL1IMPLIB=i$(TARGET)
51SHL1STDLIBS=\
52	$(CPPUHELPERLIB) \
53	$(CPPULIB) \
54	$(COMPHELPERLIB)         \
55	$(EXPATASCII3RDLIB)      \
56	$(SALLIB)
57SHL1VERSIONMAP=$(SOLARENV)/src/component.map
58
59DEF1NAME=$(SHL1TARGET)
60DEF1DES=UCB : Treeview help
61
62
63.INCLUDE: target.mk
64
65
66
67ALLTAR : $(MISC)/tvhlp1.component
68
69$(MISC)/tvhlp1.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
70        tvhlp1.component
71    $(XSLTPROC) --nonet --stringparam uri \
72        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
73        $(SOLARENV)/bin/createcomponent.xslt tvhlp1.component
74