From 2ba1e46d537d88326a3b8fc81f84a0bc844fbe4b Mon Sep 17 00:00:00 2001 From: Vadim Dashevskiy Date: Tue, 9 Oct 2012 21:41:08 +0000 Subject: Athena cryptor added to compilation git-svn-id: http://svn.miranda-ng.org/main/trunk@1853 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) (limited to 'plugins/Dbx_mmap_SA') diff --git a/plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat b/plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat index bccf7a792a..a69a30549f 100644 --- a/plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat +++ b/plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat @@ -1,13 +1,20 @@ @echo off -..\delphi\brcc32.exe athena.rc -foathena.res if /i '%1' == 'fpc' ( - ..\FPC\bin\fpc.exe athena.dpr %2 %3 %4 %5 %6 %7 %8 %9 + set OUTDIR="..\..\..\..\bin10\Release\Plugins\Cryptors" + set FPCBIN=fpc.exe ) else if /i '%1' == 'fpc64' ( - ..\FPC\bin64\ppcrossx64.exe athena.dpr %2 %3 %4 %5 %6 %7 %8 %9 -) else if /i '%1' == 'xe2' ( - ..\XE2\BIN\dcc32.exe athena.dpr %2 %3 %4 %5 %6 %7 %8 %9 -) else if /i '%1' == 'xe64' ( - ..\XE2\BIN\dcc64.exe athena.dpr %2 %3 %4 %5 %6 %7 %8 %9 -) else ( - ..\delphi\dcc32 athena.dpr %1 %2 %3 %4 %5 %6 %7 %8 %9 -) \ No newline at end of file + set OUTDIR="..\..\..\..\bin10\Release64\Plugins\Cryptors" + set FPCBIN=ppcrossx64.exe +) +set PROJECT=Athena + +if not exist %OUTDIR% mkdir %OUTDIR% +md tmp + +rem brcc32.exe %myopts% athena.rc -fooathena.res + +%FPCBIN% @..\..\..\Utils.pas\fpc.cfg %PROJECT%.dpr %2 %3 %4 %5 %6 %7 %8 %9 + +move .\tmp\%PROJECT%.dll %OUTDIR% +del /Q tmp\* +rd tmp -- cgit v1.2.3