/[escript]/trunk/mk
ViewVC logotype

Diff of /trunk/mk

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 122 by jgs, Thu Jun 9 05:38:05 2005 UTC revision 145 by jgs, Mon Jul 25 05:43:00 2005 UTC
# Line 16  MODULES="tools/CppUnitTest tools/mmio es Line 16  MODULES="tools/CppUnitTest tools/mmio es
16  TESTS="escript finley"  TESTS="escript finley"
17    
18  # use this setting for local developmental builds  # use this setting for local developmental builds
19  ENVVARS="DODEBUG=YES"  #ENVVARS="DODEBUG=YES"
20    
21    if [ "$2" == "DEBUG" ];
22    then
23        ENVVARS="DODEBUG=YES"
24    fi
25    
26    if [ "$2" == "NODEBUG" ];
27    then
28        ENVVARS="DODEBUG=NO"
29    fi
30    
31  # use this setting for production installs on altix  # use this setting for production installs on altix
32  # ** NB: overwrites centrally installed esys libraries on altix ***  # ** NB: overwrites centrally installed esys libraries on altix ***
# Line 32  ENVVARS="DODEBUG=YES" Line 42  ENVVARS="DODEBUG=YES"
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" ];
# Line 62  then Line 73  then
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

Legend:
Removed from v.122  
changed lines
  Added in v.145

  ViewVC Help
Powered by ViewVC 1.1.26