diff options
author | Tim Peters <tim.peters@gmail.com> | 2002-03-23 00:20:15 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2002-03-23 00:20:15 (GMT) |
commit | 1221c0a435135143632d986e861d9243d3d2ad35 (patch) | |
tree | 402bea358ba5042ac020bf9cd27f725abc5974d3 /PCbuild/pythoncore.dsp | |
parent | c24ea08644279224a7a8be419648261f9566c9b3 (diff) | |
download | cpython-1221c0a435135143632d986e861d9243d3d2ad35.zip cpython-1221c0a435135143632d986e861d9243d3d2ad35.tar.gz cpython-1221c0a435135143632d986e861d9243d3d2ad35.tar.bz2 |
Build obmalloc.c directly instead of #include'ing from object.c.
Also move all _PyMalloc_XXX entry points into obmalloc.c.
The Windows build works fine.
The Unix build is changed here (Makefile.pre.in), but not tested.
No other platform's build process has been fiddled.
Diffstat (limited to 'PCbuild/pythoncore.dsp')
-rw-r--r-- | PCbuild/pythoncore.dsp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.dsp b/PCbuild/pythoncore.dsp index 6495952..b91355f 100644 --- a/PCbuild/pythoncore.dsp +++ b/PCbuild/pythoncore.dsp @@ -1268,6 +1268,21 @@ SOURCE=..\Objects\object.c # End Source File
# Begin Source File
+SOURCE=..\Objects\obmalloc.c
+
+!IF "$(CFG)" == "pythoncore - Win32 Release"
+
+!ELSEIF "$(CFG)" == "pythoncore - Win32 Debug"
+
+!ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Debug"
+
+!ELSEIF "$(CFG)" == "pythoncore - Win32 Alpha Release"
+
+!ENDIF
+
+# End Source File
+# Begin Source File
+
SOURCE=..\Modules\operator.c
!IF "$(CFG)" == "pythoncore - Win32 Release"
|