2016-04-07 14:52:33 +01:00
|
|
|
COM_CXXFLAGS = -Wall
|
2014-03-13 18:51:01 +00:00
|
|
|
if CXX_GNU
|
2016-04-07 20:10:47 +01:00
|
|
|
COM_CXXFLAGS += -W -pedantic -Wno-deprecated-declarations
|
2014-03-13 18:51:01 +00:00
|
|
|
else
|
|
|
|
if CXX_INTEL
|
2016-04-07 20:10:47 +01:00
|
|
|
COM_CXXFLAGS += -wd1682
|
2014-03-13 18:51:01 +00:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
include eigen_files.mk
|
|
|
|
|
2014-03-13 18:51:01 +00:00
|
|
|
AM_LFLAGS = -olex.yy.c
|
2019-11-08 13:11:27 +00:00
|
|
|
AM_YFLAGS = -y -d -Wno-yacc -Wno-deprecated
|
2014-03-13 18:51:01 +00:00
|
|
|
|
2016-04-07 20:10:47 +01:00
|
|
|
lib_LTLIBRARIES = libLatAnalyze.la
|
|
|
|
noinst_LTLIBRARIES = libLexers.la
|
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
libLexers_la_SOURCES = Io/AsciiLexer.lpp Core/MathLexer.lpp
|
2016-04-07 20:10:47 +01:00
|
|
|
if CXX_GNU
|
2016-04-08 00:42:11 +01:00
|
|
|
libLexers_la_CXXFLAGS = $(COM_CXXFLAGS) -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-register
|
2016-04-07 20:10:47 +01:00
|
|
|
else
|
|
|
|
libLexers_la_CXXFLAGS = $(COM_CXXFLAGS)
|
|
|
|
endif
|
2015-02-23 18:11:37 +00:00
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
libLatAnalyze_la_SOURCES = \
|
|
|
|
includes.hpp \
|
|
|
|
Global.cpp \
|
|
|
|
Core/Exceptions.cpp \
|
|
|
|
Core/Mat.cpp \
|
|
|
|
Core/Math.cpp \
|
|
|
|
Core/MathInterpreter.cpp \
|
|
|
|
Core/MathParser.ypp \
|
|
|
|
Core/OptParser.cpp \
|
|
|
|
Core/Plot.cpp \
|
2021-11-28 23:26:17 +00:00
|
|
|
Core/ThreadPool.cpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Core/Utilities.cpp \
|
|
|
|
Functional/CompiledFunction.cpp \
|
|
|
|
Functional/CompiledModel.cpp \
|
|
|
|
Functional/Function.cpp \
|
|
|
|
Functional/Model.cpp \
|
|
|
|
Functional/TabFunction.cpp \
|
|
|
|
Io/AsciiFile.cpp \
|
|
|
|
Io/AsciiParser.ypp \
|
|
|
|
Io/BinReader.cpp \
|
|
|
|
Io/File.cpp \
|
|
|
|
Io/Hdf5File.cpp \
|
|
|
|
Io/Io.cpp \
|
|
|
|
Io/XmlReader.cpp \
|
|
|
|
Io/Xml/tinyxml2.cpp \
|
|
|
|
Numerical/Derivative.cpp \
|
2022-02-17 19:24:34 +00:00
|
|
|
Numerical/DWT.cpp \
|
|
|
|
Numerical/DWTFilters.cpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Numerical/GslFFT.cpp \
|
|
|
|
Numerical/GslHybridRootFinder.cpp\
|
|
|
|
Numerical/GslMinimizer.cpp \
|
|
|
|
Numerical/GslQagsIntegrator.cpp \
|
|
|
|
Numerical/Minimizer.cpp \
|
|
|
|
Numerical/RootFinder.cpp \
|
|
|
|
Numerical/Solver.cpp \
|
2020-01-23 19:11:01 +00:00
|
|
|
Physics/CorrelatorFitter.cpp \
|
|
|
|
Physics/EffectiveMass.cpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Statistics/FitInterface.cpp \
|
|
|
|
Statistics/Histogram.cpp \
|
2019-03-25 23:20:09 +00:00
|
|
|
Statistics/Random.cpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Statistics/StatArray.cpp \
|
|
|
|
Statistics/XYSampleData.cpp \
|
|
|
|
Statistics/XYStatData.cpp \
|
2014-03-13 18:51:01 +00:00
|
|
|
../config.h
|
|
|
|
libLatAnalyze_ladir = $(pkgincludedir)
|
2019-02-10 00:23:36 +00:00
|
|
|
HPPFILES = \
|
|
|
|
Global.hpp \
|
2019-03-09 22:43:23 +00:00
|
|
|
Core/Eigen.hpp \
|
|
|
|
Core/EigenPlugin.hpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Core/Exceptions.hpp \
|
|
|
|
Core/Mat.hpp \
|
|
|
|
Core/Math.hpp \
|
|
|
|
Core/MathInterpreter.hpp \
|
|
|
|
Core/OptParser.hpp \
|
|
|
|
Core/ParserState.hpp \
|
|
|
|
Core/Plot.hpp \
|
2021-11-28 23:26:17 +00:00
|
|
|
Core/ThreadPool.hpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Core/stdincludes.hpp \
|
|
|
|
Core/Utilities.hpp \
|
|
|
|
Functional/CompiledFunction.hpp \
|
|
|
|
Functional/CompiledModel.hpp \
|
|
|
|
Functional/Function.hpp \
|
|
|
|
Functional/Model.hpp \
|
|
|
|
Functional/TabFunction.hpp \
|
|
|
|
Io/AsciiFile.hpp \
|
|
|
|
Io/BinReader.hpp \
|
|
|
|
Io/File.hpp \
|
|
|
|
Io/Hdf5File.hpp \
|
|
|
|
Io/Io.hpp \
|
|
|
|
Io/IoObject.hpp \
|
|
|
|
Io/XmlReader.hpp \
|
|
|
|
Numerical/Derivative.hpp \
|
2022-02-17 19:24:34 +00:00
|
|
|
Numerical/DWT.hpp \
|
|
|
|
Numerical/DWTFilters.hpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Numerical/FFT.hpp \
|
|
|
|
Numerical/GslFFT.hpp \
|
|
|
|
Numerical/GslHybridRootFinder.hpp\
|
|
|
|
Numerical/GslMinimizer.hpp \
|
|
|
|
Numerical/GslQagsIntegrator.hpp \
|
|
|
|
Numerical/Integrator.hpp \
|
|
|
|
Numerical/Minimizer.hpp \
|
|
|
|
Numerical/RootFinder.hpp \
|
|
|
|
Numerical/Solver.hpp \
|
2020-01-23 19:11:01 +00:00
|
|
|
Physics/CorrelatorFitter.hpp \
|
|
|
|
Physics/EffectiveMass.hpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Statistics/Dataset.hpp \
|
|
|
|
Statistics/FitInterface.hpp \
|
|
|
|
Statistics/Histogram.hpp \
|
|
|
|
Statistics/MatSample.hpp \
|
2019-03-25 23:20:09 +00:00
|
|
|
Statistics/Random.hpp \
|
2019-02-10 00:23:36 +00:00
|
|
|
Statistics/StatArray.hpp \
|
|
|
|
Statistics/XYSampleData.hpp \
|
|
|
|
Statistics/XYStatData.hpp
|
2014-03-13 18:51:01 +00:00
|
|
|
if HAVE_MINUIT
|
2019-02-10 00:23:36 +00:00
|
|
|
libLatAnalyze_la_SOURCES += Numerical/MinuitMinimizer.cpp
|
|
|
|
HPPFILES += Numerical/MinuitMinimizer.hpp
|
2014-03-13 18:51:01 +00:00
|
|
|
endif
|
2016-04-01 21:40:22 +01:00
|
|
|
if HAVE_NLOPT
|
2019-02-10 00:23:36 +00:00
|
|
|
libLatAnalyze_la_SOURCES += Numerical/NloptMinimizer.cpp
|
|
|
|
HPPFILES += Numerical/NloptMinimizer.hpp
|
2016-04-01 21:40:22 +01:00
|
|
|
endif
|
2014-03-13 18:51:01 +00:00
|
|
|
libLatAnalyze_la_CXXFLAGS = $(COM_CXXFLAGS)
|
2016-04-07 20:10:47 +01:00
|
|
|
libLatAnalyze_la_LIBADD = libLexers.la
|
2014-03-13 18:51:01 +00:00
|
|
|
|
2016-04-08 00:42:11 +01:00
|
|
|
if HAVE_AM_MINOR_LE_11
|
2019-02-10 00:23:36 +00:00
|
|
|
Io/AsciiParser.hpp: Io/AsciiParser.ypp
|
|
|
|
$(AM_V_YACC) $(YACC) -o Io/AsciiParser.cpp --defines=Io/AsciiParser.hpp $<
|
2016-04-08 00:42:11 +01:00
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
Core/MathParser.hpp: Core/MathParser.ypp
|
|
|
|
$(AM_V_YACC) $(YACC) -o Core/MathParser.cpp --defines=Core/MathParser.hpp $<
|
2016-04-08 00:42:11 +01:00
|
|
|
endif
|
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
BUILT_SOURCES = Io/AsciiParser.hpp Core/MathParser.hpp
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
Core/MathLexer.cpp \
|
|
|
|
Core/MathParser.cpp\
|
|
|
|
Core/MathParser.hpp\
|
|
|
|
Io/AsciiLexer.cpp \
|
|
|
|
Io/AsciiParser.cpp \
|
|
|
|
Io/AsciiParser.hpp
|
2016-04-12 21:47:56 +01:00
|
|
|
|
2019-02-10 00:23:36 +00:00
|
|
|
nobase_dist_pkginclude_HEADERS = $(HPPFILES) $(eigen_files) Io/Xml/tinyxml2.hpp
|
2016-04-08 00:42:11 +01:00
|
|
|
|
2014-03-13 18:51:01 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I .buildutils/m4
|