diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:48:59 +0000 |
commit | c484829272cd13a738e35412498e12f2c9a194ac (patch) | |
tree | a1f5ec09629ee895bd3963fa8820b45f2f4c574b /src/spreadsheet/Makefile.am | |
parent | Initial commit. (diff) | |
download | liborcus-upstream.tar.xz liborcus-upstream.zip |
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/spreadsheet/Makefile.am')
-rw-r--r-- | src/spreadsheet/Makefile.am | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/src/spreadsheet/Makefile.am b/src/spreadsheet/Makefile.am new file mode 100644 index 0000000..8f1e0fb --- /dev/null +++ b/src/spreadsheet/Makefile.am @@ -0,0 +1,90 @@ +if BUILD_SPREADSHEET_MODEL + +AM_CPPFLAGS = \ + -I$(top_srcdir)/include \ + -I$(top_srcdir)/src/include \ + -D__ORCUS_SPM_BUILDING_DLL + +AM_CPPFLAGS += $(BOOST_CPPFLAGS) $(LIBIXION_CFLAGS) + +if HAVE_FILESYSTEM +AM_CPPFLAGS += "-DHAVE_FILESYSTEM=1" +endif + +if HAVE_EXPERIMENTAL_FILESYSTEM +AM_CPPFLAGS += "-DHAVE_EXPERIMENTAL_FILESYSTEM=1" +endif + +COMMON_CPPFLAGS = $(AM_CPPFLAGS) + +if HAVE_STATIC_LIB +AM_CPPFLAGS += -D__ORCUS_STATIC_LIB=1 +endif + +lib_LTLIBRARIES = liborcus-spreadsheet-model-@ORCUS_API_VERSION@.la +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_SOURCES = \ + auto_filter.cpp \ + check_dumper.hpp \ + check_dumper.cpp \ + config.cpp \ + debug_state_dumper.hpp \ + debug_state_dumper.cpp \ + document.cpp \ + document_impl.hpp \ + document_impl.cpp \ + document_types.cpp \ + dumper_global.hpp \ + dumper_global.cpp \ + factory.cpp \ + factory_pivot.hpp \ + factory_pivot.cpp \ + factory_shared_strings.hpp \ + factory_shared_strings.cpp \ + factory_sheet.hpp \ + factory_sheet.cpp \ + factory_styles.cpp \ + factory_table.hpp \ + factory_table.cpp \ + flat_dumper.hpp \ + flat_dumper.cpp \ + formula_global.hpp \ + formula_global.cpp \ + html_dumper.hpp \ + html_dumper.cpp \ + impl_types.hpp \ + csv_dumper.hpp \ + csv_dumper.cpp \ + json_dumper.hpp \ + json_dumper.cpp \ + number_format.hpp \ + number_format.cpp \ + pivot.cpp \ + shared_formula.hpp \ + shared_formula.cpp \ + shared_strings.cpp \ + sheet.cpp \ + sheet_impl.hpp \ + sheet_impl.cpp \ + styles.cpp \ + view.cpp \ + global_settings.hpp \ + global_settings.cpp + +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_CPPFLAGS = $(AM_CPPFLAGS) $(LIBIXION_CFLAGS) +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_LDFLAGS = -no-undefined +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_LIBADD = \ + $(LIBIXION_LIBS) \ + $(BOOST_DATE_TIME_LIBS) \ + $(BOOST_SYSTEM_LIBS) \ + ../parser/liborcus-parser-@ORCUS_API_VERSION@.la \ + ../liborcus/liborcus-@ORCUS_API_VERSION@.la + +if !HAVE_FILESYSTEM +if HAVE_EXPERIMENTAL_FILESYSTEM +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_LIBADD += -lstdc++fs +else +liborcus_spreadsheet_model_@ORCUS_API_VERSION@_la_LIBADD += $(BOOST_FILESYSTEM_LIBS) +endif +endif + +endif |