new scripts for client login files

This commit is contained in:
Jim Norman 2005-10-21 01:39:55 +00:00
parent a76d92a334
commit 36c3b37bfc
4 changed files with 94 additions and 0 deletions

View File

@ -232,4 +232,20 @@ echo '**** BUILDING NON-DEBUG jmicasa FAILED ****'
exit 1
fi
if (mk-clientlogin-dl d clean all)
then
echo
else
echo '**** BUILDING debug client login FAILED ****'
exit 1
fi
if (mk-clientlogin-ol d clean all)
then
echo
else
echo '**** BUILDING client login FAILED ****'
exit 1
fi

View File

@ -142,3 +142,11 @@ fi
#echo '**** BUILDING miCASA RPM FAILED ****'
#exit 1
#fi
if (mk-clientlogin-ol m clean all)
then
echo
else
echo '**** BUILDING client login FAILED ****'
exit 1
fi

View File

@ -0,0 +1,35 @@
#!/bin/bash
set -x
mk-dirs
cd ../../
PR=`pwd`
cd $PR/make
MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt`
INT_BLD_NO=`cat ibuild.txt`
MAJ_BLD_NO=`cat mbuild.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64
else
ARCH_LIB=
fi
cd $PR/c_clientlogin
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F" $2 $3 $4 $5)
RCODE=$?
cp ./Release/nwautologin ../bin/lux/ndbg/.
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@ -0,0 +1,35 @@
#!/bin/bash
set -x
mk-dirs
cd ../../
PR=`pwd`
cd $PR/make
MAJ_SSS_NO=`cat majver.txt`
MIN_SSS_NO=`cat minver.txt`
REV_SSS_NO=`cat revver.txt`
INT_BLD_NO=`cat ibuild.txt`
MAJ_BLD_NO=`cat mbuild.txt`
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
HOST_ARCH=`uname -a | grep -c x86_64`
if [ $HOST_ARCH -gt 0 ]
then ARCH_LIB=64
else
ARCH_LIB=
fi
cd $PR/c_clientlogin
(make -I $PR/make -f Makefile ROOT=$PR PLAT=lux MODULE=lib XTRA=ndbg MIN_NUM=\"$MIN_SSS_NO\" PROD_NUM=\"$MAJ_SSS_NO\" BLD_VER=\"$BLD_NO\" ARC=\"$ARCH_LIB\" XTRA_CFLAGS="-DSSCS_LINUX_PLAT_F" $2 $3 $4 $5)
RCODE=$?
cp ./Release/nwautologin ../bin/lux/ndbg/.
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi