source: Sophya/trunk/ArchTOIPipe/crerep_pipe@ 2228

Last change on this file since 2228 was 1980, checked in by ansari, 23 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
RevLine 
[1980]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
8if( $#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
19endif
20
21set dirl = $1
22if ( ! -e ${dirl} ) then
23 echo ATTENTION REPERTOIRE INEXISTANT:
24 echo ${dirl}
25 exit -1
26endif
27echo "rep. de base: ${dirl}"
28
29shift
30if( $#argv > 0 ) then
31 set diru = $1
32 echo "machine-compilateur: ${diru}"
33else if ($?EROSCXX) then
34 echo uname=`uname` EROSCXX = $EROSCXX
35 set diru = `uname`-$EROSCXX
36 echo "AUTOMATIQUE machine-compilateur: ${diru}"
37else
38 echo "precisez nom_machine-compilateur ou EROSCXX"
39 exit -1
40endif
41
42foreach 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
53end
54
55exit 0
56
Note: See TracBrowser for help on using the repository browser.