summaryrefslogtreecommitdiff
path: root/plugins/Dbx_mmap_SA/Cryptors
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-10-09 21:41:08 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-10-09 21:41:08 +0000
commit2ba1e46d537d88326a3b8fc81f84a0bc844fbe4b (patch)
treee932a578994f96c649a74e7daedcfb0a1ceb194d /plugins/Dbx_mmap_SA/Cryptors
parent5592809aedd2d030df6d95d03bba9800e67e039f (diff)
Athena cryptor added to compilation
git-svn-id: http://svn.miranda-ng.org/main/trunk@1853 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dbx_mmap_SA/Cryptors')
-rw-r--r--plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat27
1 files changed, 17 insertions, 10 deletions
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