2015-04-18 14:55:00 +01:00
|
|
|
extra_sources=
|
2017-01-18 00:21:18 +00:00
|
|
|
extra_headers=
|
2015-04-24 19:08:29 +01:00
|
|
|
|
2016-10-20 16:57:14 +01:00
|
|
|
if BUILD_COMMS_MPI3
|
|
|
|
extra_sources+=communicator/Communicator_mpi3.cc
|
2016-10-24 17:30:43 +01:00
|
|
|
extra_sources+=communicator/Communicator_base.cc
|
2018-01-08 11:30:22 +00:00
|
|
|
extra_sources+=communicator/SharedMemoryMPI.cc
|
|
|
|
extra_sources+=communicator/SharedMemory.cc
|
2016-02-11 13:37:39 +00:00
|
|
|
endif
|
|
|
|
|
2015-04-18 14:55:00 +01:00
|
|
|
if BUILD_COMMS_NONE
|
2015-06-03 12:47:05 +01:00
|
|
|
extra_sources+=communicator/Communicator_none.cc
|
2016-10-24 17:30:43 +01:00
|
|
|
extra_sources+=communicator/Communicator_base.cc
|
2018-01-08 11:30:22 +00:00
|
|
|
extra_sources+=communicator/SharedMemoryNone.cc
|
|
|
|
extra_sources+=communicator/SharedMemory.cc
|
2015-04-18 14:55:00 +01:00
|
|
|
endif
|
|
|
|
|
2017-01-18 00:21:18 +00:00
|
|
|
if BUILD_HDF5
|
|
|
|
extra_sources+=serialisation/Hdf5IO.cc
|
|
|
|
extra_headers+=serialisation/Hdf5IO.h
|
|
|
|
extra_headers+=serialisation/Hdf5Type.h
|
|
|
|
endif
|
|
|
|
|
2015-04-18 14:55:00 +01:00
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
2015-06-03 12:47:05 +01:00
|
|
|
include Make.inc
|
2016-07-07 22:31:07 +01:00
|
|
|
include Eigen.inc
|
2015-06-03 12:47:05 +01:00
|
|
|
|
2016-09-16 15:25:49 +01:00
|
|
|
lib_LIBRARIES = libGrid.a
|
2015-04-18 14:55:00 +01:00
|
|
|
|
2017-01-18 00:21:18 +00:00
|
|
|
CCFILES += $(extra_sources)
|
|
|
|
HFILES += $(extra_headers)
|
|
|
|
|
|
|
|
libGrid_a_SOURCES = $(CCFILES)
|
2016-09-16 15:25:49 +01:00
|
|
|
libGrid_adir = $(pkgincludedir)
|
2018-07-31 00:35:17 +01:00
|
|
|
nobase_dist_pkginclude_HEADERS = $(HFILES) $(eigen_files) $(eigen_unsupp_files) Config.h
|