summaryrefslogtreecommitdiffstats
path: root/PCbuild/pythoncore.dsp
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-03-23 00:20:15 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-03-23 00:20:15 (GMT)
commit1221c0a435135143632d986e861d9243d3d2ad35 (patch)
tree402bea358ba5042ac020bf9cd27f725abc5974d3 /PCbuild/pythoncore.dsp
parentc24ea08644279224a7a8be419648261f9566c9b3 (diff)
downloadcpython-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.dsp15
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"