/[escript]/tags/stable-2005-11-09/mk
ViewVC logotype

Annotation of /tags/stable-2005-11-09/mk

Parent Directory Parent Directory | Revision Log Revision Log


Revision 98 - (hide annotations)
Wed Dec 15 03:43:28 2004 UTC (14 years, 11 months ago) by jgs
Original Path: trunk/esys2/mk
File size: 1171 byte(s)
backed out previous update

1 jgs 82 #!/bin/env bash
2     # $Id$
3     # a brutal building script for esys
4    
5 jgs 85 MODULES="tools/CppUnitTest tools/mmio esysUtils escript finley"
6     #MODULES="escript finley"
7 jgs 82
8     if [ "$1" == "clean" ];
9     then
10     for module in $MODULES ; do \
11 jgs 98 (echo Cleaning: $module; cd $module; make clean) \
12 jgs 82 done
13     fi
14    
15     (cd escript/lib; if [ ! -e py_src ]; then mkdir py_src; fi)
16    
17     (cd escript/inc; if [ ! -e escript ]; then ln -s ../src escript; fi)
18     (cd esysUtils/inc; if [ ! -e esysUtils ]; then ln -s ../src esysUtils; fi)
19     (cd finley/inc; if [ ! -e finley ]; then ln -s ../src finley; fi)
20    
21     (cd escript; if [ ! -e Makefile ]; then ln -s ./escript.mk Makefile; fi)
22     (cd esysUtils; if [ ! -e Makefile ]; then ln -s ./esysUtils.mk Makefile; fi)
23     (cd finley; if [ ! -e Makefile ]; then ln -s ./finley.mk Makefile; fi)
24     (cd tools/mmio; if [ ! -e Makefile ]; then ln -s ./mmio.mk Makefile; fi)
25     (cd tools/CppUnitTest; if [ ! -e Makefile ]; then ln -s ./CppUnitTest.mk Makefile; fi)
26    
27     for module in $MODULES ; do \
28     (echo Building: $module; cd $module; make) \
29     done
30    
31 jgs 98 (cd escript/lib; if [ ! -e escript.so ]; then ln -s libescript.so escript.so; fi)
32     (cd finley/lib; if [ ! -e finley.so ]; then ln -s libfinley.so finley.so; fi)

Properties

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

  ViewVC Help
Powered by ViewVC 1.1.26