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

Contents of /trunk/esys2/mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 116 - (show annotations)
Fri Apr 1 05:48:48 2005 UTC (17 years, 11 months ago) by jgs
File size: 1309 byte(s)
Merge of development branch back to main trunk on 2005-04-01
CVg: Committing in .

1 #!/bin/bash
2
3 # $Id$
4 # An explicit building script for esys
5
6 MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"
7
8 if [ "$1" == "clean" ];
9 then
10 for module in $MODULES ; do \
11 (echo Cleaning: $module; cd $module; gmake clean) \
12 done
13 exit
14 fi
15
16 (cd escript/lib; if [ ! -e py_src ]; then mkdir py_src; fi)
17
18 (cd escript/inc; if [ ! -e escript ]; then ln -s ../src escript; fi)
19 (cd esysUtils/inc; if [ ! -e esysUtils ]; then ln -s ../src esysUtils; fi)
20 (cd finley/inc; if [ ! -e finley ]; then ln -s ../src finley; fi)
21
22 (cd escript; if [ ! -e Makefile ]; then ln -s ./escript.mk Makefile; fi)
23 (cd esysUtils; if [ ! -e Makefile ]; then ln -s ./esysUtils.mk Makefile; fi)
24 (cd finley; if [ ! -e Makefile ]; then ln -s ./finley.mk Makefile; fi)
25 (cd tools/mmio; if [ ! -e Makefile ]; then ln -s ./mmio.mk Makefile; fi)
26 (cd tools/CppUnitTest; if [ ! -e Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi)
27
28 for module in $MODULES ; do \
29 (echo Building: $module; cd $module; gmake) \
30 done
31
32 if [ "$1" == "install" ];
33 then
34 for module in $MODULES ; do \
35 (echo Installing: $module; cd $module; gmake install) \
36 done
37 (cd esys; if [ ! -e escriptcpp.so ]; then ln -s ../lib/libescriptcpp.so escriptcpp.so; fi)
38 (cd esys; if [ ! -e finleycpp.so ]; then ln -s ../lib/libfinleycpp.so finleycpp.so; fi)
39 fi

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.26