2009-10-02 19:22:19 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I ../../../m4
|
|
|
|
|
2009-11-02 13:04:07 +01:00
|
|
|
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
|
2012-08-23 18:30:27 +02:00
|
|
|
|
2009-10-02 19:22:19 +02:00
|
|
|
if DO_SOMETHING
|
2013-03-06 16:49:51 +01:00
|
|
|
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv block_kalman_filter sobol local_state_space_iterations
|
2012-08-23 18:30:27 +02:00
|
|
|
|
|
|
|
if HAVE_MATIO
|
|
|
|
SUBDIRS += k_order_perturbation dynare_simul_
|
|
|
|
endif
|
2010-12-13 18:15:00 +01:00
|
|
|
|
2011-02-17 11:42:54 +01:00
|
|
|
if HAVE_GSL
|
2017-09-22 15:31:23 +02:00
|
|
|
SUBDIRS += ms_sbvar
|
2011-02-17 11:42:54 +01:00
|
|
|
endif
|
|
|
|
|
2012-08-30 14:49:21 +02:00
|
|
|
if HAVE_SLICOT
|
|
|
|
SUBDIRS += kalman_steady_state
|
2010-12-13 18:15:00 +01:00
|
|
|
endif
|
|
|
|
|
2010-11-08 13:08:15 +01:00
|
|
|
if HAVE_M2HTML
|
|
|
|
html-local:
|
|
|
|
echo "addpath ${M2HTML}" > run_m2html.m
|
|
|
|
echo "cd ../../.." >> run_m2html.m
|
|
|
|
echo "m2html('mFiles', 'matlab', 'htmlDir', 'doc/m2html', 'recursive', 'on', 'globalHypertextLinks', 'on')" >> run_m2html.m
|
|
|
|
echo "quit" >> run_m2html.m
|
|
|
|
$(MATLAB)/bin/matlab -r run_m2html # Not using the -nodisplay option, because with m2html it confuses the terminal (need to do a "reset")
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -f run_m2html.m
|
|
|
|
rm -rf ../../../doc/m2html
|
|
|
|
endif
|
2014-07-16 16:18:06 +02:00
|
|
|
|
|
|
|
install-exec-local:
|
|
|
|
$(MKDIR_P) $(DESTDIR)$(pkglibdir)/mex/matlab
|
2009-10-02 19:22:19 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
EXTRA_DIST = mex.def mexFunction-MacOSX.map
|