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" || "$(GUI)"=="OS2"
44DOCTOKLIB=-ldoctok
45OOXMLLIB=-looxml
46RESOURCEMODELLIB=-lresourcemodel
47.ELIF "$(GUI)"=="WNT"
48.IF "$(COM)"=="GCC"
49DOCTOKLIB=-ldoctok
50OOXMLLIB=-looxml
51RESOURCEMODELLIB=-lresourcemodel
52.ELSE
53DOCTOKLIB=$(LB)$/idoctok.lib
54OOXMLLIB=$(LB)$/iooxml.lib
55RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
56.ENDIF
57.ENDIF
58
59SHL1STDLIBS=$(SALLIB)\
60	$(CPPULIB)\
61	$(COMPHELPERLIB)\
62	$(CPPUHELPERLIB)\
63	$(UCBHELPERLIB)\
64	$(DOCTOKLIB) \
65	$(OOXMLLIB) \
66	$(RESOURCEMODELLIB)
67
68SHL1LIBS=\
69	$(SLB)$/debugservices_doctok.lib \
70	$(SLB)$/debugservices_ooxml.lib
71
72SHL1IMPLIB=i$(SHL1TARGET)
73
74SHL1OBJS = $(SLO)$/component.obj
75
76SHL1DEF=$(MISC)$/$(SHL1TARGET).def
77
78DEF1NAME=$(SHL1TARGET)
79DEF1EXPORTFILE=exports.dxp
80
81# --- Targets ------------------------------------------------------
82
83.INCLUDE :	target.mk
84
85