From 3642c92faa3ac8831127a279a01b707ed8e72dcf Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 20 Jul 2004 11:55:06 +0000 Subject: More updates from Brian --- scripts/conf-w32brg/gnupg/gnupg.dsp | 386 +++++ scripts/conf-w32brg/gnupg/gnupg.vcproj | 347 +++++ scripts/conf-w32brg/gpg/gpg.sln | 21 - scripts/conf-w32brg/gpg/gpg.suo | Bin 10240 -> 0 bytes scripts/conf-w32brg/gpg/gpg.vcproj | 1794 ----------------------- scripts/conf-w32brg/mpi/nasm586/mpih-add1.asm | 116 -- scripts/conf-w32brg/mpi/nasm586/mpih-lshift.asm | 185 --- scripts/conf-w32brg/mpi/nasm586/mpih-mul1.asm | 70 - scripts/conf-w32brg/mpi/nasm586/mpih-mul2.asm | 73 - scripts/conf-w32brg/mpi/nasm586/mpih-mul3.asm | 72 - scripts/conf-w32brg/mpi/nasm586/mpih-rshift.asm | 187 --- scripts/conf-w32brg/mpi/nasm586/mpih-sub1.asm | 114 -- scripts/conf-w32brg/nasm586/mpih-add1.asm | 116 ++ scripts/conf-w32brg/nasm586/mpih-lshift.asm | 185 +++ scripts/conf-w32brg/nasm586/mpih-mul1.asm | 70 + scripts/conf-w32brg/nasm586/mpih-mul2.asm | 73 + scripts/conf-w32brg/nasm586/mpih-mul3.asm | 72 + scripts/conf-w32brg/nasm586/mpih-rshift.asm | 187 +++ scripts/conf-w32brg/nasm586/mpih-sub1.asm | 114 ++ scripts/conf-w32brg/util/util.dsp | 158 ++ scripts/conf-w32brg/util/util.vcproj | 156 ++ scripts/conf-w32brg/zlib/zlib.dsp | 194 +++ scripts/conf-w32brg/zlib/zlib.vcproj | 183 +++ 23 files changed, 2241 insertions(+), 2632 deletions(-) create mode 100644 scripts/conf-w32brg/gnupg/gnupg.dsp create mode 100644 scripts/conf-w32brg/gnupg/gnupg.vcproj delete mode 100644 scripts/conf-w32brg/gpg/gpg.sln delete mode 100644 scripts/conf-w32brg/gpg/gpg.suo delete mode 100644 scripts/conf-w32brg/gpg/gpg.vcproj delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-add1.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-lshift.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-mul1.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-mul2.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-mul3.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-rshift.asm delete mode 100644 scripts/conf-w32brg/mpi/nasm586/mpih-sub1.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-add1.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-lshift.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-mul1.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-mul2.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-mul3.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-rshift.asm create mode 100644 scripts/conf-w32brg/nasm586/mpih-sub1.asm create mode 100644 scripts/conf-w32brg/util/util.dsp create mode 100644 scripts/conf-w32brg/util/util.vcproj create mode 100644 scripts/conf-w32brg/zlib/zlib.dsp create mode 100644 scripts/conf-w32brg/zlib/zlib.vcproj diff --git a/scripts/conf-w32brg/gnupg/gnupg.dsp b/scripts/conf-w32brg/gnupg/gnupg.dsp new file mode 100644 index 000000000..ec04f0952 --- /dev/null +++ b/scripts/conf-w32brg/gnupg/gnupg.dsp @@ -0,0 +1,386 @@ +# Microsoft Developer Studio Project File - Name="gnupg" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Console Application" 0x0103 + +CFG=gnupg - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "gnupg.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "gnupg.mak" CFG="gnupg - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "gnupg - Win32 Debug" (based on "Win32 (x86) Console Application") +!MESSAGE "gnupg - Win32 Release" (based on "Win32 (x86) Console Application") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "gnupg - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MLd /I "..\" /I "..\..\..\include" /I "..\..\..\zlib" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD CPP /nologo /MLd /I "..\" /I "..\..\..\include" /I "..\..\..\zlib" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /out:"..\bin\gpg.exe" /incremental:yes /libpath:"..\bin" /debug /pdb:"Debug\gpg.pdb" /pdbtype:sept /subsystem:console /machine:ix86 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /out:"..\bin\gpg.exe" /incremental:yes /libpath:"..\bin" /debug /pdb:"Debug\gpg.pdb" /pdbtype:sept /subsystem:console /machine:ix86 + +!ELSEIF "$(CFG)" == "gnupg - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /I "..\" /I "..\..\..\include" /I "..\..\..\zlib" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD CPP /nologo /ML /I "..\" /I "..\..\..\include" /I "..\..\..\zlib" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LINK32=link.exe +# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /out:"..\bin\gpg.exe" /incremental:no /debug /pdb:"Release\gpg.pdb" /pdbtype:sept /subsystem:console /opt:ref /opt:icf /machine:ix86 +# ADD LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib ws2_32.lib /nologo /out:"..\bin\gpg.exe" /incremental:no /debug /pdb:"Release\gpg.pdb" /pdbtype:sept /subsystem:console /opt:ref /opt:icf /machine:ix86 + +!ENDIF + +# Begin Target + +# Name "gnupg - Win32 Debug" +# Name "gnupg - Win32 Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" +# Begin Source File + +SOURCE=..\..\..\g10\armor.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\build-packet.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\cipher.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\comment.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\compress-bz2.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\compress.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\dearmor.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\decrypt.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\delkey.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\encode.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\encr-data.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\exec.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\export.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\free-packet.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\g10.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\getkey.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\helptext.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\hkp.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\import.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\kbnode.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keydb.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyedit.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keygen.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyid.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keylist.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyring.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyserver.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\mainproc.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\mdfilter.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\misc.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\mkdtemp.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\openfile.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\parse-packet.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\passphrase.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\photoid.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\pipemode.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\pkclist.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\plaintext.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\progress.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\pubkey-enc.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\revoke.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\seckey-cert.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\seskey.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\sig-check.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\sign.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\signal.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\skclist.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\status.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\tdbdump.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\tdbio.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\textfilter.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\trustdb.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\verify.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;inc;xsd" +# Begin Source File + +SOURCE=..\..\..\g10\exec.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\filter.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\global.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\hkp.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keydb.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyring.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\keyserver-internal.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\main.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\options.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\packet.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\photoid.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\status.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\tdbio.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\g10\trustdb.h +# End Source File +# End Group +# Begin Source File + +SOURCE=..\bin\cipher.lib +# End Source File +# Begin Source File + +SOURCE=..\..\..\..\bzip2-1.0.2\libbz2\Release\libbz2.lib +# End Source File +# Begin Source File + +SOURCE=..\bin\mpi.lib +# End Source File +# Begin Source File + +SOURCE=..\bin\util.lib +# End Source File +# Begin Source File + +SOURCE=..\bin\zlib.lib +# End Source File +# End Target +# End Project + diff --git a/scripts/conf-w32brg/gnupg/gnupg.vcproj b/scripts/conf-w32brg/gnupg/gnupg.vcproj new file mode 100644 index 000000000..ac7c0ca1e --- /dev/null +++ b/scripts/conf-w32brg/gnupg/gnupg.vcproj @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/conf-w32brg/gpg/gpg.sln b/scripts/conf-w32brg/gpg/gpg.sln deleted file mode 100644 index 7e34beecf..000000000 --- a/scripts/conf-w32brg/gpg/gpg.sln +++ /dev/null @@ -1,21 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 8.00 -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "gpg", "gpg.vcproj", "{94134F3A-6236-4B20-8E86-F9CF43ADE332}" - ProjectSection(ProjectDependencies) = postProject - EndProjectSection -EndProject -Global - GlobalSection(SolutionConfiguration) = preSolution - Debug = Debug - Release = Release - EndGlobalSection - GlobalSection(ProjectConfiguration) = postSolution - {94134F3A-6236-4B20-8E86-F9CF43ADE332}.Debug.ActiveCfg = Debug|Win32 - {94134F3A-6236-4B20-8E86-F9CF43ADE332}.Debug.Build.0 = Debug|Win32 - {94134F3A-6236-4B20-8E86-F9CF43ADE332}.Release.ActiveCfg = Release|Win32 - {94134F3A-6236-4B20-8E86-F9CF43ADE332}.Release.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - EndGlobalSection - GlobalSection(ExtensibilityAddIns) = postSolution - EndGlobalSection -EndGlobal diff --git a/scripts/conf-w32brg/gpg/gpg.suo b/scripts/conf-w32brg/gpg/gpg.suo deleted file mode 100644 index b20497e48..000000000 Binary files a/scripts/conf-w32brg/gpg/gpg.suo and /dev/null differ diff --git a/scripts/conf-w32brg/gpg/gpg.vcproj b/scripts/conf-w32brg/gpg/gpg.vcproj deleted file mode 100644 index ab04dbd16..000000000 --- a/scripts/conf-w32brg/gpg/gpg.vcproj +++ /dev/null @@ -1,1794 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-add1.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-add1.asm deleted file mode 100644 index e299e13e5..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-add1.asm +++ /dev/null @@ -1,116 +0,0 @@ - -; i80586 add_n -- Add two limb vectors of the same length > 0 and store -; sum in a third limb vector. -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - - global _mpihelp_add_n - - section .text - align 8 - -_mpihelp_add_n: - push edi - push esi - push ebx - push ebp - mov edi,[20+esp] - mov esi,[24+esp] - mov ebp,[28+esp] - mov ecx,[32+esp] - mov ebx,[ebp] - dec ecx - mov edx,ecx - shr ecx,3 - and edx,7 - test ecx,ecx - jz short .2 - push edx - - align 8 -.1: mov eax,[28+edi] - lea edi,[32+edi] - mov eax,[esi] - mov edx,[4+esi] - adc eax,ebx - mov ebx,[4+ebp] - adc edx,ebx - mov ebx,[8+ebp] - mov [-32+edi],eax - mov [-28+edi],edx - mov eax,[8+esi] - mov edx,[12+esi] - adc eax,ebx - mov ebx,[12+ebp] - adc edx,ebx - mov ebx,[16+ebp] - mov [-24+edi],eax - mov [-20+edi],edx - mov eax,[16+esi] - mov edx,[20+esi] - adc eax,ebx - mov ebx,[20+ebp] - adc edx,ebx - mov ebx,[24+ebp] - mov [-16+edi],eax - mov [-12+edi],edx - mov eax,[24+esi] - mov edx,[28+esi] - adc eax,ebx - mov ebx,[28+ebp] - adc edx,ebx - mov ebx,[32+ebp] - mov [-8+edi],eax - mov [-4+edi],edx - - lea esi,[32+esi] - lea ebp,[32+ebp] - dec ecx - jnz short .1 - pop edx -.2: - dec edx - js short .4 - inc edx -.3: lea edi,[4+edi] - mov eax,[esi] - adc eax,ebx - mov ebx,[4+ebp] - mov [-4+edi],eax - lea esi,[4+esi] - lea ebp,[4+ebp] - dec edx - jnz short .3 -.4: mov eax,[esi] - adc eax,ebx - mov [edi],eax - sbb eax,eax - neg eax - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-lshift.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-lshift.asm deleted file mode 100644 index 4915176c6..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-lshift.asm +++ /dev/null @@ -1,185 +0,0 @@ - -; 80586 lshift -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - - global _mpihelp_lshift - - section .text - align 8 - -_mpihelp_lshift: - push edi - push esi - push ebx - push ebp - mov edi,[20+esp] - mov esi,[24+esp] - mov ebp,[28+esp] - mov ecx,[32+esp] - cmp ecx,1 - jne short .1 - lea eax,[4+esi] - cmp eax,edi - jnc .6 - lea eax,[esi+ebp*4] - cmp edi,eax - jnc .6 - -.1: lea edi,[-4+edi+ebp*4] - lea esi,[-4+esi+ebp*4] - - mov edx,[esi] - sub esi, 4 - xor eax,eax - shld eax,edx,cl - push eax - dec ebp - push ebp - shr ebp,3 - jz short .3 - mov eax, [edi] - - align 4 -.2: mov eax,[-28+edi] - mov ebx,edx - mov eax,[esi] - mov edx,[-4+esi] - shld ebx,eax,cl - shld eax,edx,cl - mov [edi],ebx - mov [-4+edi],eax - mov ebx,[-8+esi] - mov eax,[-12+esi] - shld edx,ebx,cl - shld ebx,eax,cl - mov [-8+edi],edx - mov [-12+edi],ebx - mov edx,[-16+esi] - mov ebx,[-20+esi] - shld eax,edx,cl - shld edx,ebx,cl - mov [-16+edi],eax - mov [-20+edi],edx - mov eax,[-24+esi] - mov edx,[-28+esi] - shld ebx,eax,cl - shld eax,edx,cl - mov [-24+edi],ebx - mov [-28+edi],eax - sub esi,32 - sub edi,32 - dec ebp - jnz short .2 - -.3: pop ebp - and ebp,7 - jz short .5 -.4: mov eax,[esi] - shld edx,eax,cl - mov [edi],edx - mov edx,eax - sub esi,4 - sub edi,4 - dec ebp - jnz short .4 - -.5: shl edx,cl - mov [edi],edx - pop eax - pop ebp - pop ebx - pop esi - pop edi - ret - -.6: mov edx,[esi] - add esi,4 - dec ebp - push ebp - shr ebp,3 - add edx,edx - inc ebp - dec ebp - jz short .8 - mov eax, [edi] - - align 4 -.7: mov eax,[28+edi] - mov ebx,edx - mov eax,[esi] - mov edx,[4+esi] - adc eax,eax - mov [edi],ebx - adc edx,edx - mov [4+edi],eax - mov ebx,[8+esi] - mov eax,[12+esi] - adc ebx,ebx - mov [8+edi],edx - adc eax,eax - mov [12+edi],ebx - mov edx,[16+esi] - mov ebx,[20+esi] - adc edx,edx - mov [16+edi],eax - adc ebx,ebx - mov [20+edi],edx - mov eax,[24+esi] - mov edx,[28+esi] - adc eax,eax - mov [24+edi],ebx - adc edx,edx - mov [28+edi],eax - lea esi,[32+esi] - lea edi,[32+edi] - dec ebp - jnz short .7 - -.8: pop ebp - sbb eax,eax - and ebp,7 - jz short .10 - add eax,eax -.9: mov ebx,edx - mov edx,[esi] - adc edx,edx - mov [edi],ebx - lea esi,[4+esi] - lea edi,[4+edi] - dec ebp - jnz short .9 - jmp short .11 -.10:add eax,eax -.11:mov [edi],edx - sbb eax,eax - neg eax - - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-mul1.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-mul1.asm deleted file mode 100644 index b00fbe3a7..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-mul1.asm +++ /dev/null @@ -1,70 +0,0 @@ - -; i80586 mul_1 -- Multiply a limb vector with a limb and store the -; result in a second limb vector. -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - -%define res_ptr edi -%define s1_ptr esi -%define size ecx -%define s2_limb ebp - - global _mpihelp_mul_1 - - section .text - align 8 - -_mpihelp_mul_1: - push edi - push esi - push ebx - push ebp - mov res_ptr,[esp+20] - mov s1_ptr,[esp+24] - mov size,[esp+28] - mov s2_limb,[esp+32] - lea res_ptr,[res_ptr+size*4] - lea s1_ptr,[s1_ptr+size*4] - neg size - xor ebx,ebx - - align 8 -.1: - adc ebx,0 - mov eax,[s1_ptr+size*4] - mul s2_limb - add ebx,eax - mov [res_ptr+size*4],ebx - inc size - mov ebx,edx - jnz short .1 - adc ebx,0 - mov eax,ebx - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-mul2.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-mul2.asm deleted file mode 100644 index f1c989345..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-mul2.asm +++ /dev/null @@ -1,73 +0,0 @@ - -; i80586 addmul_1 -- Multiply a limb vector with a limb and add -; the result to a second limb vector. -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - -%define res_ptr edi -%define s1_ptr esi -%define size ecx -%define s2_limb ebp - - global _mpihelp_addmul_1 - - section .text - align 8 - -_mpihelp_addmul_1: - push edi - push esi - push ebx - push ebp - mov res_ptr,[esp+20] - mov s1_ptr,[esp+24] - mov size,[esp+28] - mov s2_limb,[esp+32] - lea res_ptr,[res_ptr+4*size] - lea s1_ptr,[s1_ptr+4*size] - neg size - xor ebx,ebx - - align 8 -.1: - adc ebx,0 - mov eax,[s1_ptr+4*size] - mul s2_limb - add eax,ebx - mov ebx,[res_ptr+4*size] - adc edx,0 - add ebx,eax - mov [res_ptr+4*size],ebx - inc size - mov ebx,edx - jnz short .1 - adc ebx,0 - mov eax,ebx - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-mul3.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-mul3.asm deleted file mode 100644 index 3e9030606..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-mul3.asm +++ /dev/null @@ -1,72 +0,0 @@ - -; i80586 submul_1 -- Multiply a limb vector with a limb and add -; the result to a second limb vector. -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - - global _mpihelp_submul_1 - -%define res_ptr edi -%define s1_ptr esi -%define size ecx -%define s2_limb ebp - - section .text - align 8 - -_mpihelp_submul_1: - push edi - push esi - push ebx - push ebp - mov res_ptr,[esp+20] - mov s1_ptr,[esp+24] - mov size,[esp+28] - mov s2_limb,[esp+32] - lea res_ptr,[res_ptr+size*4] - lea s1_ptr,[s1_ptr+size*4] - neg size - xor ebx,ebx - - align 8 -.1: adc ebx,0 - mov eax,[s1_ptr+size*4] - mul s2_limb - add eax,ebx - mov ebx,[res_ptr+size*4] - adc edx,0 - sub ebx,eax - mov [res_ptr+size*4],ebx - inc size - mov ebx,edx - jnz short .1 - adc ebx,0 - mov eax,ebx - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-rshift.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-rshift.asm deleted file mode 100644 index c39e87013..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-rshift.asm +++ /dev/null @@ -1,187 +0,0 @@ - -; i80586 rshift -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - - global _mpihelp_rshift - - section .text - align 8 - -_mpihelp_rshift: - push edi - push esi - push ebx - push ebp - mov edi,[20+esp] - mov esi,[24+esp] - mov ebp,[28+esp] - mov ecx,[32+esp] - cmp ecx,1 - jne short .1 - lea eax,[4+edi] - cmp eax,esi - jnc .6 - lea eax,[edi+ebp*4] - cmp esi,eax - jnc .6 -.1: - mov edx,[esi] - add esi,4 - xor eax,eax - shrd eax,edx,cl - push eax - dec ebp - push ebp - shr ebp,3 - jz short .3 - mov eax, [edi] - - align 4 -.2: mov eax,[28+edi] - mov ebx,edx - mov eax,[esi] - mov edx,[4+esi] - shrd ebx,eax,cl - shrd eax,edx,cl - mov [edi],ebx - mov [4+edi],eax - mov ebx,[8+esi] - mov eax,[12+esi] - shrd edx,ebx,cl - shrd ebx,eax,cl - mov [8+edi],edx - mov [12+edi],ebx - mov edx,[16+esi] - mov ebx,[20+esi] - shrd eax,edx,cl - shrd edx,ebx,cl - mov [16+edi],eax - mov [20+edi],edx - mov eax,[24+esi] - mov edx,[28+esi] - shrd ebx,eax,cl - shrd eax,edx,cl - mov [24+edi],ebx - mov [28+edi],eax - add esi,32 - add edi,32 - dec ebp - jnz short .2 -.3: pop ebp - and ebp,7 - jz .5 -.4: - mov eax,[esi] - shrd edx,eax,cl - mov [edi],edx - mov edx,eax - add esi,4 - add edi,4 - dec ebp - jnz short .4 - -.5: shr edx,cl - mov [edi],edx - pop eax - pop ebp - pop ebx - pop esi - pop edi - ret - -.6: - lea edi,[-4+edi+ebp*4] - lea esi,[-4+esi+ebp*4] - mov edx,[esi] - sub esi,4 - dec ebp - push ebp - shr ebp,3 - shr edx,1 - inc ebp - dec ebp - jz short .8 - mov eax, [edi] - - align 4 -.7: mov eax,[-28+edi] - mov ebx,edx - mov eax,[esi] - mov edx,[-4+esi] - rcr eax,1 - mov [edi],ebx - rcr edx,1 - mov [-4+edi],eax - mov ebx,[-8+esi] - mov eax,[-12+esi] - rcr ebx,1 - mov [-8+edi],edx - rcr eax,1 - mov [-12+edi],ebx - mov edx,[-16+esi] - mov ebx,[-20+esi] - rcr edx,1 - mov [-16+edi],eax - rcr ebx,1 - mov [-20+edi],edx - mov eax,[-24+esi] - mov edx,[-28+esi] - rcr eax,1 - mov [-24+edi],ebx - rcr edx,1 - mov [-28+edi],eax - lea esi,[-32+esi] - lea edi,[-32+edi] - dec ebp - jnz short .7 - -.8: - pop ebp - sbb eax,eax - and ebp,7 - jz .10 - add eax,eax -.9: - mov ebx,edx - mov edx,[esi] - rcr edx,1 - mov [edi],ebx - lea esi,[-4+esi] - lea edi,[-4+edi] - dec ebp - jnz short .9 - jmp short .11 - -.10:add eax,eax -.11:mov [edi],edx - mov eax,0 - rcr eax,1 - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/mpi/nasm586/mpih-sub1.asm b/scripts/conf-w32brg/mpi/nasm586/mpih-sub1.asm deleted file mode 100644 index f281a95a5..000000000 --- a/scripts/conf-w32brg/mpi/nasm586/mpih-sub1.asm +++ /dev/null @@ -1,114 +0,0 @@ - -; i80586 sub_n -- Sub two limb vectors of the same length > 0 and store -; sum in a third limb vector. -; -; Copyright (C) 1992, 1994, 1995, 1996, 1998, -; 2001 Free Software Foundation, Inc. -; -; This file is part of GnuPG. -; -; GnuPG is free software; you can redistribute it and/or modify -; it under the terms of the GNU General Public License as published by -; the Free Software Foundation; either version 2 of the License, or -; (at your option) any later version. -; -; GnuPG is distributed in the hope that it will be useful, -; but WITHOUT ANY WARRANTY; without even the implied warranty of -; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -; GNU General Public License for more details. -; -; You should have received a copy of the GNU General Public License -; along with this program; if not, write to the Free Software -; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA -; -; Modified versions of the GPG i586 assembler for use with NASM. This -; file is part of a native port of Gnu PG for use with Microsoft Visual -; Studio .net. Ported by Brian Gladman March 2002. - - global _mpihelp_sub_n - - section .text - align 8 - -_mpihelp_sub_n: - push edi - push esi - push ebx - push ebp - mov edi,[20+esp] - mov esi,[24+esp] - mov ebp,[28+esp] - mov ecx,[32+esp] - mov ebx,[ebp] - dec ecx - mov edx,ecx - shr ecx,3 - and edx,7 - test ecx,ecx - jz short .2 - push edx - - align 8 -.1: mov eax,[28+edi] - lea edi,[32+edi] - mov eax,[esi] - mov edx,[4+esi] - sbb eax,ebx - mov ebx,[4+ebp] - sbb edx,ebx - mov ebx,[8+ebp] - mov [-32+edi],eax - mov [-28+edi],edx - mov eax,[8+esi] - mov edx,[12+esi] - sbb eax,ebx - mov ebx,[12+ebp] - sbb edx,ebx - mov ebx,[16+ebp] - mov [-24+edi],eax - mov [-20+edi],edx - mov eax,[16+esi] - mov edx,[20+esi] - sbb eax,ebx - mov ebx,[20+ebp] - sbb edx,ebx - mov ebx,[24+ebp] - mov [-16+edi],eax - mov [-12+edi],edx - mov eax,[24+esi] - mov edx,[28+esi] - sbb eax,ebx - mov ebx,[28+ebp] - sbb edx,ebx - mov ebx,[32+ebp] - mov [-8+edi],eax - mov [-4+edi],edx - lea esi,[32+esi] - lea ebp,[32+ebp] - dec ecx - jnz short .1 - pop edx -.2: dec edx - js short .4 - inc edx -.3: lea edi,[4+edi] - mov eax,[esi] - sbb eax,ebx - mov ebx,[4+ebp] - mov [-4+edi],eax - lea esi,[4+esi] - lea ebp,[4+ebp] - dec edx - jnz short .3 -.4: mov eax,[esi] - sbb eax,ebx - mov [edi],eax - sbb eax,eax - neg eax - pop ebp - pop ebx - pop esi - pop edi - ret - - end diff --git a/scripts/conf-w32brg/nasm586/mpih-add1.asm b/scripts/conf-w32brg/nasm586/mpih-add1.asm new file mode 100644 index 000000000..e299e13e5 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-add1.asm @@ -0,0 +1,116 @@ + +; i80586 add_n -- Add two limb vectors of the same length > 0 and store +; sum in a third limb vector. +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + + global _mpihelp_add_n + + section .text + align 8 + +_mpihelp_add_n: + push edi + push esi + push ebx + push ebp + mov edi,[20+esp] + mov esi,[24+esp] + mov ebp,[28+esp] + mov ecx,[32+esp] + mov ebx,[ebp] + dec ecx + mov edx,ecx + shr ecx,3 + and edx,7 + test ecx,ecx + jz short .2 + push edx + + align 8 +.1: mov eax,[28+edi] + lea edi,[32+edi] + mov eax,[esi] + mov edx,[4+esi] + adc eax,ebx + mov ebx,[4+ebp] + adc edx,ebx + mov ebx,[8+ebp] + mov [-32+edi],eax + mov [-28+edi],edx + mov eax,[8+esi] + mov edx,[12+esi] + adc eax,ebx + mov ebx,[12+ebp] + adc edx,ebx + mov ebx,[16+ebp] + mov [-24+edi],eax + mov [-20+edi],edx + mov eax,[16+esi] + mov edx,[20+esi] + adc eax,ebx + mov ebx,[20+ebp] + adc edx,ebx + mov ebx,[24+ebp] + mov [-16+edi],eax + mov [-12+edi],edx + mov eax,[24+esi] + mov edx,[28+esi] + adc eax,ebx + mov ebx,[28+ebp] + adc edx,ebx + mov ebx,[32+ebp] + mov [-8+edi],eax + mov [-4+edi],edx + + lea esi,[32+esi] + lea ebp,[32+ebp] + dec ecx + jnz short .1 + pop edx +.2: + dec edx + js short .4 + inc edx +.3: lea edi,[4+edi] + mov eax,[esi] + adc eax,ebx + mov ebx,[4+ebp] + mov [-4+edi],eax + lea esi,[4+esi] + lea ebp,[4+ebp] + dec edx + jnz short .3 +.4: mov eax,[esi] + adc eax,ebx + mov [edi],eax + sbb eax,eax + neg eax + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-lshift.asm b/scripts/conf-w32brg/nasm586/mpih-lshift.asm new file mode 100644 index 000000000..4915176c6 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-lshift.asm @@ -0,0 +1,185 @@ + +; 80586 lshift +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + + global _mpihelp_lshift + + section .text + align 8 + +_mpihelp_lshift: + push edi + push esi + push ebx + push ebp + mov edi,[20+esp] + mov esi,[24+esp] + mov ebp,[28+esp] + mov ecx,[32+esp] + cmp ecx,1 + jne short .1 + lea eax,[4+esi] + cmp eax,edi + jnc .6 + lea eax,[esi+ebp*4] + cmp edi,eax + jnc .6 + +.1: lea edi,[-4+edi+ebp*4] + lea esi,[-4+esi+ebp*4] + + mov edx,[esi] + sub esi, 4 + xor eax,eax + shld eax,edx,cl + push eax + dec ebp + push ebp + shr ebp,3 + jz short .3 + mov eax, [edi] + + align 4 +.2: mov eax,[-28+edi] + mov ebx,edx + mov eax,[esi] + mov edx,[-4+esi] + shld ebx,eax,cl + shld eax,edx,cl + mov [edi],ebx + mov [-4+edi],eax + mov ebx,[-8+esi] + mov eax,[-12+esi] + shld edx,ebx,cl + shld ebx,eax,cl + mov [-8+edi],edx + mov [-12+edi],ebx + mov edx,[-16+esi] + mov ebx,[-20+esi] + shld eax,edx,cl + shld edx,ebx,cl + mov [-16+edi],eax + mov [-20+edi],edx + mov eax,[-24+esi] + mov edx,[-28+esi] + shld ebx,eax,cl + shld eax,edx,cl + mov [-24+edi],ebx + mov [-28+edi],eax + sub esi,32 + sub edi,32 + dec ebp + jnz short .2 + +.3: pop ebp + and ebp,7 + jz short .5 +.4: mov eax,[esi] + shld edx,eax,cl + mov [edi],edx + mov edx,eax + sub esi,4 + sub edi,4 + dec ebp + jnz short .4 + +.5: shl edx,cl + mov [edi],edx + pop eax + pop ebp + pop ebx + pop esi + pop edi + ret + +.6: mov edx,[esi] + add esi,4 + dec ebp + push ebp + shr ebp,3 + add edx,edx + inc ebp + dec ebp + jz short .8 + mov eax, [edi] + + align 4 +.7: mov eax,[28+edi] + mov ebx,edx + mov eax,[esi] + mov edx,[4+esi] + adc eax,eax + mov [edi],ebx + adc edx,edx + mov [4+edi],eax + mov ebx,[8+esi] + mov eax,[12+esi] + adc ebx,ebx + mov [8+edi],edx + adc eax,eax + mov [12+edi],ebx + mov edx,[16+esi] + mov ebx,[20+esi] + adc edx,edx + mov [16+edi],eax + adc ebx,ebx + mov [20+edi],edx + mov eax,[24+esi] + mov edx,[28+esi] + adc eax,eax + mov [24+edi],ebx + adc edx,edx + mov [28+edi],eax + lea esi,[32+esi] + lea edi,[32+edi] + dec ebp + jnz short .7 + +.8: pop ebp + sbb eax,eax + and ebp,7 + jz short .10 + add eax,eax +.9: mov ebx,edx + mov edx,[esi] + adc edx,edx + mov [edi],ebx + lea esi,[4+esi] + lea edi,[4+edi] + dec ebp + jnz short .9 + jmp short .11 +.10:add eax,eax +.11:mov [edi],edx + sbb eax,eax + neg eax + + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-mul1.asm b/scripts/conf-w32brg/nasm586/mpih-mul1.asm new file mode 100644 index 000000000..b00fbe3a7 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-mul1.asm @@ -0,0 +1,70 @@ + +; i80586 mul_1 -- Multiply a limb vector with a limb and store the +; result in a second limb vector. +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + +%define res_ptr edi +%define s1_ptr esi +%define size ecx +%define s2_limb ebp + + global _mpihelp_mul_1 + + section .text + align 8 + +_mpihelp_mul_1: + push edi + push esi + push ebx + push ebp + mov res_ptr,[esp+20] + mov s1_ptr,[esp+24] + mov size,[esp+28] + mov s2_limb,[esp+32] + lea res_ptr,[res_ptr+size*4] + lea s1_ptr,[s1_ptr+size*4] + neg size + xor ebx,ebx + + align 8 +.1: + adc ebx,0 + mov eax,[s1_ptr+size*4] + mul s2_limb + add ebx,eax + mov [res_ptr+size*4],ebx + inc size + mov ebx,edx + jnz short .1 + adc ebx,0 + mov eax,ebx + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-mul2.asm b/scripts/conf-w32brg/nasm586/mpih-mul2.asm new file mode 100644 index 000000000..f1c989345 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-mul2.asm @@ -0,0 +1,73 @@ + +; i80586 addmul_1 -- Multiply a limb vector with a limb and add +; the result to a second limb vector. +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + +%define res_ptr edi +%define s1_ptr esi +%define size ecx +%define s2_limb ebp + + global _mpihelp_addmul_1 + + section .text + align 8 + +_mpihelp_addmul_1: + push edi + push esi + push ebx + push ebp + mov res_ptr,[esp+20] + mov s1_ptr,[esp+24] + mov size,[esp+28] + mov s2_limb,[esp+32] + lea res_ptr,[res_ptr+4*size] + lea s1_ptr,[s1_ptr+4*size] + neg size + xor ebx,ebx + + align 8 +.1: + adc ebx,0 + mov eax,[s1_ptr+4*size] + mul s2_limb + add eax,ebx + mov ebx,[res_ptr+4*size] + adc edx,0 + add ebx,eax + mov [res_ptr+4*size],ebx + inc size + mov ebx,edx + jnz short .1 + adc ebx,0 + mov eax,ebx + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-mul3.asm b/scripts/conf-w32brg/nasm586/mpih-mul3.asm new file mode 100644 index 000000000..3e9030606 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-mul3.asm @@ -0,0 +1,72 @@ + +; i80586 submul_1 -- Multiply a limb vector with a limb and add +; the result to a second limb vector. +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + + global _mpihelp_submul_1 + +%define res_ptr edi +%define s1_ptr esi +%define size ecx +%define s2_limb ebp + + section .text + align 8 + +_mpihelp_submul_1: + push edi + push esi + push ebx + push ebp + mov res_ptr,[esp+20] + mov s1_ptr,[esp+24] + mov size,[esp+28] + mov s2_limb,[esp+32] + lea res_ptr,[res_ptr+size*4] + lea s1_ptr,[s1_ptr+size*4] + neg size + xor ebx,ebx + + align 8 +.1: adc ebx,0 + mov eax,[s1_ptr+size*4] + mul s2_limb + add eax,ebx + mov ebx,[res_ptr+size*4] + adc edx,0 + sub ebx,eax + mov [res_ptr+size*4],ebx + inc size + mov ebx,edx + jnz short .1 + adc ebx,0 + mov eax,ebx + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-rshift.asm b/scripts/conf-w32brg/nasm586/mpih-rshift.asm new file mode 100644 index 000000000..c39e87013 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-rshift.asm @@ -0,0 +1,187 @@ + +; i80586 rshift +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + + global _mpihelp_rshift + + section .text + align 8 + +_mpihelp_rshift: + push edi + push esi + push ebx + push ebp + mov edi,[20+esp] + mov esi,[24+esp] + mov ebp,[28+esp] + mov ecx,[32+esp] + cmp ecx,1 + jne short .1 + lea eax,[4+edi] + cmp eax,esi + jnc .6 + lea eax,[edi+ebp*4] + cmp esi,eax + jnc .6 +.1: + mov edx,[esi] + add esi,4 + xor eax,eax + shrd eax,edx,cl + push eax + dec ebp + push ebp + shr ebp,3 + jz short .3 + mov eax, [edi] + + align 4 +.2: mov eax,[28+edi] + mov ebx,edx + mov eax,[esi] + mov edx,[4+esi] + shrd ebx,eax,cl + shrd eax,edx,cl + mov [edi],ebx + mov [4+edi],eax + mov ebx,[8+esi] + mov eax,[12+esi] + shrd edx,ebx,cl + shrd ebx,eax,cl + mov [8+edi],edx + mov [12+edi],ebx + mov edx,[16+esi] + mov ebx,[20+esi] + shrd eax,edx,cl + shrd edx,ebx,cl + mov [16+edi],eax + mov [20+edi],edx + mov eax,[24+esi] + mov edx,[28+esi] + shrd ebx,eax,cl + shrd eax,edx,cl + mov [24+edi],ebx + mov [28+edi],eax + add esi,32 + add edi,32 + dec ebp + jnz short .2 +.3: pop ebp + and ebp,7 + jz .5 +.4: + mov eax,[esi] + shrd edx,eax,cl + mov [edi],edx + mov edx,eax + add esi,4 + add edi,4 + dec ebp + jnz short .4 + +.5: shr edx,cl + mov [edi],edx + pop eax + pop ebp + pop ebx + pop esi + pop edi + ret + +.6: + lea edi,[-4+edi+ebp*4] + lea esi,[-4+esi+ebp*4] + mov edx,[esi] + sub esi,4 + dec ebp + push ebp + shr ebp,3 + shr edx,1 + inc ebp + dec ebp + jz short .8 + mov eax, [edi] + + align 4 +.7: mov eax,[-28+edi] + mov ebx,edx + mov eax,[esi] + mov edx,[-4+esi] + rcr eax,1 + mov [edi],ebx + rcr edx,1 + mov [-4+edi],eax + mov ebx,[-8+esi] + mov eax,[-12+esi] + rcr ebx,1 + mov [-8+edi],edx + rcr eax,1 + mov [-12+edi],ebx + mov edx,[-16+esi] + mov ebx,[-20+esi] + rcr edx,1 + mov [-16+edi],eax + rcr ebx,1 + mov [-20+edi],edx + mov eax,[-24+esi] + mov edx,[-28+esi] + rcr eax,1 + mov [-24+edi],ebx + rcr edx,1 + mov [-28+edi],eax + lea esi,[-32+esi] + lea edi,[-32+edi] + dec ebp + jnz short .7 + +.8: + pop ebp + sbb eax,eax + and ebp,7 + jz .10 + add eax,eax +.9: + mov ebx,edx + mov edx,[esi] + rcr edx,1 + mov [edi],ebx + lea esi,[-4+esi] + lea edi,[-4+edi] + dec ebp + jnz short .9 + jmp short .11 + +.10:add eax,eax +.11:mov [edi],edx + mov eax,0 + rcr eax,1 + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/nasm586/mpih-sub1.asm b/scripts/conf-w32brg/nasm586/mpih-sub1.asm new file mode 100644 index 000000000..f281a95a5 --- /dev/null +++ b/scripts/conf-w32brg/nasm586/mpih-sub1.asm @@ -0,0 +1,114 @@ + +; i80586 sub_n -- Sub two limb vectors of the same length > 0 and store +; sum in a third limb vector. +; +; Copyright (C) 1992, 1994, 1995, 1996, 1998, +; 2001 Free Software Foundation, Inc. +; +; This file is part of GnuPG. +; +; GnuPG is free software; you can redistribute it and/or modify +; it under the terms of the GNU General Public License as published by +; the Free Software Foundation; either version 2 of the License, or +; (at your option) any later version. +; +; GnuPG is distributed in the hope that it will be useful, +; but WITHOUT ANY WARRANTY; without even the implied warranty of +; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +; GNU General Public License for more details. +; +; You should have received a copy of the GNU General Public License +; along with this program; if not, write to the Free Software +; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA +; +; Modified versions of the GPG i586 assembler for use with NASM. This +; file is part of a native port of Gnu PG for use with Microsoft Visual +; Studio .net. Ported by Brian Gladman March 2002. + + global _mpihelp_sub_n + + section .text + align 8 + +_mpihelp_sub_n: + push edi + push esi + push ebx + push ebp + mov edi,[20+esp] + mov esi,[24+esp] + mov ebp,[28+esp] + mov ecx,[32+esp] + mov ebx,[ebp] + dec ecx + mov edx,ecx + shr ecx,3 + and edx,7 + test ecx,ecx + jz short .2 + push edx + + align 8 +.1: mov eax,[28+edi] + lea edi,[32+edi] + mov eax,[esi] + mov edx,[4+esi] + sbb eax,ebx + mov ebx,[4+ebp] + sbb edx,ebx + mov ebx,[8+ebp] + mov [-32+edi],eax + mov [-28+edi],edx + mov eax,[8+esi] + mov edx,[12+esi] + sbb eax,ebx + mov ebx,[12+ebp] + sbb edx,ebx + mov ebx,[16+ebp] + mov [-24+edi],eax + mov [-20+edi],edx + mov eax,[16+esi] + mov edx,[20+esi] + sbb eax,ebx + mov ebx,[20+ebp] + sbb edx,ebx + mov ebx,[24+ebp] + mov [-16+edi],eax + mov [-12+edi],edx + mov eax,[24+esi] + mov edx,[28+esi] + sbb eax,ebx + mov ebx,[28+ebp] + sbb edx,ebx + mov ebx,[32+ebp] + mov [-8+edi],eax + mov [-4+edi],edx + lea esi,[32+esi] + lea ebp,[32+ebp] + dec ecx + jnz short .1 + pop edx +.2: dec edx + js short .4 + inc edx +.3: lea edi,[4+edi] + mov eax,[esi] + sbb eax,ebx + mov ebx,[4+ebp] + mov [-4+edi],eax + lea esi,[4+esi] + lea ebp,[4+ebp] + dec edx + jnz short .3 +.4: mov eax,[esi] + sbb eax,ebx + mov [edi],eax + sbb eax,eax + neg eax + pop ebp + pop ebx + pop esi + pop edi + ret + + end diff --git a/scripts/conf-w32brg/util/util.dsp b/scripts/conf-w32brg/util/util.dsp new file mode 100644 index 000000000..b88963c38 --- /dev/null +++ b/scripts/conf-w32brg/util/util.dsp @@ -0,0 +1,158 @@ +# Microsoft Developer Studio Project File - Name="util" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=util - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "util.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "util.mak" CFG="util - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "util - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "util - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "util - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MLd /I "..\" /I "..\..\..\include" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD CPP /nologo /MLd /I "..\" /I "..\..\..\include" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\bin\util.lib" +# ADD LIB32 /nologo /out:"..\bin\util.lib" + +!ELSEIF "$(CFG)" == "util - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /I "..\" /I "..\..\..\include" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD CPP /nologo /ML /I "..\" /I "..\..\..\include" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\bin\util.lib" +# ADD LIB32 /nologo /out:"..\bin\util.lib" + +!ENDIF + +# Begin Target + +# Name "util - Win32 Debug" +# Name "util - Win32 Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" +# Begin Source File + +SOURCE=..\..\..\util\argparse.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\dotlock.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\errors.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\fileutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\g10u.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\http.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\iobuf.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\logger.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\memory.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\miscutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\secmem.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\simple-gettext.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\strgutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\ttyio.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\util\w32reg.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;inc;xsd" +# End Group +# End Target +# End Project + diff --git a/scripts/conf-w32brg/util/util.vcproj b/scripts/conf-w32brg/util/util.vcproj new file mode 100644 index 000000000..9b80b5c72 --- /dev/null +++ b/scripts/conf-w32brg/util/util.vcproj @@ -0,0 +1,156 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/conf-w32brg/zlib/zlib.dsp b/scripts/conf-w32brg/zlib/zlib.dsp new file mode 100644 index 000000000..93469e4d4 --- /dev/null +++ b/scripts/conf-w32brg/zlib/zlib.dsp @@ -0,0 +1,194 @@ +# Microsoft Developer Studio Project File - Name="zlib" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Static Library" 0x0104 + +CFG=zlib - Win32 Debug +!MESSAGE This is not a valid makefile. To build this project using NMAKE, +!MESSAGE use the Export Makefile command and run +!MESSAGE +!MESSAGE NMAKE /f "zlib.mak". +!MESSAGE +!MESSAGE You can specify a configuration when running NMAKE +!MESSAGE by defining the macro CFG on the command line. For example: +!MESSAGE +!MESSAGE NMAKE /f "zlib.mak" CFG="zlib - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Static Library") +!MESSAGE "zlib - Win32 Release" (based on "Win32 (x86) Static Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "" +# PROP Scc_LocalPath "" +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "zlib - Win32 Debug" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 1 +# PROP BASE Output_Dir "Debug" +# PROP BASE Intermediate_Dir "Debug" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 1 +# PROP Output_Dir "Debug" +# PROP Intermediate_Dir "Debug" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /MLd /I "..\" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD CPP /nologo /MLd /I "..\" /Zi /W3 /Od /D "WIN32" /D "_DEBUG" /D "_LIB" /D "_MBCS" /Gm PRECOMP_VC7_TOBEREMOVED /GZ /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\bin\zlib.lib" +# ADD LIB32 /nologo /out:"..\bin\zlib.lib" + +!ELSEIF "$(CFG)" == "zlib - Win32 Release" + +# PROP BASE Use_MFC 0 +# PROP BASE Use_Debug_Libraries 0 +# PROP BASE Output_Dir "Release" +# PROP BASE Intermediate_Dir "Release" +# PROP BASE Target_Dir "" +# PROP Use_MFC 0 +# PROP Use_Debug_Libraries 0 +# PROP Output_Dir "Release" +# PROP Intermediate_Dir "Release" +# PROP Target_Dir "" +# ADD BASE CPP /nologo /ML /I "..\" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD CPP /nologo /ML /I "..\" /Zi /W3 /D "WIN32" /D "NDEBUG" /D "_LIB" /D "_MBCS" PRECOMP_VC7_TOBEREMOVED /c /GX +# ADD BASE MTL /nologo /win32 +# ADD MTL /nologo /win32 +# ADD BASE RSC /l 1033 +# ADD RSC /l 1033 +BSC32=bscmake.exe +# ADD BASE BSC32 /nologo +# ADD BSC32 /nologo +LIB32=link.exe -lib +# ADD BASE LIB32 /nologo /out:"..\bin\zlib.lib" +# ADD LIB32 /nologo /out:"..\bin\zlib.lib" + +!ENDIF + +# Begin Target + +# Name "zlib - Win32 Debug" +# Name "zlib - Win32 Release" +# Begin Group "Source Files" + +# PROP Default_Filter "cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" +# Begin Source File + +SOURCE=..\..\..\zlib\adler32.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\compress.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\crc32.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\deflate.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infblock.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infcodes.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inffast.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inflate.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inftrees.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infutil.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\trees.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\uncompr.c +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\zutil.c +# End Source File +# End Group +# Begin Group "Header Files" + +# PROP Default_Filter "h;hpp;hxx;hm;inl;inc;xsd" +# Begin Source File + +SOURCE=..\..\..\zlib\deflate.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infblock.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infcodes.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inffast.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inffixed.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\inftrees.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\infutil.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\trees.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\zconf.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\zlib.h +# End Source File +# Begin Source File + +SOURCE=..\..\..\zlib\zutil.h +# End Source File +# End Group +# End Target +# End Project + diff --git a/scripts/conf-w32brg/zlib/zlib.vcproj b/scripts/conf-w32brg/zlib/zlib.vcproj new file mode 100644 index 000000000..c26a1b374 --- /dev/null +++ b/scripts/conf-w32brg/zlib/zlib.vcproj @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3