Moving company specific files to local.
This commit is contained in:
48
local/mg/create_iwa.csh
Normal file
48
local/mg/create_iwa.csh
Normal file
@@ -0,0 +1,48 @@
|
||||
#!/bin/csh
|
||||
|
||||
if ( $1 == '' ) then
|
||||
echo 'IWA folder is not specified.'
|
||||
exit
|
||||
endif
|
||||
|
||||
mkdir -p $1
|
||||
cd $1
|
||||
setenv IWA `pwd`
|
||||
|
||||
if ( $2 != '' ) then
|
||||
set VVCO=$VCO-$2
|
||||
else
|
||||
set VVCO=$VCO
|
||||
endif
|
||||
|
||||
#
|
||||
# Check out sources.
|
||||
#
|
||||
cvs checkout ic/lv/src ic/ic_superproj/src
|
||||
|
||||
######################
|
||||
cd $IWA/ic/lv
|
||||
mkwa . . $VVCO
|
||||
|
||||
cd $IWA/ic/ic_superproj
|
||||
mkwa . . $VVCO
|
||||
cd $IWA/ic/ic_superproj/$VVCO
|
||||
cglu
|
||||
gmake mk_imports imports
|
||||
|
||||
cd $IWA/ic/lv/$VVCO
|
||||
cglu
|
||||
cm_add_verfiles
|
||||
|
||||
setenv CAL_DWA $DWA
|
||||
setenv CAL_IWA $IWA
|
||||
|
||||
#pmake lcl_exec ic_create_deps
|
||||
|
||||
#
|
||||
# Set path after build. Otherwise tcsh doesn't find binaries.
|
||||
#
|
||||
setenv MGC_HOME $IWA/ic/ic_superproj/$VVCO/Mgc_home
|
||||
setenv MGC_BIN $MGC_HOME/bin
|
||||
setenv PATH $MGC_BIN\:$PATH
|
||||
|
||||
Reference in New Issue
Block a user