Build system: add logMHMCMC DLL
parent
036867765b
commit
48096db2ff
|
@ -0,0 +1,62 @@
|
||||||
|
vpath %.cc $(top_srcdir)/../../sources/estimation $(top_srcdir)/../../sources/estimation/libmat $(top_srcdir)/../../sources/estimation/utils
|
||||||
|
vpath %.hh $(top_srcdir)/../../sources/estimation $(top_srcdir)/../../sources/estimation/libmat
|
||||||
|
|
||||||
|
CPPFLAGS += -I$(top_srcdir)/../../sources/estimation/libmat -I$(top_srcdir)/../../sources/estimation/utils $(BOOST_CPPFLAGS)
|
||||||
|
LDFLAGS += $(BOOST_LDFLAGS)
|
||||||
|
|
||||||
|
noinst_PROGRAMS = logMHMCMCposterior
|
||||||
|
|
||||||
|
logMHMCMCposterior_LDADD = $(LIBADD_DLOPEN)
|
||||||
|
|
||||||
|
MAT_SRCS = \
|
||||||
|
Matrix.hh \
|
||||||
|
Matrix.cc \
|
||||||
|
Vector.hh \
|
||||||
|
Vector.cc \
|
||||||
|
BlasBindings.hh \
|
||||||
|
DiscLyapFast.hh \
|
||||||
|
GeneralizedSchurDecomposition.cc \
|
||||||
|
GeneralizedSchurDecomposition.hh \
|
||||||
|
LapackBindings.hh \
|
||||||
|
LUSolver.cc \
|
||||||
|
LUSolver.hh \
|
||||||
|
QRDecomposition.cc \
|
||||||
|
QRDecomposition.hh \
|
||||||
|
VDVEigDecomposition.cc \
|
||||||
|
VDVEigDecomposition.hh
|
||||||
|
|
||||||
|
nodist_logMHMCMCposterior_SOURCES = \
|
||||||
|
$(MAT_SRCS) \
|
||||||
|
DecisionRules.cc \
|
||||||
|
DecisionRules.hh \
|
||||||
|
DetrendData.cc \
|
||||||
|
DetrendData.hh \
|
||||||
|
EstimatedParameter.cc \
|
||||||
|
EstimatedParameter.hh \
|
||||||
|
EstimatedParametersDescription.cc \
|
||||||
|
EstimatedParametersDescription.hh \
|
||||||
|
EstimationSubsample.cc \
|
||||||
|
EstimationSubsample.hh \
|
||||||
|
InitializeKalmanFilter.cc \
|
||||||
|
InitializeKalmanFilter.hh \
|
||||||
|
KalmanFilter.cc \
|
||||||
|
KalmanFilter.hh \
|
||||||
|
LogLikelihoodSubSample.cc \
|
||||||
|
LogLikelihoodSubSample.hh \
|
||||||
|
LogLikelihoodMain.hh \
|
||||||
|
LogLikelihoodMain.cc \
|
||||||
|
LogPosteriorDensity.cc \
|
||||||
|
LogPosteriorDensity.hh \
|
||||||
|
LogPriorDensity.cc \
|
||||||
|
LogPriorDensity.hh \
|
||||||
|
ModelSolution.cc \
|
||||||
|
ModelSolution.hh \
|
||||||
|
Prior.cc \
|
||||||
|
Prior.hh \
|
||||||
|
RandomWalkMetropolisHastings.cc \
|
||||||
|
RandomWalkMetropolisHastings.hh \
|
||||||
|
RandSampler.cc \
|
||||||
|
RandSampler.hh \
|
||||||
|
dynamic_dll.cc \
|
||||||
|
dynamic_dll.hh \
|
||||||
|
logMHMCMCposterior.cc
|
|
@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I ../../../m4
|
||||||
|
|
||||||
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
|
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
|
||||||
if DO_SOMETHING
|
if DO_SOMETHING
|
||||||
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv k_order_perturbation dynare_simul_ logposterior
|
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv k_order_perturbation dynare_simul_ logposterior logMHMCMCposterior
|
||||||
if HAVE_GSL
|
if HAVE_GSL
|
||||||
SUBDIRS += swz
|
SUBDIRS += swz
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -118,6 +118,7 @@ AC_CONFIG_FILES([Makefile
|
||||||
k_order_perturbation/Makefile
|
k_order_perturbation/Makefile
|
||||||
dynare_simul_/Makefile
|
dynare_simul_/Makefile
|
||||||
swz/Makefile
|
swz/Makefile
|
||||||
logposterior/Makefile])
|
logposterior/Makefile
|
||||||
|
logMHMCMCposterior/Makefile])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
|
|
@ -0,0 +1,2 @@
|
||||||
|
include ../mex.am
|
||||||
|
include ../../logMHMCMCposterior.am
|
|
@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I ../../../m4
|
||||||
|
|
||||||
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
|
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
|
||||||
if DO_SOMETHING
|
if DO_SOMETHING
|
||||||
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv k_order_perturbation dynare_simul_ logposterior qzcomplex ordschur
|
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv k_order_perturbation dynare_simul_ logposterior logMHMCMCposterior qzcomplex ordschur
|
||||||
if HAVE_GSL
|
if HAVE_GSL
|
||||||
SUBDIRS += swz
|
SUBDIRS += swz
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -102,6 +102,7 @@ AC_CONFIG_FILES([Makefile
|
||||||
dynare_simul_/Makefile
|
dynare_simul_/Makefile
|
||||||
swz/Makefile
|
swz/Makefile
|
||||||
logposterior/Makefile
|
logposterior/Makefile
|
||||||
|
logMHMCMCposterior/Makefile
|
||||||
qzcomplex/Makefile
|
qzcomplex/Makefile
|
||||||
ordschur/Makefile])
|
ordschur/Makefile])
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
EXEEXT = .mex
|
||||||
|
include ../mex.am
|
||||||
|
include ../../logMHMCMCposterior.am
|
|
@ -25,6 +25,7 @@ EXTRA_DIST = \
|
||||||
LogLikelihoodMain.cc \
|
LogLikelihoodMain.cc \
|
||||||
LogLikelihoodSubSample.cc \
|
LogLikelihoodSubSample.cc \
|
||||||
LogLikelihoodSubSample.hh \
|
LogLikelihoodSubSample.hh \
|
||||||
|
logMHMCMCposterior.cc \
|
||||||
logposterior.cc \
|
logposterior.cc \
|
||||||
LogPosteriorDensity.cc \
|
LogPosteriorDensity.cc \
|
||||||
LogPosteriorDensity.hh \
|
LogPosteriorDensity.hh \
|
||||||
|
@ -34,6 +35,10 @@ EXTRA_DIST = \
|
||||||
ModelSolution.hh \
|
ModelSolution.hh \
|
||||||
Prior.cc \
|
Prior.cc \
|
||||||
Prior.hh \
|
Prior.hh \
|
||||||
|
RandomWalkMetropolisHastings.cc \
|
||||||
|
RandomWalkMetropolisHastings.hh \
|
||||||
|
RandSampler.cc \
|
||||||
|
RandSampler.hh \
|
||||||
utils/dynamic_dll.cc \
|
utils/dynamic_dll.cc \
|
||||||
utils/dynamic_dll.hh \
|
utils/dynamic_dll.hh \
|
||||||
utils/ts_exception.h
|
utils/ts_exception.h
|
||||||
|
|
Loading…
Reference in New Issue