xref: /AOO41X/main/writerfilter/util/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
24ENABLE_EXCEPTIONS=TRUE
25
26# --- Settings -----------------------------------------------------
27
28.INCLUDE :  settings.mk
29
30CDEFS+=-DWRITERFILTER_DLLIMPLEMENTATION
31
32# --- Files --------------------------------------------------------
33
34LIB1TARGET=$(SLB)$/$(TARGET).lib
35LIB1FILES=  \
36    $(SLB)$/ooxml.lib \
37    $(SLB)$/doctok.lib \
38    $(SLB)$/resourcemodel.lib \
39    $(SLB)$/dmapper.lib \
40    $(SLB)$/filter.lib
41
42SHL1LIBS=$(SLB)$/$(TARGET).lib
43
44
45SHL1TARGET=$(TARGET)$(DLLPOSTFIX)
46SHL1STDLIBS=\
47    $(I18NISOLANGLIB) \
48    $(I18NPAPERLIB) \
49    $(SOTLIB) \
50    $(TOOLSLIB) \
51    $(UNOTOOLSLIB) \
52    $(CPPUHELPERLIB)    \
53    $(COMPHELPERLIB)    \
54    $(CPPULIB)          \
55    $(SALLIB)           \
56    $(OOXLIB)
57
58
59SHL1DEPN=
60SHL1IMPLIB= i$(SHL1TARGET)
61SHL1DEF=    $(MISC)$/$(SHL1TARGET).def
62SHL1VERSIONMAP=$(SOLARENV)/src/component.map
63
64DEF1NAME=$(SHL1TARGET)
65
66
67# --- Targets ------------------------------------------------------
68
69.INCLUDE :  target.mk
70
71ALLTAR : $(MISC)/writerfilter.component
72
73$(MISC)/writerfilter.component .ERRREMOVE : \
74        $(SOLARENV)/bin/createcomponent.xslt writerfilter.component
75    $(XSLTPROC) --nonet --stringparam uri \
76        '$(COMPONENTPREFIX_BASIS_NATIVE)$(SHL1TARGETN:f)' -o $@ \
77        $(SOLARENV)/bin/createcomponent.xslt writerfilter.component
78