Makefile.am 981 Bytes
Newer Older
1
2
3
ACLOCAL_AMFLAGS = -I ../../../m4

if DO_SOMETHING
4
SUBDIRS = mjdgges kronecker bytecode block_kalman_filter sobol local_state_space_iterations
5

6
# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
7
if HAVE_MATIO
8
SUBDIRS += libdynare++ gensylv k_order_perturbation dynare_simul_
9
endif
10

11
if HAVE_GSL
12
SUBDIRS += ms_sbvar
13
14
endif

15
16
if HAVE_SLICOT
SUBDIRS += kalman_steady_state
17
18
endif

19
20
21
22
23
24
25
26
27
28
29
30
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
Houtan Bastani's avatar
Houtan Bastani committed
31
32
33

install-exec-local:
	$(MKDIR_P) $(DESTDIR)$(pkglibdir)/mex/matlab
34
35
36
endif

EXTRA_DIST = mex.def mexFunction-MacOSX.map