2015-03-04 04:53:40 +00:00
|
|
|
# additional include paths necessary to compile the C++ library
|
|
|
|
AM_CXXFLAGS = -I$(top_srcdir)/
|
|
|
|
|
|
|
|
#
|
|
|
|
# Libraries
|
|
|
|
#
|
|
|
|
lib_LIBRARIES = libGrid.a
|
2015-03-04 13:44:33 +00:00
|
|
|
libGrid_a_SOURCES = Grid_init.cc
|
2015-03-04 04:53:40 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Include files
|
|
|
|
#
|
2015-04-03 05:51:05 +01:00
|
|
|
include_HEADERS = Grid_config.h\
|
|
|
|
Grid.h\
|
|
|
|
Grid_simd.h\
|
2015-03-04 04:53:40 +00:00
|
|
|
Grid_vComplexD.h\
|
|
|
|
Grid_vComplexF.h\
|
|
|
|
Grid_vRealD.h\
|
|
|
|
Grid_vRealF.h\
|
|
|
|
Grid_Cartesian.h\
|
|
|
|
Grid_Lattice.h\
|
2015-04-03 05:51:05 +01:00
|
|
|
Grid_Communicator.h\
|
|
|
|
Grid_QCD.h\
|
|
|
|
Grid_aligned_allocator.h\
|
|
|
|
Grid_cshift.h\
|
|
|
|
Grid_cshift_common.h\
|
|
|
|
Grid_cshift_mpi.h\
|
|
|
|
Grid_cshift_none.h\
|
|
|
|
Grid_math_types.h
|
|
|
|
|
2015-03-04 04:53:40 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test code
|
|
|
|
#
|
|
|
|
bin_PROGRAMS = Grid_main
|
2015-04-03 04:52:53 +01:00
|
|
|
|
|
|
|
extra_sources=
|
|
|
|
if BUILD_COMMS_MPI
|
2015-04-06 11:26:24 +01:00
|
|
|
extra_sources+=Grid_communicator_mpi.cc
|
2015-04-03 04:52:53 +01:00
|
|
|
endif
|
|
|
|
if BUILD_COMMS_NONE
|
2015-04-06 11:26:24 +01:00
|
|
|
extra_sources+=Grid_communicator_fake.cc
|
2015-04-03 04:52:53 +01:00
|
|
|
endif
|
|
|
|
|
2015-03-29 21:44:22 +01:00
|
|
|
Grid_main_SOURCES = \
|
|
|
|
Grid_main.cc\
|
2015-04-03 04:52:53 +01:00
|
|
|
$(extra_sources)
|
2015-03-29 21:44:22 +01:00
|
|
|
|
2015-03-04 04:53:40 +00:00
|
|
|
Grid_main_LDADD = libGrid.a
|