summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: c081dfd87f686d0a9ecd3c439e19c1aff1c3e170 (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
SUBDIRS = include test libixion python

AM_CPPFLAGS = \
	-I$(top_srcdir)/include \
	-I$(top_srcdir)/src/include \
	$(MDDS_CFLAGS) $(BOOST_CPPFLAGS)

bin_PROGRAMS = ixion-parser ixion-sorter ixion-formula-tokenizer

ixion_parser_SOURCES = \
	ixion_parser.cpp \
	model_parser.hpp \
	model_parser.cpp \
	app_common.hpp \
	app_common.cpp \
	session_handler.hpp \
	session_handler.cpp \
	table_handler.hpp \
	table_handler.cpp

ixion_parser_LDADD = libixion/libixion-@IXION_API_VERSION@.la \
	$(BOOST_PROGRAM_OPTIONS_LIBS)

ixion_sorter_SOURCES = \
	ixion_sorter.cpp \
	app_common.cpp \
	sort_input_parser.hpp \
	sort_input_parser.cpp

ixion_sorter_LDADD = libixion/libixion-@IXION_API_VERSION@.la \
					 $(BOOST_PROGRAM_OPTIONS_LIBS)

ixion_formula_tokenizer_SOURCES = \
	ixion_formula_tokenizer.cpp

ixion_formula_tokenizer_LDADD = libixion/libixion-@IXION_API_VERSION@.la \
					 $(BOOST_PROGRAM_OPTIONS_LIBS)


AM_TESTS_ENVIRONMENT = PATH=.libs$${PATH:+:$${PATH}}; export PATH; \
	LD_LIBRARY_PATH=libixion/.libs$${LD_LIBRARY_PATH:+:$${LD_LIBRARY_PATH}}; export LD_LIBRARY_PATH; \
	DYLD_LIBRARY_PATH=$${LD_LIBRARY_PATH}}; export DYLD_LIBRARY_PATH;

TESTS = \
	../test/parser-test-t0.sh \
	../test/parser-test-t1.sh \
	../test/parser-test-t2.sh \
	../test/parser-test-t3.sh \
	../test/parser-test-t4.sh \
	../test/parser-test-t5.sh \
	../test/parser-test-t6.sh \
	../test/parser-test-t7.sh \
	../test/parser-test-t8.sh