1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 17:25:37 +01:00
Grid/lib/Makefile.am

36 lines
654 B
Makefile
Raw Normal View History

2015-04-18 14:55:00 +01:00
# additional include paths necessary to compile the C++ library
2016-07-07 22:31:07 +01:00
AM_CXXFLAGS = -I$(top_srcdir)/include/
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
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
2015-04-18 14:55:00 +01:00
lib_LIBRARIES = libGrid.a
2016-07-07 22:31:07 +01:00
2015-06-03 12:47:05 +01:00
libGrid_a_SOURCES = $(CCFILES) $(extra_sources)
2016-07-07 22:31:07 +01:00
fftwdir = $(prefix)/lib/
fftw_DATA = libfftw3.a
2015-04-18 14:55:00 +01:00
#
# Include files
#
2016-07-07 22:31:07 +01:00
otherincludedir = $(includedir)/Grid
nobase_otherinclude_HEADERS =$(HFILES) $(EFILES) fftw3.h Config.h
2015-04-18 14:55:00 +01:00