Moving micasa 1.5 trunk to Novell forge.

This commit is contained in:
Cameron (Kamran) Mashayekhi
2005-10-11 19:51:00 +00:00
parent 082db33275
commit efe0a5e13c
691 changed files with 116628 additions and 0 deletions

49
shsrc/wshsrc/Readme.txt Normal file
View File

@@ -0,0 +1,49 @@
Make direcotry for Windows client and server.
Make script names take the form of:
mk-xxx-yz
xxx = package name sdk, sss
y = debug(platform dep.) d = (mdd or d2) default debug
o = optimized default optimized
h = (hc, codeview) netware only
z = platform n = netware
w = win32
Make script command line options:
clean = removes all of the object files
all = builds all that is needed
install = copies final binaries to product dir
checkout = checks binaries out of Contiuous for install option
checkin = checks final binaries back into Continuous
Shorthand scripts for making all platforms:
mk-xxx-all
xxx = command line options c = clean
a = all
i = install
Shorthand scripts for making platform specific build:
mk-xxx-yyy
xxx = platform
c32 = Win32 client
nss = NetWare server
wss = Win32 server
yyy = command line options
cal = clean all
all = all
Make scripts for making Beta servers:
mk-beta-ox
x = platform
n = NetWare
w = Win32
Shorthand scripts for making Beta servers for all platforms:
mk-beta-xxx
xxx = command line option
cal = clean all
all = all

153
shsrc/wshsrc/mk-ca-all Normal file
View File

@@ -0,0 +1,153 @@
#!/bin/bash
echo
mk-ibld-no d
if (mk-micasacommon-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED Novell.CASA.Common.dll FAILED ****'
exit 1
fi
if(mk-micasacommon-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG Novell.CASA.Common_mdd.dll FAILED ****'
exit 1
fi
if (mk-micasacache-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED micasacache.dll FAILED ****'
exit 1
fi
if(mk-micasacache-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG micasacache_mdd.dll FAILED ****'
exit 1
fi
if (mk-micasad-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED micasa.exe FAILED ****'
exit 1
fi
if(mk-micasad-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG micasa_mdd.exe FAILED ****'
exit 1
fi
if (mk-micasadk-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED micasadk.dll FAILED ****'
exit 1
fi
if(mk-micasadk-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG micasadk_mdd.dll FAILED ****'
exit 1
fi
if(mk-micasawrap-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG C# WRAPPER FAILED ****'
exit 1
fi
if(mk-micasawrap-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED C# WRAPPER FAILED ****'
exit 1
fi
if(mk-micasapol-dw d clean all)
then
echo
else
echo '**** BUILDING Novell.CASA.CASAPolicy Debug FAILED ****'
exit 1
fi
if(mk-micasapol-ow d clean all)
then
echo
else
echo '**** BUILDING Novell.CASA.CASAPolicy FAILED ****'
exit 1
fi
if(mk-micasa_ad-dw d clean all)
then
echo
else
echo '**** BUILDING Novell.CASA.A-D debug FAILED ****'
exit 1
fi
if(mk-micasa_ad-ow d clean all)
then
echo
else
echo '**** BUILDING Novell.CASA.A-D FAILED ****'
exit 1
fi
if(mk-micasaconsole-dw d clean all)
then
echo
else
echo '**** BUILDING CASAManager Debug FAILED ****'
exit 1
fi
if(mk-micasaconsole-ow d clean all)
then
echo
else
echo '**** BUILDING CASAManager FAILED ****'
exit 1
fi
if(mk-jmicasa-dw d clean all)
then
echo
else
echo '**** BUILDING DEBUG JNI LIBRARY FAILED ****'
exit 1
fi
if(mk-jmicasa-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED JNI LIBRARY FAILED ****'
exit 1
fi

93
shsrc/wshsrc/mk-cai-all Normal file
View File

@@ -0,0 +1,93 @@
#!/bin/bash
echo
mk-ibld-no m
#if (mk-micasacommon-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING OPTIMIZED Novell.CASA.Common.dll FAILED ****'
#exit 1
#fi
if (mk-micasacache-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED micasacache.dll FAILED ****'
exit 1
fi
#if (mk-micasad-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING OPTIMIZED micasa.exe FAILED ****'
#exit 1
#fi
if (mk-micasadk-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED micasadk.dll FAILED ****'
exit 1
fi
#if(mk-sshtst-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING DEBUG sshtst.exe FAILED ****'
#exit 1
#fi
#if(mk-micasawrap-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING OPTIMIZED C# WRAPPER FAILED ****'
#exit 1
#fi
#if(mk-micasapol-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING Novell.CASA.CASAPolicy FAILED ****'
#exit 1
#fi
#if(mk-micasa_ad-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING Novell.CASA.A-D FAILED ****'
#exit 1
#fi
#if(mk-micasaconsole-ow d clean all)
#then
#echo
#else
#echo '**** BUILDING CASAManager FAILED ****'
#exit 1
#fi
if(mk-jmicasa-ow d clean all)
then
echo
else
echo '**** BUILDING OPTIMIZED JNI LIBRARY FAILED ****'
exit 1
fi
if(mk-casa-msi d clean all)
then
echo
else
echo '**** BUILDING MSI FAILED ****'
exit 1
fi

32
shsrc/wshsrc/mk-casa-msi Normal file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $PR/vs_solutions/CASAInstall
pwd
devenv /rebuild release CASA.sln
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
cp release/* ../../products/install/w32/

View File

@@ -0,0 +1,19 @@
#!/bin/bash
TOP=../../..
BR=../..
PR=../../
set -x
mk-dirs
cd $TOP/make
cd $BR/c_test/c_sample
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
#rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,19 @@
#!/bin/bash
TOP=../../..
BR=../..
PR=../../
set -x
mk-dirs
cd $TOP/make
cd $BR/c_test/c_sample
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
#rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_test/c_sharp_sample
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-r:../../bin/w32/mdd/Novell.CASA.miCASAWrapper_mdd.dll -target:exe -debug" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_test/c_sharp_sample
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-r:../../bin/w32/md/Novell.CASA.miCASAWrapper.dll -target:exe -debug" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

18
shsrc/wshsrc/mk-dirs Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
TOP=../..
mkdir $TOP/bin> /dev/null 2>&1
mkdir $TOP/bin/w32> /dev/null 2>&1
mkdir $TOP/bin/w32/md> /dev/null 2>&1
mkdir $TOP/bin/w32/mdd> /dev/null 2>&1
mkdir $TOP/lib> /dev/null 2>&1
mkdir $TOP/lib/w32> /dev/null 2>&1
mkdir $TOP/lib/w32/md> /dev/null 2>&1
mkdir $TOP/lib/w32/mdd> /dev/null 2>&1
mkdir $TOP/obj> /dev/null 2>&1
mkdir $TOP/obj/w32> /dev/null 2>&1
mkdir $TOP/obj/w32/md> /dev/null 2>&1
mkdir $TOP/obj/w32/mdd> /dev/null 2>&1

83
shsrc/wshsrc/mk-ibld-no Normal file
View File

@@ -0,0 +1,83 @@
#!/bin/bash
TOP=../..
BR=..
cd $TOP/make
echo
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)
let INT_BLD_NO=INT_BLD_NO+1
NWIN_SSS_BLD=$MAJ_SSS_NO,$MIN_SSS_NO,$REV_SSS_NO,$MAJ_BLD_NO
FSGEN_SSS_BLD=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO.$INT_BLD_NO
SSGEN_SSS_BLD=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
SSGEN_SSS_VER=0x000$MAJ_SSS_NO'0'$MIN_SSS_NO'0'$REV_SSS_NO'L'
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* > $BR/include/ssbldver.h
echo \/\/\ \* This file is automatically generated by SecretStore Build >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo \#ifndef _SS_BLDVER_H_ >> $BR/include/ssbldver.h
echo \#define _SS_BLDVER_H_ >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo \#define WSS_BLD_NO $NWIN_SSS_BLD >> $BR/include/ssbldver.h
echo \#define SSS_VERSION_NUMBER $SSGEN_SSS_VER >> $BR/include/ssbldver.h
echo \#define WSS_BLD_STR \"$FSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define GSS_BLD_STR \"$SSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define NSS_BLD_STR \"$FSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define SSS_COPYRIGHT_STR \"Copyright <20> 1998-2004 Novell, Inc.\" >> $BR/include/ssbldver.h
echo \#define SSS_PATENT_STR \"U.S. Patent No. 5,818,936, Second Patent Pending.\" >> $BR/include/ssbldver.h
echo \#define SSS_WCLIENT_STRING \"Novell SecretStore Client Service\\r\\nFor Win32 Operating Systems.\" >> $BR/include/ssbldver.h
echo \#define SSS_COMPANY_STR \"Novell, Inc.\" >> $BR/include/ssbldver.h
echo \#define SSS_PRODUCT_STR \"Novell SecretStore Client Service.\" >> $BR/include/ssbldver.h
if [ $1 = d ]
then
echo \#define SSS_DEVBLD_STR \"Internal Development Build.\" >> $BR/include/ssbldver.h
else
echo \#define SSS_DEVBLD_STR \"Build Management Build.\" >> $BR/include/ssbldver.h
fi
echo \#define SSS_DEBUG_VER_STR \"Internal Debug Build.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_STR \"nssgss.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_STR_DBG \"nssgss_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_PR_STRING \"Novell SecretStore Client Service GSS Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_STR \"nssncp.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_STR_DBG \"nssncp_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_PR_STRING \"Novell SecretStore Client Service NCP Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_STR \"nssldp.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_STR_DBG \"nssldp_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_PR_STRING \"Novell SecretStore Client Service LDAP Trnasport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_STR \"nsssaml.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_STR_DBG \"nsssaml_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_PR_STRING \"Novell SecretStore Client Service SAML Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_STR \"nssnmas.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_STR_DBG \"nsssnmas_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_PR_STRING \"Novell SecretStore Client Service NMAS Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR \"nssinitsync.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR_DBG \"nssinitsync.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_PR_STRING \"Novell SecretStore Client Service Initialization and Synchronization Engine.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR \"nsssdk.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR_DBG \"nsssdk.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_PR_STRING \"Novell SecretStore Client Service SDK APIs.\" >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo \#endif \/\* _SS_BLDVER_H_ >> $BR/include/ssbldver.h \*\/
echo >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo

View File

@@ -0,0 +1,54 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $PR/c_jwrapper/src
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/jar cvf ../../lib/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
cd ../jnsscs
(../$BR/$GNU_I/make -I ../$BR/make -f makefile ROOT=../$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-I\"..\..\include\" -I\"$JAVA_HOME\include\" -I\"$JAVA_HOME\include\win32\" -D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,54 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $PR/c_jwrapper/src
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/jar cvf ../../lib/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
cd ../jnsscs
(../$BR/$GNU_I/make -I ../$BR/make -f makefile ROOT=../$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-I\"..\..\include\" -I\"$JAVA_HOME\include\" -I\"$JAVA_HOME\include\win32\" -D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,53 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $PR/c_jwrapper/src
($JAVA_HOME/bin/javac com/novell/casa/MiCasa.java)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/jar cvf ../../lib/miCASA.jar com/novell/casa/MiCasa.class com/novell/casa/NetCredential.class com/novell/casa/MiCasaException.class)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
($JAVA_HOME/bin/javah -d ../../include com.novell.casa.MiCasa)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
fi
cd ../jnsscs
(../$BR/$GNU_I/make -I ../$BR/make -f makefile ROOT=../$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-I\"..\..\include\" -I\"$JAVA_HOME\include\" -I\"$JAVA_HOME\include\win32\" -D\"N_PLAT_CLIENT\" -MD -Od -Z7" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

83
shsrc/wshsrc/mk-mbld-no Normal file
View File

@@ -0,0 +1,83 @@
#!/bin/bash
TOP=../..
BR=..
cd $TOP/make
echo
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`
let MAJ_BLD_NO=MAJ_BLD_NO+1
let INT_BLD_NO=0
NWIN_SSS_BLD=$MAJ_SSS_NO,$MIN_SSS_NO,$REV_SSS_NO,$MAJ_BLD_NO
FSGEN_SSS_BLD=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO.$MAJ_BLD_NO.$INT_BLD_NO
SSGEN_SSS_BLD=$MAJ_SSS_NO.$MIN_SSS_NO.$REV_SSS_NO
SSGEN_SSS_VER=0x000$MAJ_SSS_NO'0'$MIN_SSS_NO'0'$REV_SSS_NO'L'
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* > $BR/include/ssbldver.h
echo \/\/\ \* This file is automatically generated by SecretStore Build >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo \#ifndef _SS_BLDVER_H_ >> $BR/include/ssbldver.h
echo \#define _SS_BLDVER_H_ >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo \#define WSS_BLD_NO $NWIN_SSS_BLD >> $BR/include/ssbldver.h
echo \#define SSS_VERSION_NUMBER $SSGEN_SSS_VER >> $BR/include/ssbldver.h
echo \#define WSS_BLD_STR \"$FSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define GSS_BLD_STR \"$SSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define NSS_BLD_STR \"$FSGEN_SSS_BLD\" >> $BR/include/ssbldver.h
echo \#define SSS_COPYRIGHT_STR \"Copyright <20> 1998-2004 Novell, Inc.\" >> $BR/include/ssbldver.h
echo \#define SSS_PATENT_STR \"U.S. Patent No. 5,818,936, Second Patent Pending.\" >> $BR/include/ssbldver.h
echo \#define SSS_WCLIENT_STRING \"Novell SecretStore Client Service\\r\\nFor Win32 Operating Systems.\" >> $BR/include/ssbldver.h
echo \#define SSS_COMPANY_STR \"Novell, Inc.\" >> $BR/include/ssbldver.h
echo \#define SSS_PRODUCT_STR \"Novell SecretStore Client Service.\" >> $BR/include/ssbldver.h
if [ $1 = d ]
then
echo \#define SSS_DEVBLD_STR \"Internal Development Build.\" >> $BR/include/ssbldver.h
else
echo \#define SSS_DEVBLD_STR \"Build Management Build.\" >> $BR/include/ssbldver.h
fi
echo \#define SSS_DEBUG_VER_STR \"Internal Debug Build.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_STR \"nssgss.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_STR_DBG \"nssgss_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSGSS_PR_STRING \"Novell SecretStore Client Service GSS Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_STR \"nssncp.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_STR_DBG \"nssncp_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNCP_PR_STRING \"Novell SecretStore Client Service NCP Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_STR \"nssldp.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_STR_DBG \"nssldp_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSLDP_PR_STRING \"Novell SecretStore Client Service LDAP Trnasport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_STR \"nsssaml.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_STR_DBG \"nsssaml_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSSAML_PR_STRING \"Novell SecretStore Client Service SAML Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_STR \"nssnmas.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_STR_DBG \"nsssnmas_mdd.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSNMAS_PR_STRING \"Novell SecretStore Client Service NMAS Transport Plugin.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR \"nssinitsync.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR_DBG \"nssinitsync.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_PR_STRING \"Novell SecretStore Client Service Initialization and Synchronization Engine.\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR \"nsssdk.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_STR_DBG \"nsssdk.dll\" >> $BR/include/ssbldver.h
echo \#define SSS_NSSINITSYNC_PR_STRING \"Novell SecretStore Client Service SDK APIs.\" >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo >> $BR/include/ssbldver.h
echo \#endif \/\* _SS_BLDVER_H_ >> $BR/include/ssbldver.h \*\/
echo >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo \/\/\ \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* >> $BR/include/ssbldver.h
echo

35
shsrc/wshsrc/mk-micasa-dw Normal file
View File

@@ -0,0 +1,35 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $BR/c_common
COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $BR/c_micasadk)
cd $BR/c_micasadk
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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_adlib
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -r:../bin/w32/md/Novell.CASA.CASAPolicy.dll -r:../bin/w32/md/Novell.CASA.miCASAWrapper.dll -r:../extern/gtk-sharp-2.0/gtk-sharp.dll -r:../extern/gtk-sharp-2.0/glib-sharp.dll -d:W32 -d:DEBUG" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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_adlib
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -r:../bin/w32/md/Novell.CASA.CASAPolicy.dll -r:../bin/w32/md/Novell.CASA.miCASAWrapper.dll -r:../extern/gtk-sharp-2.0/gtk-sharp.dll -r:../extern/gtk-sharp-2.0/glib-sharp.dll -d:W32" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,35 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $BR/c_common
COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $BR/c_micasacache)
cd $BR/c_micasacache
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"SSCS_WIN32_PLAT_F\" -D\"N_PLAT_CLIENT\" -MTd -Od -Zi -GZ" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,35 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $BR/c_common
COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $BR/c_micasacache)
cd $BR/c_micasacache
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"SSCS_WIN32_PLAT_F\" -D\"N_PLAT_CLIENT\" -MTd -Od -Zi -GZ" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_micasad/lib
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -d:W32 -d:DEBUG -r:extern/AppModule.InterProcessComm.dll -r:extern/AppModule.NamedPipes.dll" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_micasad/lib
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -d:W32 -r:extern/AppModule.InterProcessComm.dll -r:extern/AppModule.NamedPipes.dll" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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 -d:DEBUG -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=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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

View File

@@ -0,0 +1,34 @@
#!/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_micasad
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:winexe -d:W32 -d:TRACE -d:DEBUG -debug:full -r:../bin/w32/mdd/Novell.CASA.Common_mdd.dll" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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_micasad
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:winexe -d:W32 -r:../bin/w32/md/Novell.CASA.Common.dll" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,35 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $BR/c_common
COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $BR/c_micasadk)
cd $BR/c_micasadk
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"N_PLAT_CLIENT\" -MDd -Od -Z7" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,35 @@
#!/bin/bash
TOP=../..
BR=..
PR=../
set -x
mk-dirs
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
cd $BR/c_common
COMMON_FILES=$(ls)
(ln -f $COMMON_FILES $BR/c_micasadk)
cd $BR/c_micasadk
($BR/$GNU_I/make -I $BR/make -f makefile ROOT=$PR PLAT=w32 MODULE=client BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-D\"N_PLAT_CLIENT\" -MD -Od -Z7" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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_policy
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -d:W32 -d:DEBUG" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,34 @@
#!/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_policy
pwd
($PR/$GNU_I/make -I $PR/make -f makefile ROOT=$PR PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -d:W32" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_sharp/NSSCSWrapper
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -debug -r:../../bin/w32/mdd/Novell.CASA.Common_mdd.dll" XTRA=mdd $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

View File

@@ -0,0 +1,32 @@
#!/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
cd $PR/c_sharp/NSSCSWrapper
($TOP/$GNU_I/make -I $TOP/make -f makefile ROOT=$TOP PLAT=w32 MODULE=cslib BLD_VER=\"$BLD_NO\" XTRA_CFLAGS="-target:library -r:../../bin/w32/md/Novell.CASA.Common.dll" XTRA=md $2 $3 $4 $5 $6)
RCODE=$?
rm -f $COMMON_FILES
if(test $RCODE != 0)
then
exit $RCODE
else
exit 0
fi

4
shsrc/wshsrc/rm-dirs Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
rm -rf ../../bin
rm -rf ../../lib
rm -rf ../../obj