Build system: fix the creation of tarball

time-shift
Sébastien Villemot 2010-02-13 09:52:43 +01:00
parent a83c0e68c7
commit 8fa10d61cc
5 changed files with 63 additions and 9 deletions

View File

@ -1,8 +1,8 @@
SUBDIRS = preprocessor doc tests
SUBDIRS = preprocessor doc tests mex/sources
if HAVE_BLAS
if HAVE_LAPACK
SUBDIRS += dynare++ mex/sources/estimation/tests mex/sources/estimation/libmat/tests
SUBDIRS += dynare++
endif
endif
@ -18,19 +18,13 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
matlab \
mex/sources \
uncrustify.cfg \
license.txt \
windows/dynare.nsi \
windows/mexopts.bat \
windows/README.txt
clean-local:
rm -rf `find mex/sources -name *.o`
dist-hook: clean-local
rm -rf `find $(distdir) -name .svn`
rm -rf `find $(distdir)/mex/sources -name *.o`
dist-hook:
rm -rf `find $(distdir)/matlab -name *~`
rm -f $(distdir)/matlab/dynare_m$(EXEEXT) $(distdir)/matlab/dynare_version.m
$(MKDIR_P) $(distdir)/mex/matlab $(distdir)/mex/octave

View File

@ -171,7 +171,10 @@ AC_CONFIG_FILES([Makefile
dynare++/integ/testing/Makefile
dynare++/kord/Makefile
dynare++/src/Makefile
mex/sources/Makefile
mex/sources/estimation/Makefile
mex/sources/estimation/tests/Makefile
mex/sources/estimation/libmat/Makefile
mex/sources/estimation/libmat/tests/Makefile
])

20
mex/sources/Makefile.am Normal file
View File

@ -0,0 +1,20 @@
SUBDIRS = estimation
EXTRA_DIST = \
build_matlab.m \
build_matlab_multithread.m \
dynblas.h \
dynlapack.h \
dynmex.h \
mjdgges \
kronecker \
bytecode \
k_order_perturbation \
threads \
kalman
clean-local:
rm -rf `find mex/sources -name *.o`
dist-hook:
rm -rf `find $(distdir)/mex/sources -name *.o -or -name *~`

View File

@ -0,0 +1,19 @@
SUBDIRS = libmat
if HAVE_BLAS
if HAVE_LAPACK
SUBDIRS += tests
endif
endif
EXTRA_DIST = \
DecisionRules.cc \
DecisionRules.hh \
dr1.cpp \
DsgeLikelihood.cpp \
DsgeLikelihood.h \
dynare_resolve.cpp \
Estimation.h \
ioutils.h \
MexUtils.cpp \
MexUtils.h

View File

@ -0,0 +1,18 @@
if HAVE_BLAS
if HAVE_LAPACK
SUBDIRS = tests
endif
endif
EXTRA_DIST = \
BlasBindings.hh
GeneralizedSchurDecomposition.cc \
GeneralizedSchurDecomposition.hh \
LUSolver.cc \
LUSolver.hh \
Matrix.cc \
Matrix.hh \
QRDecomposition.cc \
QRDecomposition.hh \
Vector.cc \
Vector.hh