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 \
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
,\
58 ifneq ($(ENABLE_WASM_STRIP_EPUB
),TRUE
)
59 $(eval
$(call gb_Library_use_externals
,wpftwriter
,\
64 $(eval
$(call gb_Library_use_externals
,wpftwriter
,\
68 $(if
$(ENABLE_WASM_STRIP_SWEXPORTS
),,etonyek
) \
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 \
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 \
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:
126 ifeq ($(SYSTEM_EPUBGEN
)$(SYSTEM_BOOST
),)
127 $(eval
$(call gb_Library_add_libs
,wpftwriter
, \
133 # vim: set noet sw=4 ts=4: