diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-12-16 20:18:38 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-12-16 20:18:38 (GMT) |
commit | 2a799bf77a83adef010ff4751e5195702f159f39 (patch) | |
tree | 90b697e3caf531a7fad627dfaf931a42415df25a /PCbuild | |
parent | 786ddb29c9170a585ca1010bd392fb5a5ff4078c (diff) | |
download | cpython-2a799bf77a83adef010ff4751e5195702f159f39.zip cpython-2a799bf77a83adef010ff4751e5195702f159f39.tar.gz cpython-2a799bf77a83adef010ff4751e5195702f159f39.tar.bz2 |
datetime escapes the sandbox. The Windows build is all set. I leave it
to others to argue about how to build it on other platforms (on Windows
it's in its own DLL).
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/datetime.dsp | 99 | ||||
-rw-r--r-- | PCbuild/pcbuild.dsw | 15 | ||||
-rw-r--r-- | PCbuild/python20.wse | 10 | ||||
-rw-r--r-- | PCbuild/readme.txt | 2 |
4 files changed, 126 insertions, 0 deletions
diff --git a/PCbuild/datetime.dsp b/PCbuild/datetime.dsp new file mode 100644 index 0000000..be735ce --- /dev/null +++ b/PCbuild/datetime.dsp @@ -0,0 +1,99 @@ +# Microsoft Developer Studio Project File - Name="datetime" - Package Owner=<4> +# Microsoft Developer Studio Generated Build File, Format Version 6.00 +# ** DO NOT EDIT ** + +# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102 + +CFG=datetime - 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 "datetime.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 "datetime.mak" CFG="datetime - Win32 Debug" +!MESSAGE +!MESSAGE Possible choices for configuration are: +!MESSAGE +!MESSAGE "datetime - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE "datetime - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library") +!MESSAGE + +# Begin Project +# PROP AllowPerConfigDependencies 0 +# PROP Scc_ProjName "datetime" +# PROP Scc_LocalPath ".." +CPP=cl.exe +MTL=midl.exe +RSC=rc.exe + +!IF "$(CFG)" == "datetime - 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 "x86-temp-release\datetime" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c +# ADD CPP /nologo /MD /W3 /GX /Zi /O2 /I "..\Include" /I "..\PC" /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 wsock32.lib /nologo /base:"0x1D180000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /out:"./datetime.pyd" +# SUBTRACT LINK32 /pdb:none + +!ELSEIF "$(CFG)" == "datetime - 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 "x86-temp-debug\datetime" +# PROP Ignore_Export_Lib 0 +# PROP Target_Dir "" +F90=df.exe +# 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 "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 wsock32.lib /nologo /base:"0x1D180000" /subsystem:windows /dll /debug /machine:I386 /nodefaultlib:"libc" /nodefaultlib:"msvcrt" /out:"./datetime_d.pyd" /pdbtype:sept +# SUBTRACT LINK32 /pdb:none + +!ENDIF + +# Begin Target + +# Name "datetime - Win32 Release" +# Name "datetime - Win32 Debug" +# Begin Source File + +SOURCE=..\Modules\datetimemodule.c +# End Source File +# End Target +# End Project diff --git a/PCbuild/pcbuild.dsw b/PCbuild/pcbuild.dsw index b6d65c7..7e80aaa 100644 --- a/PCbuild/pcbuild.dsw +++ b/PCbuild/pcbuild.dsw @@ -129,6 +129,21 @@ Package=<4> ###############################################################################
+Project: "datetime"=.\datetime.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name pythoncore
+ End Project Dependency
+}}}
+
+###############################################################################
+
Project: "mmap"=.\mmap.dsp - Package Owner=<4>
Package=<5>
diff --git a/PCbuild/python20.wse b/PCbuild/python20.wse index 91ad583..239e6b7 100644 --- a/PCbuild/python20.wse +++ b/PCbuild/python20.wse @@ -1740,6 +1740,11 @@ item: Install File Flags=0000000000000010 end item: Install File + Source=.\datetime.pyd + Destination=%MAINDIR%\DLLs\datetime.pyd + Flags=0000000000000010 +end +item: Install File Source=.\mmap.pyd Destination=%MAINDIR%\DLLs\mmap.pyd Flags=0000000000000010 @@ -1827,6 +1832,11 @@ item: Install File Flags=0000000000000010 end item: Install File + Source=.\datetime.lib + Destination=%MAINDIR%\libs\datetime.lib + Flags=0000000000000010 +end +item: Install File Source=.\mmap.lib Destination=%MAINDIR%\libs\mmap.lib Flags=0000000000000010 diff --git a/PCbuild/readme.txt b/PCbuild/readme.txt index f565c5a..b6cd15c 100644 --- a/PCbuild/readme.txt +++ b/PCbuild/readme.txt @@ -48,6 +48,8 @@ _symtable _testcapi tests of the Python C API, run via Lib/test/test_capi.py, and implemented by module Modules/_testcapimodule.c +datetime + datetimemodule.c mmap mmapmodule.c parser |