CASA/shsrc/wshsrc/mk-micasaconsole-ow
2005-10-11 19:51:00 +00:00

35 lines
1.1 KiB
Bash

#!/bin/bash
set -x
mk-dirs
TOP=../..
PR=../
cd $TOP/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`
if [ $1 = m ]
then
let MAJ_BLD_NO=MAJ_BLD_NO+1
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO
else
let INT_BLD_NO=INT_BLD_NO+1
export BLD_NO=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO.$INT_BLD_NO
fi
#export BLD_NO=1.0.0
cd $PR/c_gui
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-nowarn:649 -target:exe -r:../bin/w32/md/Novell.CASA.CASAPolicy.dll -r:../bin/w32/md/Novell.CASA.miCASAWrapper.dll -r:../bin/w32/md/Novell.CASA.Common.dll -r:../bin/w32/md/Novell.CASA.A-D.dll -r:../extern/gtk-sharp-2.0/atk-sharp.dll -r:../extern/gtk-sharp-2.0/gdk-sharp.dll -r:../extern/gtk-sharp-2.0/gtk-sharp.dll -r:../extern/gtk-sharp-2.0/glib-sharp.dll -r:../extern/gtk-sharp-2.0/glade-sharp.dll -d:W32 -d:DEBUG" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi