my_build_sys.bat

来自「文件驱动加密,功能强大,可产生加密分区,支持AES,MD2,MD4,MD5MD2」· Batch 代码 · 共 33 行

BAT
33
字号
@echo off

rem Set the build environment
call ..\..\Common\bin\setup_env_common
call ..\..\Common\bin\setup_env_driver


rem Move into the correct src directory...
%PROJECT_DRIVE%
cd %PROJECT_DIR%\HASH_DRIVERS\HASH_MD\src

rem The build utility can't handle source files not being in the same dir
copy ..\..\..\..\..\Common\Common\src\* .
copy ..\..\..\Common\src\* .
copy ..\..\Common\src\* .

rem Implementation...
copy ..\..\..\..\..\Common\HASH_DRIVERS\HASH_MD\* .

rem libtomcrypt library...
copy ..\..\..\..\..\3rd_party\libtomcrypt\crypt-0.94\md2.c .
copy ..\..\..\..\..\3rd_party\libtomcrypt\crypt-0.94\md4.c .
copy ..\..\..\..\..\3rd_party\libtomcrypt\crypt-0.94\md5.c .
rem md2 requires "zeromem" function
copy ..\..\..\..\..\3rd_party\libtomcrypt\crypt-0.94\mem.c .

echo Building SYS...
build -cgZ

rem Copying the binary over...
copy %FREEOTFE_OUTPUT_DIR%\FreeOTFEHashMD.sys %BIN_OUTPUT_DIR%

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?