summaryrefslogtreecommitdiffstats
path: root/src/python/Makefile.am
blob: 1dc98c4257d40005d033e84caf63ef08570dbe9e (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
if BUILD_PYTHON

EXTRA_DIST = test-env.sh

pyexec_LTLIBRARIES = ixion.la
ixion_la_SOURCES = \
	document.hpp \
	document.cpp \
	global.hpp \
	global.cpp \
	python.cpp \
	sheet.hpp \
	sheet.cpp

ixion_la_LDFLAGS = -module -avoid-version -export-symbols-regex PyInit_ixion
ixion_la_CPPFLAGS = -I$(top_srcdir)/include $(PYTHON_CFLAGS) $(MDDS_CFLAGS)
ixion_la_LIBADD = \
	../libixion/libixion-@IXION_API_VERSION@.la \
	$(PYTHON_LIBS)

if OSX

TESTS = ../../bin/run-python-test-osx.sh

else

AM_TESTS_ENVIRONMENT = . $(srcdir)/test-env.sh;

TESTS = \
	../../test/python/document.py \
	../../test/python/module.py

endif

endif