2009-11-13 16:14:37 +01:00
|
|
|
lib_LTLIBRARIES = libla.la
|
2023-05-14 16:58:55 +02:00
|
|
|
include_HEADERS = version.h simple.h vecmat3.h quaternion.h fortran.h cuda_la.h auxstorage.h davidson.h laerror.h mat.h qsort.h vec.h bisection.h diis.h la.h noncblas.h smat.h bitvector.h fourindex.h la_traits.h nonclass.h sparsemat.h sparsesmat.h csrmat.h conjgrad.h gmres.h matexp.h permutation.h polynomial.h contfrac.h
|
2022-02-17 18:03:47 +01:00
|
|
|
libla_la_SOURCES = simple.cc quaternion.cc vecmat3.cc vec.cc mat.cc smat.cc sparsemat.cc sparsesmat.cc csrmat.cc laerror.cc noncblas.cc bitvector.cc strassen.cc nonclass.cc cuda_la.cc fourindex.cc permutation.cc polynomial.cc contfrac.cc
|
2023-04-08 17:31:06 +02:00
|
|
|
check_PROGRAMS = t test tX
|
2009-10-07 16:37:01 +02:00
|
|
|
t_SOURCES = t.cc t2.cc
|
2023-05-14 16:58:55 +02:00
|
|
|
nodist_t_SOURCES = version.cc
|
2009-10-07 16:37:01 +02:00
|
|
|
test_SOURCES = test.cc
|
2023-04-08 17:31:06 +02:00
|
|
|
tX_SOURCES = tX.cc
|
2009-11-13 16:14:37 +01:00
|
|
|
LDADD = .libs/libla.a
|
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2023-05-14 16:58:55 +02:00
|
|
|
EXTRA_DIST = get_git_version LICENSE doxygen.cfg aminclude.am acinclude.m4 footer.html
|
|
|
|
CLEANFILES = version.cc
|
|
|
|
#noinst_PROGRAMS =
|
2009-10-07 16:56:32 +02:00
|
|
|
|
2010-09-08 15:30:20 +02:00
|
|
|
.cu.o:
|
|
|
|
$(NVCC) -o $@ -c $< $(NVCCFLAGS)
|
|
|
|
|
2009-11-13 16:14:37 +01:00
|
|
|
#todo: achieve portability of the fortran calls via autoconf?
|
2009-10-07 16:37:01 +02:00
|
|
|
|
2010-06-18 14:54:26 +02:00
|
|
|
#use ./configure CXXFLAGS="" LDFLAGS="" to avoid defaults
|
2009-10-07 16:37:01 +02:00
|
|
|
|
2019-03-30 18:01:03 +01:00
|
|
|
AM_LDFLAGS=
|
|
|
|
AM_CXXFLAGS=
|
|
|
|
|
|
|
|
AM_CXXFLAGS += -g
|
2022-07-27 16:28:00 +02:00
|
|
|
AM_CXXFLAGS += $(OPTIMIZEOPT) $(CUDAOPT) $(FORINTOPT) $(DEBUGOPT) $(PROFILEOPT) $(MATPTROPT)
|
2019-03-30 18:01:03 +01:00
|
|
|
AM_CXXFLAGS += -DNO_STRASSEN -DFORTRAN_
|
|
|
|
|
2019-11-13 00:52:44 +01:00
|
|
|
AM_CXXFLAGS += $(CBLASOPT) $(CLAPACKOPT)
|
|
|
|
AM_CXXFLAGS += $(MKLOPT)
|
2019-03-30 18:01:03 +01:00
|
|
|
#AM_LDFLAGS += .libs/libla.a
|
|
|
|
AM_LDFLAGS += $(CBLASLIB)
|
|
|
|
AM_LDFLAGS += $(BLASLIB)
|
|
|
|
AM_LDFLAGS += $(ATLASLIB)
|
2019-11-13 00:52:44 +01:00
|
|
|
AM_LDFLAGS += $(MKLLIB)
|
2019-03-30 18:01:03 +01:00
|
|
|
AM_LDFLAGS += $(CUDALIBS)
|
2009-10-07 16:37:01 +02:00
|
|
|
|
2023-04-08 17:31:06 +02:00
|
|
|
tX_LDFLAGS = $(AM_LDFLAGS) -lX11 -lm
|
|
|
|
|
2023-05-14 21:00:45 +02:00
|
|
|
version.cc: get_git_version
|
2023-05-14 16:58:55 +02:00
|
|
|
./get_git_version >>version.cc
|
|
|
|
|
2010-10-22 15:46:59 +02:00
|
|
|
include $(top_srcdir)/aminclude.am
|