1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-14 01:35:36 +00:00
Grid/lib/Makefile.am

48 lines
1.1 KiB
Makefile
Raw Normal View History

2015-04-18 14:55:00 +01:00
extra_sources=
extra_headers=
2015-04-18 14:55:00 +01:00
if BUILD_COMMS_MPI
2015-06-03 12:47:05 +01:00
extra_sources+=communicator/Communicator_mpi.cc
extra_sources+=communicator/Communicator_base.cc
2015-04-18 14:55:00 +01:00
endif
2016-10-20 16:57:14 +01:00
if BUILD_COMMS_MPI3
extra_sources+=communicator/Communicator_mpi3.cc
extra_sources+=communicator/Communicator_base.cc
2016-10-20 16:57:14 +01:00
endif
2016-11-01 11:35:43 +00:00
if BUILD_COMMS_MPI3L
extra_sources+=communicator/Communicator_mpi3_leader.cc
extra_sources+=communicator/Communicator_base.cc
endif
2016-02-11 13:37:39 +00:00
if BUILD_COMMS_SHMEM
extra_sources+=communicator/Communicator_shmem.cc
extra_sources+=communicator/Communicator_base.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
extra_sources+=communicator/Communicator_base.cc
2015-04-18 14:55:00 +01:00
endif
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
lib_LIBRARIES = libGrid.a
2015-04-18 14:55:00 +01:00
CCFILES += $(extra_sources)
HFILES += $(extra_headers)
libGrid_a_SOURCES = $(CCFILES)
libGrid_adir = $(pkgincludedir)
nobase_dist_pkginclude_HEADERS = $(HFILES) $(eigen_files) Config.h