/[escript]/trunk/esys2/mk
ViewVC logotype

Diff of /trunk/esys2/mk

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

revision 96 by jgs, Tue Dec 14 05:39:20 2004 UTC revision 103 by jgs, Fri Dec 17 07:43:04 2004 UTC
# Line 2  Line 2 
2  # $Id$  # $Id$
3  # a brutal building script for esys  # a brutal building script for esys
4    
5    export ESYS_ROOT=${ESYS_ROOT:=`pwd`}
6    
7  MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"  MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"
8  #MODULES="escript finley"  #MODULES="escript finley"
9    
# Line 10  then Line 12  then
12      for module in $MODULES ; do \      for module in $MODULES ; do \
13          (echo Cleaning: $module; cd $module; gmake clean) \          (echo Cleaning: $module; cd $module; gmake clean) \
14      done      done
15            exit
16  fi  fi
17    
18  (cd escript/lib; if [ ! -e py_src ]; then mkdir py_src; fi)  (cd escript/lib; if [ ! -e py_src ]; then mkdir py_src; fi)
# Line 25  fi Line 28  fi
28  (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)
29    
30  for module in $MODULES ; do \  for module in $MODULES ; do \
31      (echo Building: $module; cd $module; make) \      (echo Building: $module; cd $module; gmake) \
32  done  done
33    
34  if [ "$1" == "install" ];  if [ "$1" == "install" ];
35  then  then
36      for module in $MODULES ; do \      for module in $MODULES ; do \
37          (echo Installing: $module; cd $module; make install) \          (echo Installing: $module; cd $module; gmake install) \
38      done      done
39      (cd esys; if [ ! -e escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi)      (cd esys; if [ ! -e escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi)
40      (cd esys; if [ ! -e finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi)      (cd esys; if [ ! -e finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi)

Legend:
Removed from v.96  
changed lines
  Added in v.103

  ViewVC Help
Powered by ViewVC 1.1.26