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=filter
26TARGET=xsltdlg
27
28ENABLE_EXCEPTIONS=TRUE
29USE_DEFFILE=TRUE
30#GEN_HID=TRUE
31GEN_HID_OTHER=TRUE
32
33# --- Settings ----------------------------------
34
35.INCLUDE :  	settings.mk
36
37# --- Files -------------------------------------
38
39SRS1NAME=$(TARGET)
40SRC1FILES =	xmlfiltersettingsdialog.src							\
41			xmlfiltertabdialog.src								\
42			xmlfiltertabpagebasic.src							\
43			xmlfiltertabpagexslt.src							\
44			xmlfiltertestdialog.src								\
45			xmlfileview.src										\
46			xmlfilterdialogstrings.src
47
48SLOFILES=	$(SLO)$/typedetectionimport.obj						\
49			$(SLO)$/typedetectionexport.obj						\
50			$(SLO)$/xmlfilterjar.obj							\
51			$(SLO)$/xmlfilterdialogcomponent.obj				\
52			$(SLO)$/xmlfiltersettingsdialog.obj					\
53			$(SLO)$/xmlfiltertabdialog.obj						\
54			$(SLO)$/xmlfiltertabpagebasic.obj					\
55			$(SLO)$/xmlfiltertabpagexslt.obj					\
56			$(SLO)$/xmlfiltertestdialog.obj						\
57			$(SLO)$/xmlfileview.obj
58
59# --- Library -----------------------------------
60
61RESLIB1NAME=$(TARGET)
62RESLIB1SRSFILES= $(SRS)$/$(TARGET).srs
63
64SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
65
66SHL1STDLIBS=\
67	$(SFX2LIB)			\
68	$(SVTOOLLIB)		\
69	$(SVLLIB)			\
70	$(TKLIB)			\
71	$(CPPULIB)			\
72	$(CPPUHELPERLIB)	\
73	$(COMPHELPERLIB)	\
74	$(SALLIB)			\
75	$(TOOLSLIB)			\
76	$(VCLLIB)			\
77	$(UNOTOOLSLIB)		\
78	$(ONELIB)
79
80SHL1DEPN=
81SHL1IMPLIB=	i$(SHL1TARGET)
82SHL1LIBS=	$(SLB)$/$(TARGET).lib
83SHL1DEF=	$(MISC)$/$(SHL1TARGET).def
84
85DEF1NAME=$(SHL1TARGET)
86DEF1EXPORTFILE=exports.dxp
87
88# --- Targets ----------------------------------
89
90.INCLUDE : target.mk
91
92ALLTAR : $(MISC)/xsltdlg.component
93
94$(MISC)/xsltdlg.component .ERRREMOVE : $(SOLARENV)/bin/createcomponent.xslt \
95        xsltdlg.component
96    $(XSLTPROC) --nonet --stringparam uri \
97        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
98        $(SOLARENV)/bin/createcomponent.xslt xsltdlg.component
99