2010-02-13 09:52:43 +01:00
|
|
|
SUBDIRS = preprocessor doc tests mex/sources
|
2009-09-09 18:47:43 +02:00
|
|
|
|
2009-09-11 19:34:15 +02:00
|
|
|
if HAVE_BLAS
|
|
|
|
if HAVE_LAPACK
|
2010-02-13 09:52:43 +01:00
|
|
|
SUBDIRS += dynare++
|
2009-09-11 19:34:15 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-09-23 15:14:05 +02:00
|
|
|
# MEX must be built after dynare++ (because of kordepert)
|
2009-11-02 14:44:45 +01:00
|
|
|
if ENABLE_MATLAB
|
|
|
|
SUBDIRS += mex/build/matlab
|
|
|
|
endif
|
|
|
|
if ENABLE_OCTAVE
|
|
|
|
SUBDIRS += mex/build/octave
|
|
|
|
endif
|
2009-09-23 15:14:05 +02:00
|
|
|
|
2009-09-09 18:47:43 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2009-09-17 10:14:44 +02:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
matlab \
|
2011-02-22 16:51:23 +01:00
|
|
|
ms-sbvar \
|
2009-09-17 10:14:44 +02:00
|
|
|
uncrustify.cfg \
|
2009-12-11 17:31:33 +01:00
|
|
|
license.txt \
|
2010-09-27 16:45:08 +02:00
|
|
|
dynare.el \
|
2009-09-17 10:14:44 +02:00
|
|
|
windows/dynare.nsi \
|
2010-09-28 16:46:53 +02:00
|
|
|
windows/mexopts-win32.bat \
|
|
|
|
windows/mexopts-win64.bat \
|
2010-04-30 12:36:24 +02:00
|
|
|
windows/README.txt \
|
2011-02-15 18:38:30 +01:00
|
|
|
osx \
|
2010-04-30 12:36:24 +02:00
|
|
|
examples
|
2009-09-17 10:14:44 +02:00
|
|
|
|
2010-02-13 09:52:43 +01:00
|
|
|
dist-hook:
|
2010-04-30 12:36:24 +02:00
|
|
|
rm -rf `find $(distdir)/matlab $(distdir)/examples -name *~`
|
2010-01-13 18:39:59 +01:00
|
|
|
rm -f $(distdir)/matlab/dynare_m$(EXEEXT) $(distdir)/matlab/dynare_version.m
|
2009-11-05 13:12:55 +01:00
|
|
|
$(MKDIR_P) $(distdir)/mex/matlab $(distdir)/mex/octave
|
2011-02-22 16:51:23 +01:00
|
|
|
rm -rf `find $(distdir)/ms-sbvar -name '.git*'`
|