Skip to content
Snippets Groups Projects
Commit 0a6bcaf4 authored by Sebastian Ohlmann's avatar Sebastian Ohlmann
Browse files

update automake entries for python wrapper

parent 69ecbce4
No related branches found
No related tags found
1 merge request!8Add python interface for ELPA
...@@ -617,20 +617,17 @@ pyelpadir = $(pythondir)/pyelpa ...@@ -617,20 +617,17 @@ pyelpadir = $(pythondir)/pyelpa
if WITH_PYTHON if WITH_PYTHON
pyelpa_PYTHON = python/pyelpa/__init__.py python/pyelpa/distributedmatrix.py pyelpa_PYTHON = python/pyelpa/__init__.py python/pyelpa/distributedmatrix.py
pyelpa_LTLIBRARIES = wrapper.la pyelpa_LTLIBRARIES = wrapper.la
wrapper_la_SOURCES = python/pyelpa/wrapper.c
else else
pyelpa_PYTHON = pyelpa_PYTHON =
pyelpa_LTLIBRARIES = pyelpa_LTLIBRARIES =
wrapper_la_SOURCES =
endif endif
nodist_wrapper_la_SOURCES = python/pyelpa/wrapper.c
wrapper_la_LDFLAGS = -module -avoid-version -shared $(AM_LDFLAGS) wrapper_la_LDFLAGS = -module -avoid-version -shared $(AM_LDFLAGS)
wrapper_la_LIBADD = libelpa@SUFFIX@.la wrapper_la_LIBADD = libelpa@SUFFIX@.la
wrapper_la_CFLAGS = -I$(PYTHON_INCLUDE) $(AM_CFLAGS) wrapper_la_CFLAGS = -I$(PYTHON_INCLUDE) $(AM_CFLAGS)
if WITH_PYTHON
python/pyelpa/wrapper.c: python/pyelpa/wrapper.pyx python/pyelpa/wrapper.c: python/pyelpa/wrapper.pyx
cython $< cython $<
endif
# test scripts # test scripts
...@@ -670,7 +667,8 @@ CLEANFILES = \ ...@@ -670,7 +667,8 @@ CLEANFILES = \
real* \ real* \
complex* \ complex* \
double_instance* \ double_instance* \
*.i *.i \
python/pyelpa/wrapper.c
clean-local: clean-local:
-rm -rf modules/* private_modules/* test_modules/* .fortran_dependencies/* -rm -rf modules/* private_modules/* test_modules/* .fortran_dependencies/*
...@@ -832,11 +830,14 @@ EXTRA_DIST += \ ...@@ -832,11 +830,14 @@ EXTRA_DIST += \
test/shared/test_scalapack_template.F90 test/shared/test_scalapack_template.F90
endif endif
if WITH_PYTHON # python wrapper files
EXTRA_DIST += python/pyelpa/__init__.py \ EXTRA_DIST += python/pyelpa/__init__.py \
python/pyelpa/distributedmatrix.py \ python/pyelpa/distributedmatrix.py \
python/pyelpa/wrapper.pyx python/pyelpa/wrapper.pyx \
endif python/tests/test_elpa_import.py \
python/tests/test_mpi4py.py \
python/tests/test_numroc.py \
python/tests/test_with_mpi.py
LIBTOOL_DEPS = @LIBTOOL_DEPS@ LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS) libtool: $(LIBTOOL_DEPS)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment