blob: 19cd5ba3d6d4f0cc5cd61aa51c325467181d4bc6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
@echo off
echo Building Resources...
rc /r /fo ".\BanControl.res" ..\res\BanControl.rc
echo Building ANSI version...
\masm32\bin\ml /nologo /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res
if errorlevel 1 goto errlink
move /Y BanControl.dll ..\bin\BanControlA_d.dll
\masm32\bin\ml /nologo /c /coff /Cp ..\plugin\BanControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res
if errorlevel 1 goto errlink
move /Y BanControl.dll ..\bin\BanControlA.dll
echo Building Unicode version...
\masm32\bin\ml /nologo /D_UNICODE /c /coff /Zi /Fl /Fm /Cp ..\plugin\BanControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DEBUG /DEBUGTYPE:CV /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res
if errorlevel 1 goto errlink
move /Y BanControl.dll ..\bin\BanControlW_d.dll
\masm32\bin\ml /nologo /D_UNICODE /c /coff /Cp ..\plugin\BanControl.asm
if errorlevel 1 goto errasm
\masm32\bin\Link /nologo /DLL /DEF:..\plugin\BanControl.def /SUBSYSTEM:WINDOWS /LIBPATH:\masm32\lib BanControl.obj BanControl.res
if errorlevel 1 goto errlink
move /Y BanControl.dll ..\bin\BanControlW.dll
Echo Done.
cd
goto TheEnd
:errasm
echo _
echo Assembly Error
goto TheEnd
:errlink
echo _
echo Link Error
:TheEnd
pause
|