summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
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 /Makefile.pre.in
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 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 5bed545..8a10a10 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -263,6 +263,7 @@ OBJECT_OBJS= \
Objects/methodobject.o \
Objects/moduleobject.o \
Objects/object.o \
+ Objects/obmalloc.o \
Objects/rangeobject.o \
Objects/sliceobject.o \
Objects/stringobject.o \
@@ -424,8 +425,6 @@ Python/getplatform.o: $(srcdir)/Python/getplatform.c
Python/importdl.o: $(srcdir)/Python/importdl.c
$(CC) -c $(CFLAGS) $(CPPFLAGS) -I$(DLINCLDIR) -o $@ $(srcdir)/Python/importdl.c
-Objects/object.o: $(srcdir)/Objects/object.c $(srcdir)/Objects/obmalloc.c
-
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h