Build legacy drivers and publish per-OS packages with web activation and DEB
This commit is contained in:
23
clients/windows/build-vc6.bat
Normal file
23
clients/windows/build-vc6.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
rem Run from clients\windows with VC6 (x86) environment and period SDK.
|
||||
if "%1"=="tap" goto tap
|
||||
if "%1"=="native" goto native
|
||||
if "%1"=="filter" goto filter
|
||||
echo Usage: build-vc6 filter [legacy WinpkFilter include directory] OR build-vc6 tap OR build-vc6 native
|
||||
exit /b 2
|
||||
:filter
|
||||
if "%2"=="" goto bad
|
||||
cl /nologo /W3 /O2 /MT /DWIN32 /D_WINDOWS /D_WIN32_WINNT=0x0400 /DMARS_FILTER /I..\..\src /I"%~2" marsnet.cpp client_core.c ..\..\src\ipxpkt.c /FeMARSNET.EXE /link wsock32.lib kernel32.lib /SUBSYSTEM:CONSOLE,4.0
|
||||
if errorlevel 1 exit /b 1
|
||||
exit /b 0
|
||||
:tap
|
||||
cl /nologo /W3 /O2 /MT /DWIN32 /D_WIN32_WINNT=0x0500 /DMARS_TAP /I..\..\src marsnet.cpp client_core.c ..\..\src\ipxpkt.c /FeMARSTAP.EXE /link wsock32.lib kernel32.lib /SUBSYSTEM:CONSOLE,5.0
|
||||
if errorlevel 1 exit /b 1
|
||||
exit /b 0
|
||||
:native
|
||||
cl /nologo /W3 /O2 /MT /DWIN32 /D_WIN32_WINNT=0x0500 /DMARS_NATIVE /I..\..\src marsnet.cpp client_core.c ..\..\src\ipxpkt.c /FeMARSIPX.EXE /link wsock32.lib kernel32.lib advapi32.lib /SUBSYSTEM:CONSOLE,5.0
|
||||
if errorlevel 1 exit /b 1
|
||||
exit /b 0
|
||||
:bad
|
||||
echo Supply the include path containing Common.h from the matching legacy SDK.
|
||||
exit /b 2
|
||||
Reference in New Issue
Block a user