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