[12] | 1 | #!/bin/sh -f |
---|
| 2 | |
---|
| 3 | # |
---|
| 4 | # File produced by the obuild tool version 1.0 |
---|
[13] | 5 | # for the package osc-snovis with version v1r0. |
---|
[12] | 6 | # |
---|
| 7 | |
---|
| 8 | #//////////////////////////////////////////////// |
---|
| 9 | # Usage : |
---|
| 10 | # UNIX> cd some_path/pack/version/obuild |
---|
| 11 | # ( UNIX> chmod a+x sh/build ) |
---|
| 12 | # UNIX> sh/build |
---|
| 13 | # |
---|
| 14 | #//////////////////////////////////////////////// |
---|
| 15 | |
---|
| 16 | obuild_verbose=no |
---|
| 17 | obuild_set_x=no |
---|
| 18 | |
---|
| 19 | obuild_args="" |
---|
| 20 | while test $# -ge 1 ; do |
---|
| 21 | case $1 in |
---|
| 22 | -h) |
---|
| 23 | echo "Usage :" |
---|
| 24 | echo " UNIX> sh/build [Options]" |
---|
| 25 | echo "Options :" |
---|
| 26 | echo " -v : verbose." |
---|
| 27 | echo " -x : execute with set -x." |
---|
| 28 | echo " -* : passed to packages build script." |
---|
| 29 | echo "" |
---|
| 30 | exit ;; |
---|
| 31 | -v) obuild_verbose=yes;obuild_args="${obuild_args} $1" ;; |
---|
| 32 | -x) obuild_set_x=yes;obuild_args="${obuild_args} $1" ;; |
---|
| 33 | *) obuild_args="${obuild_args} $1" ;; |
---|
| 34 | esac |
---|
| 35 | shift |
---|
| 36 | done |
---|
| 37 | |
---|
| 38 | if [ ${obuild_set_x} = yes ] ; then |
---|
| 39 | set -x |
---|
| 40 | fi |
---|
| 41 | |
---|
[13] | 42 | obuild_pwd_osc-snovis_0=`pwd` |
---|
[12] | 43 | cd .. |
---|
| 44 | cd .. |
---|
| 45 | cd .. |
---|
| 46 | obuild_dir_top=`pwd` |
---|
| 47 | |
---|
| 48 | cd "${obuild_dir_top}/obuild/v1r0/obuild" |
---|
| 49 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 50 | echo "build obuild/v1r0 ..." |
---|
| 51 | ./sh/build ${obuild_args} |
---|
| 52 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 53 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 54 | cd "${obuild_dir_top}/foreign/v1r0/obuild" |
---|
| 55 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 56 | echo "build foreign/v1r0 ..." |
---|
| 57 | ./sh/build ${obuild_args} |
---|
| 58 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 59 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 60 | cd "${obuild_dir_top}/zlib/v1r114p3/obuild" |
---|
| 61 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 62 | echo "build zlib/v1r114p3 ..." |
---|
| 63 | ./sh/build ${obuild_args} |
---|
| 64 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 65 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 66 | cd "${obuild_dir_top}/expat/v1r11p6/obuild" |
---|
| 67 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 68 | echo "build expat/v1r11p6 ..." |
---|
| 69 | ./sh/build ${obuild_args} |
---|
| 70 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 71 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 72 | cd "${obuild_dir_top}/Slash/v1r0p0/obuild" |
---|
| 73 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 74 | echo "build Slash/v1r0p0 ..." |
---|
| 75 | ./sh/build ${obuild_args} |
---|
| 76 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 77 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 78 | cd "${obuild_dir_top}/Lib/v8r0/obuild" |
---|
| 79 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 80 | echo "build Lib/v8r0 ..." |
---|
| 81 | ./sh/build ${obuild_args} |
---|
| 82 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 83 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 84 | cd "${obuild_dir_top}/HCL/v7r0/obuild" |
---|
| 85 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 86 | echo "build HCL/v7r0 ..." |
---|
| 87 | ./sh/build ${obuild_args} |
---|
| 88 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 89 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 90 | cd "${obuild_dir_top}/Midnight/v4r0p0/obuild" |
---|
| 91 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 92 | echo "build Midnight/v4r0p0 ..." |
---|
| 93 | ./sh/build ${obuild_args} |
---|
| 94 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 95 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 96 | cd "${obuild_dir_top}/Minuit/v1r140p4/obuild" |
---|
| 97 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 98 | echo "build Minuit/v1r140p4 ..." |
---|
| 99 | ./sh/build ${obuild_args} |
---|
| 100 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 101 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 102 | cd "${obuild_dir_top}/Rio/v7r1/obuild" |
---|
| 103 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 104 | echo "build Rio/v7r1 ..." |
---|
| 105 | ./sh/build ${obuild_args} |
---|
| 106 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 107 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 108 | cd "${obuild_dir_top}/HDF5/v1r165p2/obuild" |
---|
| 109 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 110 | echo "build HDF5/v1r165p2 ..." |
---|
| 111 | ./sh/build ${obuild_args} |
---|
| 112 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 113 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 114 | cd "${obuild_dir_top}/BatchLab/v1r0/obuild" |
---|
| 115 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 116 | echo "build BatchLab/v1r0 ..." |
---|
| 117 | ./sh/build ${obuild_args} |
---|
| 118 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 119 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 120 | cd "${obuild_dir_top}/jpeg/v1r62p1/obuild" |
---|
| 121 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 122 | echo "build jpeg/v1r62p1 ..." |
---|
| 123 | ./sh/build ${obuild_args} |
---|
| 124 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 125 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 126 | cd "${obuild_dir_top}/dvi2bitmap/v1r0132p1/obuild" |
---|
| 127 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 128 | echo "build dvi2bitmap/v1r0132p1 ..." |
---|
| 129 | ./sh/build ${obuild_args} |
---|
| 130 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 131 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 132 | cd "${obuild_dir_top}/freetype2/v1r219p0/obuild" |
---|
| 133 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 134 | echo "build freetype2/v1r219p0 ..." |
---|
| 135 | ./sh/build ${obuild_args} |
---|
| 136 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 137 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 138 | cd "${obuild_dir_top}/CoinGL/v1r244p0/obuild" |
---|
| 139 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 140 | echo "build CoinGL/v1r244p0 ..." |
---|
| 141 | ./sh/build ${obuild_args} |
---|
| 142 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 143 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 144 | cd "${obuild_dir_top}/CoinXt/v1r122p0/obuild" |
---|
| 145 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 146 | echo "build CoinXt/v1r122p0 ..." |
---|
| 147 | ./sh/build ${obuild_args} |
---|
| 148 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 149 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 150 | cd "${obuild_dir_top}/CoinWin/v1r50p4/obuild" |
---|
| 151 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 152 | echo "build CoinWin/v1r50p4 ..." |
---|
| 153 | ./sh/build ${obuild_args} |
---|
| 154 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 155 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 156 | cd "${obuild_dir_top}/CoinQt/v1r130p0/obuild" |
---|
| 157 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 158 | echo "build CoinQt/v1r130p0 ..." |
---|
| 159 | ./sh/build ${obuild_args} |
---|
| 160 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 161 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 162 | cd "${obuild_dir_top}/CoinPython/v1r0/obuild" |
---|
| 163 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 164 | echo "build CoinPython/v1r0 ..." |
---|
| 165 | ./sh/build ${obuild_args} |
---|
| 166 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 167 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 168 | cd "${obuild_dir_top}/HEPVis/v6r6p0/obuild" |
---|
| 169 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 170 | echo "build HEPVis/v6r6p0 ..." |
---|
| 171 | ./sh/build ${obuild_args} |
---|
| 172 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 173 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 174 | cd "${obuild_dir_top}/KUIP/v1r950303p16/obuild" |
---|
| 175 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 176 | echo "build KUIP/v1r950303p16 ..." |
---|
| 177 | ./sh/build ${obuild_args} |
---|
| 178 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 179 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 180 | cd "${obuild_dir_top}/OnX/v17r0/obuild" |
---|
| 181 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 182 | echo "build OnX/v17r0 ..." |
---|
| 183 | ./sh/build ${obuild_args} |
---|
| 184 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 185 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 186 | cd "${obuild_dir_top}/OnXLab/v1r0/obuild" |
---|
| 187 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 188 | echo "build OnXLab/v1r0 ..." |
---|
| 189 | ./sh/build ${obuild_args} |
---|
| 190 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 191 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 192 | cd "${obuild_dir_top}/UseAIDA/v1r0p1/obuild" |
---|
| 193 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 194 | echo "build UseAIDA/v1r0p1 ..." |
---|
| 195 | ./sh/build ${obuild_args} |
---|
| 196 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 197 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 198 | cd "${obuild_dir_top}/OpenPAW/v3r0/obuild" |
---|
| 199 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 200 | echo "build OpenPAW/v3r0 ..." |
---|
| 201 | ./sh/build ${obuild_args} |
---|
| 202 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 203 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 204 | cd "${obuild_dir_top}/G4Lab/v8r0p0/obuild" |
---|
| 205 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 206 | echo "build G4Lab/v8r0p0 ..." |
---|
| 207 | ./sh/build ${obuild_args} |
---|
| 208 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 209 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 210 | cd "${obuild_dir_top}/G4Simple/v2r0p0/obuild" |
---|
| 211 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 212 | echo "build G4Simple/v2r0p0 ..." |
---|
| 213 | ./sh/build ${obuild_args} |
---|
| 214 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 215 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 216 | cd "${obuild_dir_top}/G4Examples/v1r0/obuild" |
---|
| 217 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 218 | echo "build G4Examples/v1r0 ..." |
---|
| 219 | ./sh/build ${obuild_args} |
---|
| 220 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 221 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 222 | cd "${obuild_dir_top}/snovis/v1r0/obuild" |
---|
| 223 | if [ ${obuild_verbose} = yes ] ; then set -x;fi |
---|
| 224 | echo "build snovis/v1r0 ..." |
---|
| 225 | ./sh/build ${obuild_args} |
---|
| 226 | obuild_status=$?;if [ ${obuild_status} != 0 ] ; then exit ${obuild_status};fi |
---|
| 227 | if [ ${obuild_verbose} = yes ] ; then set +x;fi |
---|
| 228 | |
---|
[13] | 229 | cd "${obuild_pwd_osc-snovis_0}" |
---|
| 230 | unset obuild_pwd_osc-snovis_0 |
---|