diff options
| -rw-r--r-- | bin10/pascal32.bat | 4 | ||||
| -rw-r--r-- | bin10/pascal64.bat | 4 | ||||
| -rw-r--r-- | plugins/Dbx_mmap_SA/Cryptors/Athena/make.bat | 27 | 
3 files changed, 25 insertions, 10 deletions
diff --git a/bin10/pascal32.bat b/bin10/pascal32.bat index 01845c03a5..c2e5a6d76b 100644 --- a/bin10/pascal32.bat +++ b/bin10/pascal32.bat @@ -26,4 +26,8 @@ pushd Watrack  call make.bat fpc
  popd
 +pushd Dbx_mmap_SA\Cryptors\Athena
 +call make.bat fpc
 +popd
 +
  popd
\ No newline at end of file diff --git a/bin10/pascal64.bat b/bin10/pascal64.bat index 5dc5c61c2d..6f776577c5 100644 --- a/bin10/pascal64.bat +++ b/bin10/pascal64.bat @@ -22,4 +22,8 @@ pushd Watrack  call make.bat fpc64
  popd
 +pushd Dbx_mmap_SA\Cryptors\Athena
 +call make.bat fpc64
 +popd
 +
  popd
\ No newline at end of file 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
  | 
