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#**************************************************************
21PRJ=..
22PRJNAME=writerfilter
23.IF "$(GUI)" == "OS2"
24TARGET=wfltuno
25.ELSE
26TARGET=writerfilter.uno
27.ENDIF
28LIBTARGET=NO
29ENABLE_EXCEPTIONS=TRUE
30
31# --- Settings -----------------------------------------------------
32
33.INCLUDE :  settings.mk
34
35CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
36
37# --- Files --------------------------------------------------------
38
39SLOFILES=$(SLO)$/component.obj
40
41SHL1TARGET=$(TARGET)
42
43.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
44DOCTOKLIB=-ldoctok
45OOXMLLIB=-looxml
46RESOURCEMODELLIB=-lresourcemodel
47.ELIF "$(GUI)"=="OS2"
48DOCTOKLIB=$(LB)$/idoctok.lib
49OOXMLLIB=$(LB)$/iooxml.lib
50RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
51.ELIF "$(GUI)"=="WNT"
52.IF "$(COM)"=="GCC"
53DOCTOKLIB=-ldoctok
54OOXMLLIB=-looxml
55RESOURCEMODELLIB=-lresourcemodel
56.ELSE
57DOCTOKLIB=$(LB)$/idoctok.lib
58OOXMLLIB=$(LB)$/iooxml.lib
59RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
60.ENDIF
61.ENDIF
62
63SHL1STDLIBS=$(SALLIB)\
64	$(CPPULIB)\
65	$(COMPHELPERLIB)\
66	$(CPPUHELPERLIB)\
67	$(UCBHELPERLIB)\
68	$(DOCTOKLIB) \
69	$(OOXMLLIB) \
70	$(RESOURCEMODELLIB)
71
72SHL1LIBS=\
73	$(SLB)$/debugservices_doctok.lib \
74	$(SLB)$/debugservices_ooxml.lib
75
76SHL1IMPLIB=i$(SHL1TARGET)
77
78SHL1OBJS = $(SLO)$/component.obj
79
80SHL1DEF=$(MISC)$/$(SHL1TARGET).def
81
82DEF1NAME=$(SHL1TARGET)
83DEF1EXPORTFILE=exports.dxp
84
85# --- Targets ------------------------------------------------------
86
87.INCLUDE :	target.mk
88
89