source: Sophya/trunk/SophyaLib/Mgr/crerep_peida@ 755

Last change on this file since 755 was 663, checked in by ansari, 26 years ago

Preparation pour tag V_Oct99 , Reza 29/11/99

  • Property svn:executable set to *
File size: 1.2 KB
RevLine 
[218]1#!/bin/csh
2
3if( $#argv < 1 ) then
4 echo "crerep_peida <nom des repertoires> [nom_machine-compilateur]"
5 echo " - ex: crerep_peida "\$"GROUP_DIR/PeidaWork HP-UX"
6 echo " - possibilites nom_machine-compilateur"
7 echo " [AIX-xlC AIX-g++ HP-UX-aCC HP-UX-g++ OSF1-cxx OSF1-g++ Linux-g++ ...]"
8 if($?EROSCXX) then
9 echo " defaut: `uname`-$EROSCXX"
10 else
11 echo " pas de defaut donnez explicitement nom_machine-compilateur"
12 endif
13 exit -1
14endif
15
16set dirl = $1
17if ( ! -e ${dirl} ) then
18 echo ATTENTION REPERTOIRE INEXISTANT:
19 echo ${dirl}
20 exit -1
21endif
22echo "rep. de base: ${dirl}"
23
24shift
25if( $#argv > 0 ) then
26 set diru = $1
27 echo "machine-compilateur: ${diru}"
28else if ($?EROSCXX) then
29 echo uname=`uname` EROSCXX = $EROSCXX
30 set diru = `uname`-$EROSCXX
31 echo "AUTOMATIQUE machine-compilateur: ${diru}"
32else
33 echo "precisez nom_machine-compilateur ou EROSCXX"
34 exit -1
35endif
36
37foreach d ( ${dirl}/${diru} \
[663]38 ${dirl}/Include \
[218]39 ${dirl}/${diru}/Exec \
40 ${dirl}/${diru}/Libs ${dirl}/${diru}/ShLibs \
41 ${dirl}/${diru}/Objs )
42 if ( -e $d ) then
43 echo "rep. existant: $d"
44 else
45 echo "rep. cree: $d"
46 mkdir $d
47 endif
48end
49
50exit 0
Note: See TracBrowser for help on using the repository browser.