/[escript]/trunk/mk
ViewVC logotype

Diff of /trunk/mk

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

revision 119 by jgs, Fri Apr 1 05:48:48 2005 UTC revision 120 by jgs, Tue Apr 12 04:46:34 2005 UTC
# Line 5  Line 5 
5    
6  MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"  MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"
7    
8    # use for local developmental builds
9    ENVVARS="DODEBUG=YES"
10    
11    # use for production installs  - NB: overwrites installed esys llibraries
12    #ENVVARS="L_INSTLIB_DIR=/raid2/tools/esys/lib L_PYTH_DIR=/raid2/tools/esys/esys"
13    
14  if [ "$1" == "clean" ];  if [ "$1" == "clean" ];
15  then  then
16      for module in $MODULES ; do \      for module in $MODULES ; do \
# Line 26  fi Line 32  fi
32  (cd tools/CppUnitTest; if [ ! -e Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi)  (cd tools/CppUnitTest; if [ ! -e Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi)
33    
34  for module in $MODULES ; do \  for module in $MODULES ; do \
35      (echo Building: $module; cd $module; gmake) \      (echo Building: $module; cd $module; env $ENVVARS gmake) \
36  done  done
37    
38  if [ "$1" == "install" ];  if [ "$1" == "install" ];
39  then  then
40      for module in $MODULES ; do \      for module in $MODULES ; do \
41          (echo Installing: $module; cd $module; gmake install) \          (echo Installing: $module; cd $module; env $ENVVARS gmake install ) \
42      done      done
     (cd esys; if [ ! -e escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi)  
     (cd esys; if [ ! -e finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi)  
43  fi  fi
44    
45    (cd esys; if [ ! -e escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi)
46    (cd esys; if [ ! -e finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi)

Legend:
Removed from v.119  
changed lines
  Added in v.120

  ViewVC Help
Powered by ViewVC 1.1.26