ACLOCAL_AMFLAGS = -I ../../../m4

# libdynare++ must come before gensylv, k_order_perturbation, dynare_simul_
if DO_SOMETHING
SUBDIRS = mjdgges kronecker bytecode libdynare++ gensylv qzcomplex block_kalman_filter sobol local_state_space_iterations

if COMPILE_LINSOLVE
SUBDIRS += linsolve
endif

if COMPILE_ORDSCHUR
SUBDIRS += ordschur
endif

if HAVE_MATIO
SUBDIRS += k_order_perturbation dynare_simul_
endif

if HAVE_GSL
if HAVE_MATIO
SUBDIRS += ms_sbvar estimation
endif
endif

if HAVE_SLICOT
SUBDIRS += kalman_steady_state
endif

install-exec-local:
	$(MKDIR_P) $(DESTDIR)$(pkglibdir)/mex/octave

endif
