File: Library_orcus.mk

package info (click to toggle)
libreoffice 1:6.1.5-3
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 2,699,584 kB
  • sloc: cpp: 4,078,558; xml: 324,485; java: 281,935; python: 48,236; ansic: 36,476; perl: 32,383; sh: 13,671; yacc: 10,820; makefile: 9,085; cs: 6,600; lex: 2,184; objc: 1,904; awk: 978; pascal: 949; asm: 866; php: 79; csh: 20; sed: 5
file content (132 lines) | stat: -rw-r--r-- 5,878 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

$(eval $(call gb_Library_Library,orcus))

$(eval $(call gb_Library_use_unpacked,orcus,liborcus))

$(eval $(call gb_Library_use_externals,orcus,\
	boost_headers \
	boost_filesystem \
	boost_iostreams \
	boost_system \
	mdds_headers \
	zlib \
))

$(eval $(call gb_Library_set_warnings_not_errors,orcus))

$(eval $(call gb_Library_set_include,orcus,\
	-I$(call gb_UnpackedTarball_get_dir,liborcus)/include \
	$$(INCLUDE) \
))

$(eval $(call gb_Library_add_defs,orcus,\
	-DBOOST_ALL_NO_LIB \
	-D__ORCUS_BUILDING_DLL \
	-D__ORCUS_GNUMERIC \
	-D__ORCUS_ODS \
	-D__ORCUS_XLSX \
	-D__ORCUS_XLS_XML \
))

# Needed when building against MSVC in C++17 mode, as
# workdir/UnpackedTarball/liborcus/src/liborcus/css_document_tree.cpp uses std::unary_function:
$(eval $(call gb_Library_add_defs,orcus, \
    -D_HAS_AUTO_PTR_ETC=1 \
))

$(eval $(call gb_Library_use_libraries,orcus,\
	orcus-parser \
))

$(eval $(call gb_Library_set_generated_cxx_suffix,orcus,cpp))

$(eval $(call gb_Library_add_generated_exception_objects,orcus,\
	UnpackedTarball/liborcus/src/liborcus/config \
	UnpackedTarball/liborcus/src/liborcus/css_document_tree \
	UnpackedTarball/liborcus/src/liborcus/css_selector \
	UnpackedTarball/liborcus/src/liborcus/detection_result \
	UnpackedTarball/liborcus/src/liborcus/dom_tree \
	UnpackedTarball/liborcus/src/liborcus/format_detection \
	UnpackedTarball/liborcus/src/liborcus/formula_result \
	UnpackedTarball/liborcus/src/liborcus/global \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_cell_context \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_context \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_detection_handler \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_handler \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_helper \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_namespace_types \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_sheet_context \
	UnpackedTarball/liborcus/src/liborcus/gnumeric_tokens \
	UnpackedTarball/liborcus/src/liborcus/info \
	UnpackedTarball/liborcus/src/liborcus/interface \
	UnpackedTarball/liborcus/src/liborcus/json_document_tree \
	UnpackedTarball/liborcus/src/liborcus/json_util \
	UnpackedTarball/liborcus/src/liborcus/measurement \
	UnpackedTarball/liborcus/src/liborcus/odf_helper \
	UnpackedTarball/liborcus/src/liborcus/odf_namespace_types \
	UnpackedTarball/liborcus/src/liborcus/odf_number_formatting_context \
	UnpackedTarball/liborcus/src/liborcus/odf_para_context \
	UnpackedTarball/liborcus/src/liborcus/odf_styles \
	UnpackedTarball/liborcus/src/liborcus/odf_styles_context \
	UnpackedTarball/liborcus/src/liborcus/odf_tokens \
	UnpackedTarball/liborcus/src/liborcus/ods_content_xml_context \
	UnpackedTarball/liborcus/src/liborcus/ods_content_xml_handler \
	UnpackedTarball/liborcus/src/liborcus/ods_session_data \
	UnpackedTarball/liborcus/src/liborcus/ooxml_content_types \
	UnpackedTarball/liborcus/src/liborcus/ooxml_global \
	UnpackedTarball/liborcus/src/liborcus/ooxml_namespace_types \
	UnpackedTarball/liborcus/src/liborcus/ooxml_schemas \
	UnpackedTarball/liborcus/src/liborcus/ooxml_tokens \
	UnpackedTarball/liborcus/src/liborcus/ooxml_types \
	UnpackedTarball/liborcus/src/liborcus/opc_context \
	UnpackedTarball/liborcus/src/liborcus/opc_reader \
	UnpackedTarball/liborcus/src/liborcus/orcus_csv \
	UnpackedTarball/liborcus/src/liborcus/orcus_gnumeric \
	UnpackedTarball/liborcus/src/liborcus/orcus_import_ods \
	UnpackedTarball/liborcus/src/liborcus/orcus_import_xlsx \
	UnpackedTarball/liborcus/src/liborcus/orcus_ods \
	UnpackedTarball/liborcus/src/liborcus/orcus_xls_xml \
	UnpackedTarball/liborcus/src/liborcus/orcus_xlsx \
	UnpackedTarball/liborcus/src/liborcus/orcus_xml \
	UnpackedTarball/liborcus/src/liborcus/session_context \
	UnpackedTarball/liborcus/src/liborcus/spreadsheet_iface_util \
	UnpackedTarball/liborcus/src/liborcus/spreadsheet_interface \
	UnpackedTarball/liborcus/src/liborcus/spreadsheet_types \
	UnpackedTarball/liborcus/src/liborcus/string_helper \
	UnpackedTarball/liborcus/src/liborcus/xls_xml_context \
	UnpackedTarball/liborcus/src/liborcus/xls_xml_detection_handler \
	UnpackedTarball/liborcus/src/liborcus/xls_xml_handler \
	UnpackedTarball/liborcus/src/liborcus/xls_xml_namespace_types \
	UnpackedTarball/liborcus/src/liborcus/xls_xml_tokens \
	UnpackedTarball/liborcus/src/liborcus/xlsx_autofilter_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_conditional_format_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_drawing_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_handler \
	UnpackedTarball/liborcus/src/liborcus/xlsx_helper \
	UnpackedTarball/liborcus/src/liborcus/xlsx_pivot_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_revision_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_session_data \
	UnpackedTarball/liborcus/src/liborcus/xlsx_sheet_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_table_context \
	UnpackedTarball/liborcus/src/liborcus/xlsx_types \
	UnpackedTarball/liborcus/src/liborcus/xlsx_workbook_context \
	UnpackedTarball/liborcus/src/liborcus/xml_context_base \
	UnpackedTarball/liborcus/src/liborcus/xml_context_global \
	UnpackedTarball/liborcus/src/liborcus/xml_map_tree \
	UnpackedTarball/liborcus/src/liborcus/xml_simple_stream_handler \
	UnpackedTarball/liborcus/src/liborcus/xml_stream_handler \
	UnpackedTarball/liborcus/src/liborcus/xml_stream_parser \
	UnpackedTarball/liborcus/src/liborcus/xml_structure_tree \
	UnpackedTarball/liborcus/src/liborcus/yaml_document_tree \
))

# vim: set noet sw=4 ts=4: