Commit 530c08f0 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl

Also distribute necessary C header files

Pavel noted that some header files were missing from the distribution.
Also, I moved the private generated header files to src/ in order to
more clearly separate them.
parent c7144e6c
......@@ -358,7 +358,9 @@ nobase_elpa_include_HEADERS = \
elpa/elpa_legacy.h
nobase_nodist_elpa_include_HEADERS = \
elpa/elpa_constants.h
elpa/elpa_constants.h \
elpa/elpa_generated.h \
elpa/elpa_generated_legacy.h
dist_man_MANS = \
man/elpa2_print_kernels.1 \
......
......@@ -35,14 +35,14 @@ test/shared/generated.h: $(wildcard $(top_srcdir)/test/shared/*.*90) | test/shar
@rm -f $@
$(call extract_interface,!c>)
generated_headers += elpa/elpa_generated_fortran_interfaces.h
elpa/elpa_generated_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/elpa2/kernels/*.*c $(top_srcdir)/src/elpa2/kernels/*.s $(top_srcdir)/src/*.[ch]) | elpa
generated_headers += src/elpa_generated_fortran_interfaces.h
src/elpa_generated_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/elpa2/kernels/*.*c $(top_srcdir)/src/elpa2/kernels/*.s $(top_srcdir)/src/*.[ch]) | src
@rm -f $@
$(call extract_interface,!f>)
$(call extract_interface,#!f>)
generated_headers += elpa/elpa_generated_public_fortran_interfaces.h
elpa/elpa_generated_public_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/*.[ch]) | elpa
generated_headers += src/elpa_generated_public_fortran_interfaces.h
src/elpa_generated_public_fortran_interfaces.h: $(wildcard $(top_srcdir)/src/*.[ch]) | src
@rm -f $@
$(call extract_interface,!pf>)
......
......@@ -54,7 +54,7 @@ module elpa_api
use, intrinsic :: iso_c_binding
implicit none
#include "elpa/elpa_generated_public_fortran_interfaces.h"
#include "src/elpa_generated_public_fortran_interfaces.h"
integer, private, parameter :: earliest_api_version = EARLIEST_API_VERSION !< Definition of the earliest API version supported
!< with the current release
......
......@@ -52,6 +52,6 @@ module elpa_generated_fortran_interfaces
use iso_c_binding
implicit none
#include "elpa/elpa_generated_fortran_interfaces.h"
#include "src/elpa_generated_fortran_interfaces.h"
end module
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment