summaryrefslogtreecommitdiffstats
path: root/doc_example/Makefile.am
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:48:59 +0000
commitc484829272cd13a738e35412498e12f2c9a194ac (patch)
treea1f5ec09629ee895bd3963fa8820b45f2f4c574b /doc_example/Makefile.am
parentInitial commit. (diff)
downloadliborcus-f5bf3877c7cf3538ca1337452cf57cc99b0ace0e.tar.xz
liborcus-f5bf3877c7cf3538ca1337452cf57cc99b0ace0e.zip
Adding upstream version 0.19.2.upstream/0.19.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'doc_example/Makefile.am')
-rw-r--r--doc_example/Makefile.am110
1 files changed, 110 insertions, 0 deletions
diff --git a/doc_example/Makefile.am b/doc_example/Makefile.am
new file mode 100644
index 0000000..0f097b2
--- /dev/null
+++ b/doc_example/Makefile.am
@@ -0,0 +1,110 @@
+
+AM_CPPFLAGS = \
+ -I$(top_srcdir)/include \
+ $(LIBIXION_CFLAGS) \
+ -DSRCDIR=\""$(top_srcdir)"\"
+
+bin_PROGRAMS =
+
+EXTRA_PROGRAMS = \
+ json-doc-1 \
+ json-doc-2 \
+ json-parser-1 \
+ xml-mapping-1 \
+ spreadsheet-doc-1 \
+ spreadsheet-doc-1-num-and-formula \
+ spreadsheet-doc-2 \
+ spreadsheet-doc-2-sheets-no-string-pool \
+ spreadsheet-doc-2-sheets-with-string-pool \
+ spreadsheet-doc-2-sheets-with-formula
+
+json_doc_1_SOURCES = \
+ json_doc_1.cpp
+
+json_doc_1_LDADD = \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la
+
+json_doc_2_SOURCES = \
+ json_doc_2.cpp
+
+json_doc_2_LDADD = \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la
+
+json_parser_1_SOURCES = \
+ json_parser_1.cpp
+
+json_parser_1_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la
+
+xml_mapping_1_SOURCES = \
+ xml_mapping_1.cpp
+
+xml_mapping_1_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
+
+# Spreadsheet document examples.
+
+SPDOC_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la \
+ ../src/spreadsheet/liborcus-spreadsheet-model-@ORCUS_API_VERSION@.la \
+ $(LIBIXION_LIBS)
+
+spreadsheet_doc_1_SOURCES = \
+ spreadsheet_doc_1.cpp
+
+spreadsheet_doc_1_LDADD = $(SPDOC_LDADD)
+
+spreadsheet_doc_1_num_and_formula_SOURCES = \
+ spreadsheet_doc_1_num_and_formula.cpp
+
+spreadsheet_doc_1_num_and_formula_LDADD = $(SPDOC_LDADD)
+
+spreadsheet_doc_2_SOURCES = \
+ spreadsheet_doc_2.cpp
+
+spreadsheet_doc_2_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
+
+spreadsheet_doc_2_sheets_no_string_pool_SOURCES = \
+ spreadsheet_doc_2_sheets_no_string_pool.cpp
+
+spreadsheet_doc_2_sheets_no_string_pool_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
+
+spreadsheet_doc_2_sheets_with_string_pool_SOURCES = \
+ spreadsheet_doc_2_sheets_with_string_pool.cpp
+
+spreadsheet_doc_2_sheets_with_string_pool_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
+
+spreadsheet_doc_2_sheets_with_formula_SOURCES = \
+ spreadsheet_doc_2_sheets_with_formula.cpp
+
+spreadsheet_doc_2_sheets_with_formula_LDADD = \
+ ../src/parser/liborcus-parser-@ORCUS_API_VERSION@.la \
+ ../src/liborcus/liborcus-@ORCUS_API_VERSION@.la
+
+AM_TESTS_ENVIRONMENT = \
+ INPUTDIR=$(srcdir)/files; export INPUTDIR;
+
+TESTS = \
+ json-doc-1 \
+ json-doc-2 \
+ json-parser-1 \
+ xml-mapping-1 \
+ spreadsheet-doc-1 \
+ spreadsheet-doc-1-num-and-formula \
+ spreadsheet-doc-2 \
+ spreadsheet-doc-2-sheets-no-string-pool \
+ spreadsheet-doc-2-sheets-with-string-pool \
+ spreadsheet-doc-2-sheets-with-formula
+
+distclean-local:
+ rm -rf $(TESTS)