Last change
on this file since 1677 was
1677,
checked in by aclsce, 12 years ago
|
Imported oasis3 (tag ipslcm5a) from cvs server to svn server (igcmg project).
|
File size:
681 bytes
|
Line | |
---|
1 | ################################# Directories ################################ |
---|
2 | # |
---|
3 | # Container 'Build the build' : make build directories if needed |
---|
4 | # |
---|
5 | |
---|
6 | libs=${BLDROOT}/lib |
---|
7 | [ -d $libs ] || mkdir -p $libs |
---|
8 | |
---|
9 | lib=${BLDROOT}/build/lib |
---|
10 | |
---|
11 | BLDLIBS=" " |
---|
12 | bldlib="" |
---|
13 | for library in $srclibs; do |
---|
14 | if [ $library = psmile ] || \ |
---|
15 | [ $library = clim ] ; then |
---|
16 | bldlib=${library}.${CHAN} |
---|
17 | else |
---|
18 | bldlib=${library} |
---|
19 | fi |
---|
20 | if [ ! -d ${lib}/$bldlib ]; then |
---|
21 | echo 'Making build directory '${lib}/$bldlib' ...' |
---|
22 | mkdir -p ${lib}/$bldlib |
---|
23 | fi |
---|
24 | ${cp} -p ${SRCROOT}/src/lib/$library/src/Makefile ${lib}/$bldlib |
---|
25 | BLDLIBS=${BLDLIBS}" "$bldlib |
---|
26 | done |
---|
27 | export BLDLIBS |
---|
28 | |
---|
29 | cd ${lib}/$bldlib |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.