xref: /trunk/main/sw/Library_msword.mk (revision 8c84d0613eeaa348d10c2591df582960e5d98cfe)
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
24$(eval $(call gb_Library_Library,msword))
25
26$(eval $(call gb_Library_set_componentfile,msword,sw/util/msword))
27
28$(eval $(call gb_Library_set_include,msword,\
29    -I$(SRCDIR)/sw/source/core/inc \
30    -I$(SRCDIR)/sw/source/ui/inc \
31    -I$(SRCDIR)/sw/source/filter/inc \
32    -I$(SRCDIR)/sw/inc/pch \
33    -I$(SRCDIR)/sw/inc \
34    -I$(WORKDIR)/inc/sw/sdi \
35    -I$(WORKDIR)/Misc/sw/ \
36    $$(INCLUDE) \
37    -I$(OUTDIR)/inc/sw \
38))
39
40$(eval $(call gb_Library_add_api,msword,\
41    udkapi \
42    offapi \
43))
44
45$(eval $(call gb_Library_add_linked_libs,msword,\
46    basegfx \
47    comphelper \
48    cppu \
49    cppuhelper \
50    editeng \
51    i18nisolang1 \
52    i18nutil \
53    msfilter \
54    sal \
55    sfx \
56    sot \
57    stl \
58    svl \
59    svt \
60    svx \
61    svx \
62    svxcore \
63    sw \
64    ootk \
65    tl \
66    ucbhelper \
67    utl \
68    vcl \
69    $(gb_STDLIBS) \
70))
71
72$(call gb_Library_use_external,msword,icuuc)
73
74$(eval $(call gb_Library_add_exception_objects,msword,\
75    sw/source/filter/rtf/rtffld \
76    sw/source/filter/rtf/rtffly \
77    sw/source/filter/rtf/rtfnum \
78    sw/source/filter/rtf/rtftbl \
79    sw/source/filter/rtf/swparrtf \
80    sw/source/filter/ww8/rtfattributeoutput \
81    sw/source/filter/ww8/rtfexport \
82    sw/source/filter/ww8/rtfexportfilter \
83    sw/source/filter/ww8/rtfimportfilter \
84    sw/source/filter/ww8/rtfsdrexport \
85    sw/source/filter/ww8/WW8FFData \
86    sw/source/filter/ww8/WW8FibData \
87    sw/source/filter/ww8/WW8Sttbf \
88    sw/source/filter/ww8/WW8TableInfo \
89    sw/source/filter/ww8/fields \
90    sw/source/filter/ww8/styles \
91    sw/source/filter/ww8/tracer \
92    sw/source/filter/ww8/writerhelper \
93    sw/source/filter/ww8/writerwordglue \
94    sw/source/filter/ww8/wrtw8esh \
95    sw/source/filter/ww8/wrtw8nds \
96    sw/source/filter/ww8/wrtw8num \
97    sw/source/filter/ww8/wrtw8sty \
98    sw/source/filter/ww8/wrtww8 \
99    sw/source/filter/ww8/wrtww8gr \
100    sw/source/filter/ww8/ww8atr \
101    sw/source/filter/ww8/ww8glsy \
102    sw/source/filter/ww8/ww8graf \
103    sw/source/filter/ww8/ww8graf2 \
104    sw/source/filter/ww8/ww8par \
105    sw/source/filter/ww8/ww8par2 \
106    sw/source/filter/ww8/ww8par3 \
107    sw/source/filter/ww8/ww8par4 \
108    sw/source/filter/ww8/ww8par5 \
109    sw/source/filter/ww8/ww8par6 \
110    sw/source/filter/ww8/ww8scan \
111))
112
113# vim: set noet sw=4 ts=4:
114