The idea is:
- cmake generates arpackdef.h from arpackdef.cmake.h.in
- autoheader generates arpackdef.h from arpackdef.autotools.h[.in]
- arpack includes arpackdef.h when/where needed:
- #define provide c_int/a_int according to architecture.
- all f90 who need to include "arpackdef.h" must be moved to F90.
Note: by convention, F90 are preprocessed (f90 are not).
- MPI does not support ILP64: integer*4 must be imposed in all
calls involving MPI (f90 example/test code).
To enable ILP64 users to compile/link, arpackdef.h is added in
the arpack installation (make install).
18 lines
502 B
Makefile
18 lines
502 B
Makefile
arpack_includedir = $(includedir)/arpack
|
|
|
|
if ICB
|
|
AM_DISTCHECK_CONFIGURE_FLAGS = --enable-icb
|
|
arpack_include_HEADERS = debug_c.h debug_c.hpp
|
|
arpack_include_HEADERS += stat_c.h stat_c.hpp
|
|
arpack_include_HEADERS += arpack.h arpack.hpp
|
|
if MPI
|
|
arpack_include_HEADERS += parpack.h parpack.hpp
|
|
endif
|
|
endif
|
|
|
|
noinst_LTLIBRARIES = libdbgicb.la libstaicb.la
|
|
libdbgicb_la_SOURCES = debug_icb.F90
|
|
libdbgicb_la_FCFLAGS = -I$(top_builddir)
|
|
libstaicb_la_SOURCES = stat_icb.F90
|
|
libstaicb_la_FCFLAGS = -I$(top_builddir)
|