summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Actman')
-rw-r--r--plugins/Actman/make.bat30
1 files changed, 16 insertions, 14 deletions
diff --git a/plugins/Actman/make.bat b/plugins/Actman/make.bat
index 3e448f046c..c4737cd44f 100644
--- a/plugins/Actman/make.bat
+++ b/plugins/Actman/make.bat
@@ -1,20 +1,22 @@
-@echo off
-set myopts=-dMiranda
+rem @echo off
+set OUTDIR="..\..\bin10\Release\Plugins"
+if not exist %OUTDIR% mkdir %OUTDIR%
+md tmp
+set myopts=-O3 -Xs -Sd -dMiranda -FEtmp -Fi..\Utils.pas -Fu..\Utils.pas -Fu..\..\include\delphi -Fu..\..\include\delphi\reserve
set dprname=actman.dpr
-..\delphi\brcc32.exe %myopts% options.rc -fooptions.res
-..\delphi\brcc32.exe %myopts% hooks\hooks.rc -fohooks\hooks.res
-..\delphi\brcc32.exe %myopts% tasks\tasks.rc -fotasks\tasks.res
-..\delphi\brcc32.exe %myopts% ua\ua.rc -foua\ua.res
+rem brcc32.exe %myopts% options.rc -fooptions.res
+rem brcc32.exe %myopts% hooks\hooks.rc -fohooks\hooks.res
+rem brcc32.exe %myopts% tasks\tasks.rc -fotasks\tasks.res
+rem brcc32.exe %myopts% ua\ua.rc -foua\ua.res
if /i '%1' == 'fpc' (
- ..\FPC\bin\fpc.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
+ fpc.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
) else if /i '%1' == 'fpc64' (
- ..\FPC\bin64\ppcrossx64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
-) else if /i '%1' == 'xe2' (
- ..\XE2\BIN\dcc32.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
-) else if /i '%1' == 'xe64' (
- ..\XE2\BIN\dcc64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
-) else (
- ..\delphi\dcc32 %myopts% %dprname% %1 %2 %3 %4 %5 %6 %7 %8 %9
+ ppcrossx64.exe %myopts% %dprname% %2 %3 %4 %5 %6 %7 %8 %9
)
+
+move tmp\actman.dll .
+del /Q tmp\*
+rd tmp
+move /y actman.dll ..\..\bin10\Release\Plugins\Actman.dll