| 
            Last change
 on this file since 3689 was             1980, checked in by ansari, 24 years ago           | 
        
        
          | 
             
fichiers SMakefile(s) et script (smkmxxx) pour la construction d'ArchTOIPipe avec SOPHYA - base sur les scripts SOPHYA - Reza 03/05/2002 
 
           | 
        
        
          
            
              - 
Property                 svn:executable
 set to                 
*
               
             
           | 
        
        
          | 
            File size:
            1.4 KB
           | 
        
      
      
| Line |   | 
|---|
| 1 | #!/bin/csh
 | 
|---|
| 2 | 
 | 
|---|
| 3 | # ################## ArchTOIPipe-With-Sophya #################### 
 | 
|---|
| 4 | # ##### LAL (Orsay) / IN2P3-CNRS  DAPNIA/SPP (Saclay) / CEA #####
 | 
|---|
| 5 | #  Script for setting up ArchTOIPipe build/install directory
 | 
|---|
| 6 | # ###############################################################  
 | 
|---|
| 7 | 
 | 
|---|
| 8 | if( $#argv < 1 ) then
 | 
|---|
| 9 |   echo "crerep_pipe <nom des repertoires> [nom_machine-compilateur]"
 | 
|---|
| 10 |   echo " - ex: crerep_pipe "\$"GROUP_DIR/PeidaWork HP-UX"
 | 
|---|
| 11 |   echo " - possibilites nom_machine-compilateur"
 | 
|---|
| 12 |   echo "    [AIX-xlC AIX-g++ HP-UX-aCC HP-UX-g++ OSF1-cxx OSF1-g++ Linux-g++ ...]"
 | 
|---|
| 13 |   if($?EROSCXX) then
 | 
|---|
| 14 |     echo "    defaut: `uname`-$EROSCXX"
 | 
|---|
| 15 |   else
 | 
|---|
| 16 |     echo "    pas de defaut donnez explicitement nom_machine-compilateur"
 | 
|---|
| 17 |   endif
 | 
|---|
| 18 |   exit -1
 | 
|---|
| 19 | endif
 | 
|---|
| 20 | 
 | 
|---|
| 21 | set dirl = $1
 | 
|---|
| 22 | if ( ! -e ${dirl} ) then
 | 
|---|
| 23 |   echo ATTENTION REPERTOIRE INEXISTANT:
 | 
|---|
| 24 |   echo ${dirl}
 | 
|---|
| 25 |   exit -1
 | 
|---|
| 26 | endif
 | 
|---|
| 27 | echo "rep. de base: ${dirl}"
 | 
|---|
| 28 | 
 | 
|---|
| 29 | shift
 | 
|---|
| 30 | if( $#argv > 0 ) then
 | 
|---|
| 31 |   set diru = $1
 | 
|---|
| 32 |   echo "machine-compilateur: ${diru}"
 | 
|---|
| 33 | else if ($?EROSCXX) then
 | 
|---|
| 34 |   echo uname=`uname` EROSCXX = $EROSCXX
 | 
|---|
| 35 |   set diru = `uname`-$EROSCXX
 | 
|---|
| 36 |   echo "AUTOMATIQUE machine-compilateur: ${diru}"
 | 
|---|
| 37 | else
 | 
|---|
| 38 |   echo "precisez nom_machine-compilateur ou EROSCXX"
 | 
|---|
| 39 |   exit -1
 | 
|---|
| 40 | endif
 | 
|---|
| 41 | 
 | 
|---|
| 42 | foreach d ( ${dirl}/${diru} \
 | 
|---|
| 43 |             ${dirl}/Include \
 | 
|---|
| 44 |             ${dirl}/${diru}/Exec \
 | 
|---|
| 45 |             ${dirl}/${diru}/Libs ${dirl}/${diru}/ShLibs \
 | 
|---|
| 46 |             ${dirl}/${diru}/Objs )
 | 
|---|
| 47 |   if ( -e $d ) then
 | 
|---|
| 48 |     echo "rep. existant: $d"
 | 
|---|
| 49 |   else
 | 
|---|
| 50 |     echo "rep. cree: $d"
 | 
|---|
| 51 |     mkdir $d
 | 
|---|
| 52 |   endif
 | 
|---|
| 53 | end
 | 
|---|
| 54 | 
 | 
|---|
| 55 | exit 0
 | 
|---|
| 56 | 
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.