Subversion Repositories lagranto.wrf

Rev

Rev 2 | Rev 11 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2 Rev 7
Line 4... Line 4...
4
# Set some general parameters
4
# Set some general parameters
5
# -----------------------------------------------------------------------------
5
# -----------------------------------------------------------------------------
6
 
6
 
7
# Usage
7
# Usage
8
if ( $#argv == 0 ) then
8
if ( $#argv == 0 ) then
9
  echo "install.sh [lib|core|goodies|links|all] "
9
  echo "install.sh [lib|core|goodies|links|all|clean] "
10
  exit 0
10
  exit 0
11
endif
11
endif
12
 
12
 
13
# Set the mode
13
# Set the mode
14
set mode = $1
14
set mode = $1
Line 80... Line 80...
80
      set libs  = ${lib}
80
      set libs  = ${lib}
81
      set mode  = "lib"
81
      set mode  = "lib"
82
   endif
82
   endif
83
end
83
end
84
 
84
 
-
 
85
# -----------------------------------------------------------------------------
-
 
86
# Make clean 
-
 
87
# -----------------------------------------------------------------------------
-
 
88
 
-
 
89
if ( "${mode}" == "clean" ) then
-
 
90
 
-
 
91
\rm -f caltra/caltra caltra/caltra.o
-
 
92
\rm -f select/select select/select.o select/special.o
-
 
93
\rm -f trace/trace   trace/trace.o
-
 
94
 
-
 
95
foreach tool ( $tools )
-
 
96
  \rm -f goodies/${tool} goodies/${tool}.o 
-
 
97
end
-
 
98
\rm -f goodies/*.mod
-
 
99
 
-
 
100
\rm lib/*.a lib/*.o
-
 
101
 
-
 
102
\rm -f bin/caltra bin/caltra.sh
-
 
103
\rm -f bin/select bin/select.sh bin/seltra bin/seltra.sh
-
 
104
\rm -f bin/trace  bin/trace.sh
-
 
105
foreach tool ( $tools )
-
 
106
  \rm -f bin/${tool} bin/${tool}.sh 
-
 
107
end
-
 
108
\rm -f bin/lagrantohelp.sh
-
 
109
 
-
 
110
exit 0
-
 
111
	
-
 
112
endif
85
 
113
 
86
# -----------------------------------------------------------------------------
114
# -----------------------------------------------------------------------------
87
# Install libraries 
115
# Install libraries 
88
# -----------------------------------------------------------------------------
116
# -----------------------------------------------------------------------------
89
 
117