diff options
author | Guido van Rossum <guido@python.org> | 1998-05-26 14:16:23 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-05-26 14:16:23 (GMT) |
commit | 15b239f7854fa1dad4b877884f49f39f445f2f3d (patch) | |
tree | 272a48f0d9e01bf2026545201b2bb693926f9828 /PCbuild | |
parent | 1c096b7289dd1c42392a2311adc7105ee1014ff3 (diff) | |
download | cpython-15b239f7854fa1dad4b877884f49f39f445f2f3d.zip cpython-15b239f7854fa1dad4b877884f49f39f445f2f3d.tar.gz cpython-15b239f7854fa1dad4b877884f49f39f445f2f3d.tar.bz2 |
Moved VC++ 5.x stuff here.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_tkinter.dsp | 109 | ||||
-rw-r--r-- | PCbuild/bsddb.dsp | 100 | ||||
-rw-r--r-- | PCbuild/parser.dsp | 96 | ||||
-rw-r--r-- | PCbuild/pcbuild.dsw | 101 | ||||
-rw-r--r-- | PCbuild/python.dsp | 97 | ||||
-rw-r--r-- | PCbuild/python15.dsp | 473 | ||||
-rw-r--r-- | PCbuild/pythonw.dsp | 100 | ||||
-rw-r--r-- | PCbuild/readme.txt | 32 | ||||
-rw-r--r-- | PCbuild/zlib.dsp | 96 |
9 files changed, 1200 insertions, 4 deletions
diff --git a/PCbuild/_tkinter.dsp b/PCbuild/_tkinter.dsp new file mode 100644 index 0000000..4ce7b56 --- /dev/null +++ b/PCbuild/_tkinter.dsp @@ -0,0 +1,109 @@ +# Microsoft Developer Studio Project File - Name="_tkinter" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=_tkinter - 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 "_tkinter.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 "_tkinter.mak" CFG="_tkinter - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "_tkinter - Win32 Release" (based on\
+ "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "_tkinter - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "_tkinter - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /I "C:\Program Files\Tcl\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "WITH_APPINIT" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15.lib /nologo /subsystem:windows /dll /machine:I386 /out:"./_tkinter.pyd" /libpath:"Release" /export:init_tkinter
+# SUBTRACT LINK32 /pdb:none
+
+!ELSEIF "$(CFG)" == "_tkinter - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "_tkinter"
+# PROP BASE Intermediate_Dir "_tkinter"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "C:\Program Files\Tcl\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /D "WITH_APPINIT" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+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 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15_d.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"./_tkinter_d.pyd" /pdbtype:sept /libpath:"Debug" /export:init_tkinter
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "_tkinter - Win32 Release"
+# Name "_tkinter - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\Modules\_tkinter.c
+# End Source File
+# Begin Source File
+
+SOURCE="..\..\..\..\..\Program Files\Tcl\lib\tcl80vc.lib"
+# End Source File
+# Begin Source File
+
+SOURCE="..\..\..\..\..\Program Files\Tcl\lib\tk80vc.lib"
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\tkappinit.c
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/bsddb.dsp b/PCbuild/bsddb.dsp new file mode 100644 index 0000000..57e1120 --- /dev/null +++ b/PCbuild/bsddb.dsp @@ -0,0 +1,100 @@ +# Microsoft Developer Studio Project File - Name="bsddb" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=bsddb - 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 "bsddb.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 "bsddb.mak" CFG="bsddb - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "bsddb - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "bsddb - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "bsddb - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /I "..\..\bsddb\include" /I "..\..\bsddb\port\include" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15.lib ..\..\bsddb\port\win32\db.lib /nologo /subsystem:windows /dll /machine:I386 /out:"./bsddb.pyd" /libpath:"Release" /export:initbsddb
+# SUBTRACT LINK32 /pdb:none
+
+!ELSEIF "$(CFG)" == "bsddb - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "bsddb"
+# PROP BASE Intermediate_Dir "bsddb"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\..\bsddb\include" /I "..\..\bsddb\port\include" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+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 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15_d.lib ..\..\bsddb\port\win32\db.lib /nologo /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"MSVCRT" /out:"./bsddb_d.pyd" /pdbtype:sept /libpath:"Debug" /export:initbsddb
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "bsddb - Win32 Release"
+# Name "bsddb - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\PC\bsddb.txt
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\bsddbmodule.c
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/parser.dsp b/PCbuild/parser.dsp new file mode 100644 index 0000000..2620861 --- /dev/null +++ b/PCbuild/parser.dsp @@ -0,0 +1,96 @@ +# Microsoft Developer Studio Project File - Name="parser" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=parser - 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 "parser.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 "parser.mak" CFG="parser - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "parser - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "parser - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "parser - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /I "C:\Program Files\Tcl\include" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15.lib /nologo /subsystem:windows /dll /machine:I386 /out:"./parser.pyd" /libpath:"Release" /export:initparser
+# SUBTRACT LINK32 /pdb:none
+
+!ELSEIF "$(CFG)" == "parser - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "parser"
+# PROP BASE Intermediate_Dir "parser"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "C:\Program Files\Tcl\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+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 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15_d.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"./parser_d.pyd" /pdbtype:sept /libpath:"Debug" /export:initparser
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "parser - Win32 Release"
+# Name "parser - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\Modules\parsermodule.c
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/pcbuild.dsw b/PCbuild/pcbuild.dsw new file mode 100644 index 0000000..bd0e576 --- /dev/null +++ b/PCbuild/pcbuild.dsw @@ -0,0 +1,101 @@ +Microsoft Developer Studio Workspace File, Format Version 5.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "_tkinter"=".\_tkinter.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "bsddb"=".\bsddb.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "parser"=".\parser.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "python"=".\python.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "python15"=".\python15.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "pythonw"=".\pythonw.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "zlib"=".\zlib.dsp" - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/PCbuild/python.dsp b/PCbuild/python.dsp new file mode 100644 index 0000000..28ef691 --- /dev/null +++ b/PCbuild/python.dsp @@ -0,0 +1,97 @@ +# Microsoft Developer Studio Project File - Name="python" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=python - 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 "python.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 "python.mak" CFG="python - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "python - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "python - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "python - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:console /machine:I386
+# 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 python15.lib /nologo /subsystem:console /machine:I386 /libpath:"Release"
+
+!ELSEIF "$(CFG)" == "python - 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 "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /i "..\Include" /d "_DEBUG"
+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 /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# 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 python15_d.lib /nologo /subsystem:console /debug /machine:I386 /out:"./python_d.exe" /pdbtype:sept /libpath:"Debug"
+
+!ENDIF
+
+# Begin Target
+
+# Name "python - Win32 Release"
+# Name "python - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\PC\pycon.ico
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\python.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\python_exe.rc
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/python15.dsp b/PCbuild/python15.dsp new file mode 100644 index 0000000..58d55eb --- /dev/null +++ b/PCbuild/python15.dsp @@ -0,0 +1,473 @@ +# Microsoft Developer Studio Project File - Name="python15" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=python15 - 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 "python15.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 "python15.mak" CFG="python15 - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "python15 - Win32 Release" (based on\
+ "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "python15 - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "python15 - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /D "USE_DL_EXPORT" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /i "..\Include" /d "NDEBUG"
+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 /nologo /subsystem:windows /dll /machine:I386
+# 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 wsock32.lib largeint.lib /nologo /subsystem:windows /dll /machine:I386 /nodefaultlib:"libc" /libpath:"Release"
+
+!ELSEIF "$(CFG)" == "python15 - 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 "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /D "_DEBUG" /D "USE_DL_EXPORT" /D "WIN32" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /i "..\Include" /d "_DEBUG"
+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 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
+# 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 wsock32.lib largeint.lib /nologo /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./python15_d.dll" /pdbtype:sept /libpath:"Debug"
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "python15 - Win32 Release"
+# Name "python15 - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\Objects\abstract.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\acceler.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\arraymodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\audioop.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\binascii.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\bitset.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\bltinmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\ceval.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\classobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\cmathmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\cobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\compile.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\complexobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\config.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\cPickle.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\cStringIO.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\dictobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\dl_nt.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\errnomodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\errors.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\fileobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\floatobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\fpectlmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\fpetestmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\frameobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\frozen.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\funcobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getargs.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\getbuildinfo.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getcompiler.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getcopyright.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getmtime.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getopt.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\getpathp.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getplatform.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\getversion.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\graminit.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\grammar1.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\imageop.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\import.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\import_nt.c
+# ADD CPP /I "..\Python"
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\importdl.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\intobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\listnode.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\listobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\longobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\main.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\marshal.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\mathmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\md5c.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\md5module.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\metagrammar.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\methodobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\modsupport.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\moduleobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\msvcrtmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\myreadline.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\mystrtoul.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\newmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\node.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\object.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\operator.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\parser.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\parsetok.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\pcremodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\posixmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\pyfpe.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\pypcre.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\pystate.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\python_nt.def
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\python_nt.rc
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\pythonrun.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\rangeobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\regexmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\regexpr.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\rgbimgmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\rotormodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\selectmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\signalmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\sliceobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\socketmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\soundex.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\stringobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\stropmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\structmember.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\structmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\sysmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\thread.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\threadmodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\timemodule.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Parser\tokenizer.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Python\traceback.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\tupleobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Objects\typeobject.c
+# End Source File
+# Begin Source File
+
+SOURCE=..\Modules\yuvconvert.c
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/pythonw.dsp b/PCbuild/pythonw.dsp new file mode 100644 index 0000000..6fb618d --- /dev/null +++ b/PCbuild/pythonw.dsp @@ -0,0 +1,100 @@ +# Microsoft Developer Studio Project File - Name="pythonw" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Application" 0x0101
+
+CFG=pythonw - 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 "pythonw.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 "pythonw.mak" CFG="pythonw - Win32 Debug"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "pythonw - Win32 Release" (based on "Win32 (x86) Application")
+!MESSAGE "pythonw - Win32 Debug" (based on "Win32 (x86) Application")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "pythonw - 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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:windows /machine:I386
+# 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 python15.lib /nologo /subsystem:windows /machine:I386 /libpath:"Release"
+# SUBTRACT LINK32 /pdb:none
+
+!ELSEIF "$(CFG)" == "pythonw - 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 "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+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 /nologo /subsystem:windows /debug /machine:I386 /pdbtype:sept
+# 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 python15_d.lib /nologo /subsystem:windows /debug /machine:I386 /out:"./pythonw_d.exe" /pdbtype:sept /libpath:"Debug"
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "pythonw - Win32 Release"
+# Name "pythonw - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\PC\python_exe.rc
+# End Source File
+# Begin Source File
+
+SOURCE=..\PC\WinMain.c
+# End Source File
+# End Target
+# End Project
diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index 0086238..71e46be 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -1,5 +1,29 @@ -This directory is used by the build procedure for Windows NT. -Read the instructions in ../PC/readme.txt. +Building Python using VC++ 5.x +------------------------------ -Assuming you are using VC++ 5.x, you can simply copy the project files -from ../PC/vc5x/* here and open the pcbuild project. +This directory is used to build Python for Win32 platforms, +e.g. Windows 95, 98 and NT. It requires Microsoft Visual C++ 5.x. +(For other Windows platforms and compilers, see ../PC/readme.txt.) + +Unlike previous versions, there's no longer a need to copy the project +files from the PC/vc5x subdirectory to the PCbuild directory -- they +come in PCbuild. + +All you need to do is open the workspace "pcbuild.dsw" in MSVC++, +select the Debug or Release setting (using Set Active +Configuration... in the Build menu), and build the projects. + +The proper order to build is + +1) python15 (this builds python15.dll and python15.lib) +2) python (this builds python.exe) +3) the other subprojects + +Some subprojects require that you have distributions of other +software: Tcl/Tk, bsddb and zlib. If you don't have these, you can't +build the corresponding extensions. If you do have them, you may have +to change the project settings to point to the right include files, +libraries etc. + +When using the Debug setting, the output files have a _d added to +their name: python15_d.dll, python_d.exe, parser_d.pyd, and so on. diff --git a/PCbuild/zlib.dsp b/PCbuild/zlib.dsp new file mode 100644 index 0000000..99ed024 --- /dev/null +++ b/PCbuild/zlib.dsp @@ -0,0 +1,96 @@ +# Microsoft Developer Studio Project File - Name="zlib" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 5.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+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 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "zlib - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(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 "."
+# PROP Intermediate_Dir "temp-release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MD /W3 /GX /O2 /I "..\Include" /I "..\PC" /I "..\..\zlib104forvc" /D "NDEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+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 /nologo /subsystem:windows /dll /machine:I386
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15.lib ..\..\zlibvc104dll\zlib.lib /nologo /subsystem:windows /dll /machine:I386 /out:"./zlib.pyd" /libpath:"Release" /export:initzlib
+# SUBTRACT LINK32 /pdb:none
+
+!ELSEIF "$(CFG)" == "zlib - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "zlib"
+# PROP BASE Intermediate_Dir "zlib"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "."
+# PROP Intermediate_Dir "temp-debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
+# ADD CPP /nologo /MDd /W3 /Gm /GX /Zi /Od /I "..\Include" /I "..\PC" /I "..\..\zlib104forvc" /D "_DEBUG" /D "WIN32" /D "_WINDOWS" /YX /FD /c
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /o NUL /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+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 /nologo /subsystem:windows /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 user32.lib kernel32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib python15_d.lib ..\..\zlibvc104dll\zlib.lib /nologo /subsystem:windows /dll /debug /machine:I386 /out:"./zlib_d.pyd" /pdbtype:sept /libpath:"Debug" /export:initzlib
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "zlib - Win32 Release"
+# Name "zlib - Win32 Debug"
+# Begin Source File
+
+SOURCE=..\Modules\zlibmodule.c
+# End Source File
+# End Target
+# End Project
|