postgresql: upgrade to release 13.8
[LibreOffice.git] / writerperfect / Library_wpftwriter.mk
blob840a86f06e2221e3193efa63418ff8140c6d790d
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,services))
29 $(eval $(call gb_Library_add_componentimpls,wpftwriter, \
30 $(if $(ENABLE_WASM_STRIP_EPUB),,extended) \
31 $(if $(ENABLE_WASM_STRIP_SWEXPORTS),,extended2) \
34 $(eval $(call gb_Library_use_sdk_api,wpftwriter))
36 $(eval $(call gb_Library_use_common_precompiled_header,wpftwriter))
38 $(eval $(call gb_Library_use_libraries,wpftwriter,\
39 comphelper \
40 cppu \
41 cppuhelper \
42 i18nlangtag \
43 vcl \
44 sal \
45 sax \
46 sfx \
47 sot \
48 svt \
49 svx \
50 tl \
51 ucbhelper \
52 utl \
53 vcl \
54 writerperfect \
55 xo \
58 ifneq ($(ENABLE_WASM_STRIP_EPUB),TRUE)
59 $(eval $(call gb_Library_use_externals,wpftwriter,\
60 epubgen \
62 endif
64 $(eval $(call gb_Library_use_externals,wpftwriter,\
65 abw \
66 boost_headers \
67 ebook \
68 $(if $(ENABLE_WASM_STRIP_SWEXPORTS),,etonyek) \
69 icu_headers \
70 icui18n \
71 icuuc \
72 liblangtag \
73 libxml2 \
74 mwaw \
75 odfgen \
76 revenge \
77 staroffice \
78 wpd \
79 wpg \
80 wps \
81 zlib \
84 ifneq ($(ENABLE_WASM_STRIP_EPUB),TRUE)
85 $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
86 writerperfect/source/writer/EPUBExportDialog \
87 writerperfect/source/writer/EPUBExportFilter \
88 writerperfect/source/writer/EPUBExportUIComponent \
89 writerperfect/source/writer/EPUBPackage \
91 endif
93 ifneq ($(ENABLE_WASM_STRIP_SWEXPORTS),TRUE)
94 $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
95 writerperfect/source/writer/AbiWordImportFilter \
96 writerperfect/source/writer/EBookImportFilter \
97 writerperfect/source/writer/MSWorksImportFilter \
98 writerperfect/source/writer/MWAWImportFilter \
99 writerperfect/source/writer/PagesImportFilter \
100 writerperfect/source/writer/WordPerfectImportFilter \
102 endif
104 $(eval $(call gb_Library_add_exception_objects,wpftwriter,\
105 writerperfect/source/writer/StarOfficeWriterImportFilter \
106 writerperfect/source/writer/exp/XMLBase64ImportContext \
107 writerperfect/source/writer/exp/XMLFootnoteImportContext \
108 writerperfect/source/writer/exp/XMLSectionContext \
109 writerperfect/source/writer/exp/XMLTextFrameContext \
110 writerperfect/source/writer/exp/XMLTextListContext \
111 writerperfect/source/writer/exp/XMLTextListItemContext \
112 writerperfect/source/writer/exp/txtparai \
113 writerperfect/source/writer/exp/txtstyli \
114 writerperfect/source/writer/exp/xmlfmt \
115 writerperfect/source/writer/exp/xmlictxt \
116 writerperfect/source/writer/exp/xmlimp \
117 writerperfect/source/writer/exp/xmlmetai \
118 writerperfect/source/writer/exp/xmltbli \
119 writerperfect/source/writer/exp/xmltext \
122 # On Windows, libepubgen-0.1.lib(EPUBGenerator.obj) references BCryptCloseAlgorithmProvider,
123 # BCryptGenRandom, and BCryptOpenAlgorithmProvider via
124 # workdir/UnpackedTarball/boost/boost/winapi/bcrypt.hpp:
125 ifeq ($(OS),WNT)
126 ifeq ($(SYSTEM_EPUBGEN)$(SYSTEM_BOOST),)
127 $(eval $(call gb_Library_add_libs,wpftwriter, \
128 Bcrypt.lib \
130 endif
131 endif
133 # vim: set noet sw=4 ts=4: