LanguageTool: don't crash if REST protocol isn't set
[LibreOffice.git] / writerperfect / Library_wpftwriter.mk
blob8993cca314903262f144ff522024f9bd9e0fe024
1 # -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
3 # This file is part of the LibreOffice project.
5 # This Source Code Form is subject to the terms of the Mozilla Public
6 # License, v. 2.0. If a copy of the MPL was not distributed with this
7 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 # This file incorporates work covered by the following license notice:
11 # Licensed to the Apache Software Foundation (ASF) under one or more
12 # contributor license agreements. See the NOTICE file distributed
13 # with this work for additional information regarding copyright
14 # ownership. The ASF licenses this file to you under the Apache
15 # License, Version 2.0 (the "License"); you may not use this file
16 # except in compliance with the License. You may obtain a copy of
17 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 $(eval $(call gb_Library_Library,wpftwriter))
22 $(eval $(call gb_Library_set_include,wpftwriter,\
23 -I$(SRCDIR)/writerperfect/inc \
24 $$(INCLUDE) \
27 $(eval $(call gb_Library_set_componentfile,wpftwriter,writerperfect/source/writer/wpftwriter))
29 $(eval $(call gb_Library_use_sdk_api,wpftwriter))
31 $(eval $(call gb_Library_use_common_precompiled_header,wpftwriter))
33 $(eval $(call gb_Library_use_libraries,wpftwriter,\
34 comphelper \
35 cppu \
36 cppuhelper \
37 i18nlangtag \
38 vcl \
39 sal \
40 sax \
41 sfx \
42 sot \
43 svt \
44 svx \
45 tl \
46 ucbhelper \
47 utl \
48 vcl \
49 writerperfect \
50 xo \
53 $(eval $(call gb_Library_use_externals,wpftwriter,\
54 abw \
55 boost_headers \
56 ebook \
57 epubgen \
58 etonyek \
59 icu_headers \
60 icui18n \
61 icuuc \
62 liblangtag \
63 libxml2 \
64 mwaw \
65 odfgen \
66 revenge \
67 staroffice \
68 wpd \
69 wpg \
70 wps \
71 zlib \
74 $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
75 writerperfect/source/writer/AbiWordImportFilter \
76 writerperfect/source/writer/EBookImportFilter \
77 writerperfect/source/writer/EPUBExportDialog \
78 writerperfect/source/writer/EPUBExportFilter \
79 writerperfect/source/writer/EPUBExportUIComponent \
80 writerperfect/source/writer/EPUBPackage \
81 writerperfect/source/writer/MSWorksImportFilter \
82 writerperfect/source/writer/MWAWImportFilter \
83 writerperfect/source/writer/PagesImportFilter \
84 writerperfect/source/writer/StarOfficeWriterImportFilter \
85 writerperfect/source/writer/WordPerfectImportFilter \
86 writerperfect/source/writer/exp/XMLBase64ImportContext \
87 writerperfect/source/writer/exp/XMLFootnoteImportContext \
88 writerperfect/source/writer/exp/XMLSectionContext \
89 writerperfect/source/writer/exp/XMLTextFrameContext \
90 writerperfect/source/writer/exp/XMLTextListContext \
91 writerperfect/source/writer/exp/XMLTextListItemContext \
92 writerperfect/source/writer/exp/txtparai \
93 writerperfect/source/writer/exp/txtstyli \
94 writerperfect/source/writer/exp/xmlfmt \
95 writerperfect/source/writer/exp/xmlictxt \
96 writerperfect/source/writer/exp/xmlimp \
97 writerperfect/source/writer/exp/xmlmetai \
98 writerperfect/source/writer/exp/xmltbli \
99 writerperfect/source/writer/exp/xmltext \
102 # On Windows, libepubgen-0.1.lib(EPUBGenerator.obj) references BCryptCloseAlgorithmProvider,
103 # BCryptGenRandom, and BCryptOpenAlgorithmProvider via
104 # workdir/UnpackedTarball/boost/boost/winapi/bcrypt.hpp:
105 ifeq ($(OS),WNT)
106 ifeq ($(SYSTEM_EPUBGEN)$(SYSTEM_BOOST),)
107 $(eval $(call gb_Library_add_libs,wpftwriter, \
108 Bcrypt.lib \
110 endif
111 endif
113 # vim: set noet sw=4 ts=4: