summaryrefslogtreecommitdiff
path: root/plugins/Actman
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2012-10-08 20:55:40 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2012-10-08 20:55:40 +0000
commitd7f4819e75de560d7ebb8d4c9e9c1bc4f6b55606 (patch)
tree784da594e135d3131bd74208c427bc880cf32331 /plugins/Actman
parent86ae6a950c4843bdefde0100df840f27be8ca911 (diff)
pascal compilation fixes (may need adjustment)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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