CASA/mk-cai-all
2005-10-11 19:51:00 +00:00

65 lines
1.4 KiB
Bash

#!/bin/bash
set -x
BR=`pwd`
########################################################################
############################# LINUX BUILDS #############################
########################################################################
if [ "`uname`" = "Linux" ]
then
cd shsrc/lshsrc
(mk-cai-all)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
exit
fi
########################################################################
############################# Windows builds ###########################
########################################################################
if [ "`uname`" = "CYGWIN_NT-5.0" ] || [ "`uname`" = "Windows_NT" ] || [ "`uname`" = "CYGWIN_NT-5.1" ]
then
cd shsrc/wshsrc
(mk-cai-all)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
exit
fi
#
# update build number
#CCM=ccm
#CCM_PROJECT_DIR=$CCM_WORK_AREA/SecretStore_src/
#CCM_PROJECT_DIR=c:/dev/SecretStoreClient_src~cameron_win_400/SecretStoreClient_src/
#cd make
#$CCM task -create -default -synopsis "Updating the build number." -release SecretStore_4.0
#$CCM use /r $CCM_PROJECT_DIR/make/mbuild.txt
#$CCM use /r $CCM_PROJECT_DIR/make/ibuild.txt
# get manager and developer build numbers
#MAJ_BLD_NO=`cat mbuild.txt`
#let MAJ_BLD_NO=$MAJ_BLD_NO+1
#$CCM co $CCM_PROJECT_DIR/make/mbuild.txt
#$CCM co $CCM_PROJECT_DIR/make/ibuild.txt
#echo 0 >ibuild.txt
#echo $MAJ_BLD_NO >mbuild.txt
#$CCM task -ci default