Commit c88242d4 authored by Andreas Marek's avatar Andreas Marek

Rename header file of legacy C interface

parent c27fe3a6
......@@ -1177,6 +1177,7 @@ distclean-local:
EXTRA_DIST = \
elpa/elpa.h \
elpa/elpa_legacy.h \
fdep/fortran_dependencies.pl \
fdep/fortran_dependencies.mk \
test/Fortran/elpa_print_headers.X90 \
......
......@@ -19,6 +19,12 @@ elpa/elpa_generated.h: $(top_srcdir)/src/elpa_driver/legacy_interface/elpa_drive
@rm -f $@
$(call extract_interface,!c>)
elpa/elpa_generated_legacy.h: $(top_srcdir)/src/elpa_driver/legacy_interface/elpa_driver_c_interface.F90 \
$(top_srcdir)/src/elpa1/legacy_interface/elpa_1stage_c_interface.F90 \
$(top_srcdir)/src/elpa2/legacy_interface/elpa_2stage_c_interface.F90 | elpa
@rm -f $@
$(call extract_interface,!lc>)
test/shared/generated.h: $(wildcard $(top_srcdir)/test/shared/*.*90) | test/shared
@rm -f $@
$(call extract_interface,!c>)
......@@ -34,7 +40,7 @@ src/fortran_constants.X90: $(top_srcdir)/src/fortran_constants.h
@rm $@_
generated_headers= config-f90.h elpa/elpa_generated.h test/shared/generated.h elpa/elpa_generated_fortran_interfaces.h src/fortran_constants.X90
generated_headers= config-f90.h elpa/elpa_generated.h elpa/elpa_generated_legacy.h test/shared/generated.h elpa/elpa_generated_fortran_interfaces.h src/fortran_constants.X90
generated-headers: $(generated_headers)
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
#include <complex.h>
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include "test/shared/generated.h"
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
#include <complex.h>
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
#define DOUBLE_PRECISION_REAL 1
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
#include <complex.h>
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
#include <complex.h>
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
int main(int argc, char** argv) {
......
......@@ -50,7 +50,7 @@
#endif
#include <math.h>
#include <elpa/elpa.h>
#include <elpa/elpa_legacy.h>
#include <test/shared/generated.h>
int main(int argc, char** argv) {
......
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