[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xml-security-dev
Subject:    Re: canonicalization
From:       Vitaly Prapirny <marl () mebius ! net>
Date:       2007-08-22 10:14:04
Message-ID: 46CC0C6C.8000106 () mebius ! net
[Download RAW message or body]

frofis wrote:
> Whether instead of exists the project under C ++ Builder
> or
> help to connect xsec_1.lib to C ++ Builder
> implib does not help

I use attached script to produce xml-security 1.1.0 dll with BCB5. Take 
care about changing paths in script according to your setup, changing
file names in version.rc and using following defines in
XSECW32Config.hpp:

#define XSEC_NO_XALAN
//#define HAVE_OPENSSL 1
//#define HAVE_WINCAPI 1

Produced dll is not full featured xml-security library but it is enough
to perform canonicalization.

Good luck!
	Vitaly

["mk.cmd" (text/plain)]

set SDK=..\..
set XSEC_ROOT=%SDK%\ext\xml-security
set XSCPP=%XSEC_ROOT%\xsec
set SRCS=%XSCPP%\canon\XSECC14n20010315.cpp %XSCPP%\canon\XSECCannon.cpp \
%XSCPP%\utils\XSECSafeBuffer.cpp %XSCPP%\utils\XSECSafeBufferFormatter.cpp \
%XSCPP%\utils\XSECXPathNodeList.cpp %XSCPP%\utils\XSECNameSpaceExpander.cpp \
%XSCPP%\utils\XSECPlatformUtils.cpp %XSCPP%\utils\XSECDOMUtils.cpp \
%XSCPP%\utils\winutils\XSECBinHTTPURIInputStream.cpp \
%XSCPP%\framework\XSECException.cpp %XSCPP%\framework\XSECError.cpp \
%XSCPP%\framework\XSECAlgorithmMapper.cpp %XSCPP%\dsig\DSIGConstants.cpp \
%XSCPP%\xenc\impl\XENCCipherImpl.cpp \
%XSCPP%\xenc\impl\XENCAlgorithmHandlerDefault.cpp %XSCPP%\transformers\TXFMChain.cpp \
%XSCPP%\transformers\TXFMBase64.cpp %XSCPP%\transformers\TXFMBase.cpp \
%XSCPP%\transformers\TXFMCipher.cpp set OBJS=XSECC14n20010315.obj XSECCannon.obj \
XSECSafeBuffer.obj XSECSafeBufferFormatter.obj XSECXPathNodeList.obj \
XSECNameSpaceExpander.obj XSECPlatformUtils.obj XSECDOMUtils.obj \
XSECBinHTTPURIInputStream.obj XSECException.obj XSECError.obj XSECAlgorithmMapper.obj \
DSIGConstants.obj XENCCipherImpl.obj XENCAlgorithmHandlerDefault.obj TXFMChain.obj \
TXFMBase64.obj TXFMBase.obj TXFMCipher.obj bcc32 -c -tWM -tWR -tWD -n%SDK%\obj\nb5 \
-I%XSEC_ROOT%;%SDK%\ext\xerces\src -Od -w -Tkh30000 -X- -r- -a8 -5 -b -k -y -v -vi- \
-DWIN32_LEAN_AND_MEAN;_NO_VCL;_VIS_NOLIB;_RTLDLL;PROJ_CANON;PROJ_DSIG %SRCS% brcc32 \
-I%XSEC_ROOT%;%SDK%\ext\xerces\src \
-DWIN32_LEAN_AND_MEAN;_NO_VCL;_VIS_NOLIB;_RTLDLL;PROJ_CANON;PROJ_DSIG \
-fo%SDK%\obj\nb5\xsec_version.res %XSCPP%\framework\version.rc ilink32 -b:0x55F30000 \
-j%SDK%\obj\nb5 -L%SDK%\lib\nb5 -aa -Tpd -tWR -tWM -x -Gn -Gi -v c0d32.obj %OBJS%, \
%SDK%\lib\nb5\xsec-bor_1_1_0.dll,, import32.lib cw32mti.lib \
xerces-bor_2_6_1.lib,,xsec_version.res



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic