18 |
source ${MLIBDIR}/mage4.functions.sh |
source ${MLIBDIR}/mage4.functions.sh |
19 |
source ${MLIBDIR}/smage2.functions.sh |
source ${MLIBDIR}/smage2.functions.sh |
20 |
|
|
21 |
|
# export default path |
22 |
|
export PATH="${PATH}:${MLIBDIR}" |
23 |
|
|
24 |
## setup ## |
## setup ## |
25 |
SMAGENAME="$1" |
SMAGENAME="$1" |
26 |
SMAGEVERSION="$(< ${MLIBDIR}/version)" |
SMAGEVERSION="$(< ${MLIBDIR}/version)" |
321 |
# setup for distcc goes *before* ccache, so ccache comes before distcc in path |
# setup for distcc goes *before* ccache, so ccache comes before distcc in path |
322 |
mqueryfeature "distcc" && setup_distcc_environment |
mqueryfeature "distcc" && setup_distcc_environment |
323 |
|
|
324 |
|
# setup icecc |
325 |
|
# setup for icecc goes *before* ccache, so ccache comes before icecc in path |
326 |
|
mqueryfeature "icecc" && setup_icecc_environment |
327 |
|
|
328 |
# setup ccache |
# setup ccache |
329 |
mqueryfeature "ccache" && setup_ccache_environment |
mqueryfeature "ccache" && setup_ccache_environment |
330 |
|
|