Build system: add logMHMCMC DLL

time-shift
Sébastien Villemot 2010-10-28 10:17:58 +02:00
parent 036867765b
commit 48096db2ff
8 changed files with 77 additions and 3 deletions

View File

@ -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

View File

@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I ../../../m4
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
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
SUBDIRS += swz
endif

View File

@ -118,6 +118,7 @@ AC_CONFIG_FILES([Makefile
k_order_perturbation/Makefile
dynare_simul_/Makefile
swz/Makefile
logposterior/Makefile])
logposterior/Makefile
logMHMCMCposterior/Makefile])
AC_OUTPUT

View File

@ -0,0 +1,2 @@
include ../mex.am
include ../../logMHMCMCposterior.am

View File

@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I ../../../m4
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
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
SUBDIRS += swz
endif

View File

@ -102,6 +102,7 @@ AC_CONFIG_FILES([Makefile
dynare_simul_/Makefile
swz/Makefile
logposterior/Makefile
logMHMCMCposterior/Makefile
qzcomplex/Makefile
ordschur/Makefile])

View File

@ -0,0 +1,3 @@
EXEEXT = .mex
include ../mex.am
include ../../logMHMCMCposterior.am

View File

@ -25,6 +25,7 @@ EXTRA_DIST = \
LogLikelihoodMain.cc \
LogLikelihoodSubSample.cc \
LogLikelihoodSubSample.hh \
logMHMCMCposterior.cc \
logposterior.cc \
LogPosteriorDensity.cc \
LogPosteriorDensity.hh \
@ -34,6 +35,10 @@ EXTRA_DIST = \
ModelSolution.hh \
Prior.cc \
Prior.hh \
RandomWalkMetropolisHastings.cc \
RandomWalkMetropolisHastings.hh \
RandSampler.cc \
RandSampler.hh \
utils/dynamic_dll.cc \
utils/dynamic_dll.hh \
utils/ts_exception.h