Fix typo
[LibreOffice.git] / external / liborcus / Library_orcus-parser.mk
blobb7b459f36b7f890961e8f608cbb0eaebd8e4e331
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/.
10 $(eval $(call gb_Library_Library,orcus-parser))
12 $(eval $(call gb_Library_use_unpacked,orcus-parser,liborcus))
14 $(eval $(call gb_Library_use_externals,orcus-parser,\
15 boost_headers \
16 boost_filesystem \
17 boost_system \
18 mdds_headers \
19 zlib \
22 $(eval $(call gb_Library_set_warnings_disabled,orcus-parser))
24 $(eval $(call gb_Library_set_precompiled_header,orcus-parser,external/liborcus/inc/pch/precompiled_orcus-parser))
26 $(eval $(call gb_Library_set_include,orcus-parser,\
27 -I$(call gb_UnpackedTarball_get_dir,liborcus)/include \
28 -I$(call gb_UnpackedTarball_get_dir,liborcus)/src/include \
29 $$(INCLUDE) \
32 $(eval $(call gb_Library_add_defs,orcus-parser,\
33 -DBOOST_ALL_NO_LIB \
34 -D__ORCUS_PSR_BUILDING_DLL \
37 # Needed when building against MSVC in C++17 mode, as
38 # workdir/UnpackedTarball/liborcus/include/orcus/global.hpp uses std::unary_function:
39 $(eval $(call gb_Library_add_defs,orcus-parser, \
40 -D_HAS_AUTO_PTR_ETC=1 \
43 $(eval $(call gb_Library_set_generated_cxx_suffix,orcus-parser,cpp))
45 $(eval $(call gb_Library_add_generated_exception_objects,orcus-parser,\
46 UnpackedTarball/liborcus/src/parser/base64 \
47 UnpackedTarball/liborcus/src/parser/cell_buffer \
48 UnpackedTarball/liborcus/src/parser/css_parser_base \
49 UnpackedTarball/liborcus/src/parser/css_types \
50 UnpackedTarball/liborcus/src/parser/csv_parser_base \
51 UnpackedTarball/liborcus/src/parser/exception \
52 UnpackedTarball/liborcus/src/parser/json_global \
53 UnpackedTarball/liborcus/src/parser/json_parser_base \
54 UnpackedTarball/liborcus/src/parser/json_parser_thread \
55 UnpackedTarball/liborcus/src/parser/parser_base \
56 UnpackedTarball/liborcus/src/parser/parser_global \
57 UnpackedTarball/liborcus/src/parser/sax_parser_base \
58 UnpackedTarball/liborcus/src/parser/sax_token_parser \
59 UnpackedTarball/liborcus/src/parser/sax_token_parser_thread \
60 UnpackedTarball/liborcus/src/parser/stream \
61 UnpackedTarball/liborcus/src/parser/string_pool \
62 UnpackedTarball/liborcus/src/parser/tokens \
63 UnpackedTarball/liborcus/src/parser/types \
64 UnpackedTarball/liborcus/src/parser/utf8 \
65 UnpackedTarball/liborcus/src/parser/xml_namespace \
66 UnpackedTarball/liborcus/src/parser/xml_writer \
67 UnpackedTarball/liborcus/src/parser/yaml_parser_base \
68 UnpackedTarball/liborcus/src/parser/zip_archive \
69 UnpackedTarball/liborcus/src/parser/zip_archive_stream \
72 # vim: set noet sw=4 ts=4: