diff --git a/mex/build/matlab/Makefile.am b/mex/build/matlab/Makefile.am index da02c56fc..0f7225082 100644 --- a/mex/build/matlab/Makefile.am +++ b/mex/build/matlab/Makefile.am @@ -1,12 +1,11 @@ ACLOCAL_AMFLAGS = -I ../../../m4 -# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_ - if DO_SOMETHING -SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv block_kalman_filter sobol local_state_space_iterations +SUBDIRS = mjdgges kronecker bytecode block_kalman_filter sobol local_state_space_iterations +# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_ if HAVE_MATIO -SUBDIRS += k_order_perturbation dynare_simul_ +SUBDIRS += libdynare++ gensylv k_order_perturbation dynare_simul_ endif if HAVE_GSL diff --git a/mex/build/matlab/configure.ac b/mex/build/matlab/configure.ac index 55dd62003..3999c6e8b 100644 --- a/mex/build/matlab/configure.ac +++ b/mex/build/matlab/configure.ac @@ -117,9 +117,9 @@ else fi if test "x$ax_enable_matlab" = "xyes" -a "x$has_matio" = "xyes"; then - BUILD_KORDER_DYNSIMUL_MEX_MATLAB="yes" + BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_MATLAB="yes" else - BUILD_KORDER_DYNSIMUL_MEX_MATLAB="no (missing MatIO library)" + BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_MATLAB="no (missing MatIO library)" fi if test "x$ax_enable_matlab" = "xyes" -a "x$ax_matlab_version_ok" = "xyes" -a "x$ax_mexopts_ok" = "xyes" -a "x$has_slicot" = "xyes"; then @@ -158,7 +158,7 @@ Dynare is now configured for building the following components... Binaries (with "make"): MEX files for MATLAB (except those listed below): $BUILD_MEX_MATLAB - K-order and dynare_simul MEX files for MATLAB: $BUILD_KORDER_DYNSIMUL_MEX_MATLAB + Gensylv, k-order and dynare_simul MEX files for MATLAB: $BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_MATLAB MS-SBVAR MEX files for MATLAB: $BUILD_MS_SBVAR_MEX_MATLAB Kalman Steady State MEX file for MATLAB: $BUILD_KALMAN_STEADY_STATE_MATLAB M2HTML documentation: $BUILD_M2HTML diff --git a/mex/build/octave/Makefile.am b/mex/build/octave/Makefile.am index 64bb633ba..704a86bf0 100644 --- a/mex/build/octave/Makefile.am +++ b/mex/build/octave/Makefile.am @@ -1,11 +1,11 @@ ACLOCAL_AMFLAGS = -I ../../../m4 -# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_ if DO_SOMETHING -SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv block_kalman_filter sobol local_state_space_iterations +SUBDIRS = mjdgges kronecker bytecode block_kalman_filter sobol local_state_space_iterations +# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_ if HAVE_MATIO -SUBDIRS += k_order_perturbation dynare_simul_ +SUBDIRS += libdynare++ gensylv k_order_perturbation dynare_simul_ endif if HAVE_GSL diff --git a/mex/build/octave/configure.ac b/mex/build/octave/configure.ac index 17e074c2b..c12fc6f11 100644 --- a/mex/build/octave/configure.ac +++ b/mex/build/octave/configure.ac @@ -56,7 +56,7 @@ AC_SUBST([LIBADD_DLOPEN]) AX_GSL AM_CONDITIONAL([HAVE_GSL], [test "x$has_gsl" = "xyes"]) -# Check for libmatio, needed by k-order, dynare_simul, ms-sbvar (only under Octave, as an alternative to MATLAB's libmat) +# Check for libmatio, needed by MEX files using Dynare++ code, and by ms-sbvar (the latter only under Octave, as an alternative to MATLAB's libmat) AX_MATIO AM_CONDITIONAL([HAVE_MATIO], [test "x$has_matio" = "xyes"]) @@ -88,9 +88,9 @@ else fi if test "x$MKOCTFILE" != "x" -a "x$has_matio" = "xyes"; then - BUILD_KORDER_DYNSIMUL_MEX_OCTAVE="yes" + BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_OCTAVE="yes" else - BUILD_KORDER_DYNSIMUL_MEX_OCTAVE="no (missing MatIO library)" + BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_OCTAVE="no (missing MatIO library)" fi if test "x$MKOCTFILE" != "x" -a "x$has_slicot" = "xyes"; then @@ -119,9 +119,9 @@ Dynare is now configured for building the following components... Binaries (with "make"): MEX files for Octave (except those listed below): $BUILD_MEX_OCTAVE + Gensylv, k-order and dynare_simul MEX for Octave: $BUILD_GENSYLV_KORDER_DYNSIMUL_MEX_OCTAVE MS-SBVAR MEX files for Octave: $BUILD_MS_SBVAR_MEX_OCTAVE Kalman Steady State MEX file for Octave: $BUILD_KALMAN_STEADY_STATE_OCTAVE - K-order and dynare_simul MEX for Octave: $BUILD_KORDER_DYNSIMUL_MEX_OCTAVE ])