summaryrefslogtreecommitdiffstats
path: root/src/libixion/Makefile.am
blob: 9bdce5f9034f8c89d7577d373951a26acc1499f6 (plain)
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src/include \
	-DIXION_BUILD \
	$(MDDS_CFLAGS) \
	$(BOOST_CPPFLAGS)

if BUILD_VULKAN

AM_CPPFLAGS += -DBUILD_VULKAN

endif # BUILD_VULKAN

check_PROGRAMS = \
	document-test \
	general-test \
	ixion-test-track-deps \
	compute-engine-test \
	dirty-cell-tracker-test \
	name-resolver-test

lib_LTLIBRARIES = libixion-@IXION_API_VERSION@.la
libixion_@IXION_API_VERSION@_la_SOURCES = \
	address.cpp \
	address_iterator.cpp \
	calc_status.hpp \
	calc_status.cpp \
	cell.cpp \
	cell_access.cpp \
	column_store_type.hpp \
	compute_engine.cpp \
	config.cpp \
	debug.hpp \
	debug.cpp \
	dirty_cell_tracker.cpp \
	document.cpp \
	exceptions.cpp \
	formula.cpp \
	formula_calc.cpp \
	formula_function_opcode.cpp \
	formula_functions.hpp \
	formula_functions.cpp \
	formula_interpreter.hpp \
	formula_interpreter.cpp \
	formula_lexer.hpp \
	formula_lexer.cpp \
	formula_name_resolver.cpp \
	formula_parser.hpp \
	formula_parser.cpp \
	formula_result.cpp \
	formula_tokens.cpp \
	formula_value_stack.hpp \
	formula_value_stack.cpp \
	global.cpp \
	impl_types.hpp \
	impl_types.cpp \
	info.cpp \
	lexer_tokens.hpp \
	lexer_tokens.cpp \
	matrix.cpp \
	model_context.cpp \
	model_context_impl.hpp \
	model_context_impl.cpp \
	model_iterator.cpp \
	model_types.hpp \
	model_types.cpp \
	module.cpp \
	named_expressions_iterator.cpp \
	queue_entry.hpp \
	queue_entry.cpp \
	table.cpp \
	types.cpp \
	utf8.hpp \
	utf8.cpp \
	utils.hpp \
	utils.cpp \
	workbook.hpp \
	workbook.cpp \
	interface.cpp

if BUILD_VULKAN

# VULKAN module

pkglib_LTLIBRARIES = ixion-@IXION_API_VERSION@-vulkan.la
ixion_@IXION_API_VERSION@_vulkan_la_SOURCES = \
	compute_engine_vulkan.hpp \
	compute_engine_vulkan.cpp \
	vulkan_obj.hpp \
	vulkan_obj.cpp

ixion_@IXION_API_VERSION@_vulkan_la_LDFLAGS = \
	-module -avoid-version -export-symbols-regex \
	register_module

ixion_@IXION_API_VERSION@_vulkan_la_LIBADD = \
	libixion-@IXION_API_VERSION@.la \
	$(VULKAN_LIBS)

ixion_@IXION_API_VERSION@_vulkan_la_CPPFLAGS = \
	$(AM_CPPFLAGS) \
	$(VULKAN_CPPFLAGS)

endif # BUILD_VULKAN

if IXION_THREADS

libixion_@IXION_API_VERSION@_la_SOURCES += \
	cell_queue_manager.hpp \
	cell_queue_manager.cpp

endif

libixion_@IXION_API_VERSION@_la_LDFLAGS = \
	-no-undefined \
	-Wl,-rpath,'$$ORIGIN' -Wl,-rpath,'$$ORIGIN/$(PACKAGE)' \
	$(BOOST_FILESYSTEM_LDFLAGS)

libixion_@IXION_API_VERSION@_la_LIBADD = \
	$(BOOST_FILESYSTEM_LIBS)

document_test_SOURCES = document_test.cpp
document_test_LDADD = \
	libixion-@IXION_API_VERSION@.la \
	../test/libixion-test.a

general_test_SOURCES = general_test.cpp
general_test_LDADD = \
	libixion-@IXION_API_VERSION@.la \
	../test/libixion-test.a \
	$(BOOST_PROGRAM_OPTIONS_LIBS)

name_resolver_test_SOURCES = name_resolver_test.cpp
name_resolver_test_LDADD = \
	libixion-@IXION_API_VERSION@.la \
	../test/libixion-test.a \
	$(BOOST_PROGRAM_OPTIONS_LIBS)

ixion_test_track_deps_SOURCES = ixion_test_track_deps.cpp
ixion_test_track_deps_LDADD = \
	libixion-@IXION_API_VERSION@.la \
	../test/libixion-test.a \
	$(BOOST_PROGRAM_OPTIONS_LIBS)

compute_engine_test_SOURCES = compute_engine_test.cpp
compute_engine_test_LDADD = \
	../test/libixion-test.a \
	libixion-@IXION_API_VERSION@.la

dirty_cell_tracker_test_SOURCES = dirty_cell_tracker_test.cpp
dirty_cell_tracker_test_LDADD = \
	../test/libixion-test.a \
	libixion-@IXION_API_VERSION@.la

AM_TESTS_ENVIRONMENT =

TESTS = \
	document-test \
	general-test \
	ixion-test-track-deps \
	compute-engine-test \
	dirty-cell-tracker-test \
	name-resolver-test