83 lines
4.6 KiB
Plaintext
83 lines
4.6 KiB
Plaintext
|
#!/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
|