xref: /AOO41X/main/writerfilter/unocomponent/makefile.mk (revision 707fc0d4d52eb4f69d89a98ffec6918ca5de6326)
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
23TARGET=writerfilter.uno
24LIBTARGET=NO
25ENABLE_EXCEPTIONS=TRUE
26
27# --- Settings -----------------------------------------------------
28
29.INCLUDE :  settings.mk
30
31CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
32
33# --- Files --------------------------------------------------------
34
35SLOFILES=$(SLO)$/component.obj
36
37SHL1TARGET=$(TARGET)
38
39.IF "$(GUI)"=="UNX" || "$(GUI)"=="MAC"
40DOCTOKLIB=-ldoctok
41OOXMLLIB=-looxml
42RESOURCEMODELLIB=-lresourcemodel
43.ELIF "$(GUI)"=="OS2"
44DOCTOKLIB=$(LB)$/idoctok.lib
45OOXMLLIB=$(LB)$/iooxml.lib
46RESOURCEMODELLIB=$(LB)$/iresourcemodel.lib
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