2015-04-18 14:55:00 +01:00
|
|
|
extra_sources=
|
|
|
|
if BUILD_COMMS_MPI
|
2015-06-03 12:47:05 +01:00
|
|
|
extra_sources+=communicator/Communicator_mpi.cc
|
2015-04-18 14:55:00 +01:00
|
|
|
endif
|
2015-04-24 19:08:29 +01:00
|
|
|
|
2016-02-11 13:37:39 +00:00
|
|
|
if BUILD_COMMS_SHMEM
|
|
|
|
extra_sources+=communicator/Communicator_shmem.cc
|
|
|
|
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
|
2015-04-18 14:55:00 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
2016-09-16 15:25:49 +01:00
|
|
|
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
|
|
|
|
libGrid_adir = $(pkgincludedir)
|
2016-07-30 17:53:18 +01:00
|
|
|
nobase_dist_pkginclude_HEADERS = $(HFILES) $(eigen_files) Config.h
|