10 |
#********************************************************************** |
#********************************************************************** |
11 |
|
|
12 |
# the modules to make |
# the modules to make |
13 |
MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley" |
MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley modellib" |
14 |
|
|
15 |
# the tests to run |
# the tests to run |
16 |
TESTS="escript finley" |
TESTS="escript finley" |
42 |
(cd finley; if [ ! -h Makefile ]; then ln -s ./finley.mk Makefile; fi) |
(cd finley; if [ ! -h Makefile ]; then ln -s ./finley.mk Makefile; fi) |
43 |
(cd tools/mmio; if [ ! -h Makefile ]; then ln -s ./mmio.mk Makefile; fi) |
(cd tools/mmio; if [ ! -h Makefile ]; then ln -s ./mmio.mk Makefile; fi) |
44 |
(cd tools/CppUnitTest; if [ ! -h Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi) |
(cd tools/CppUnitTest; if [ ! -h Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi) |
45 |
|
(cd modellib; if [ ! -h Makefile ]; then ln -s ./modellib.mk Makefile; fi) |
46 |
|
|
47 |
# clean all modules |
# clean all modules |
48 |
if [ "$1" == "clean" ]; |
if [ "$1" == "clean" ]; |
73 |
for module in $MODULES ; do \ |
for module in $MODULES ; do \ |
74 |
(echo Installing: $module; cd $module; env $ENVVARS gmake install) \ |
(echo Installing: $module; cd $module; env $ENVVARS gmake install) \ |
75 |
done |
done |
76 |
(cd esys; if [ ! -h escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi) |
(cd esys/escript; if [ ! -h escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi) |
77 |
(cd esys; if [ ! -h finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi) |
(cd esys/finley; if [ ! -h finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi) |
78 |
fi |
fi |
79 |
|
|
80 |
# run the unit tests |
# run the unit tests |