summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorGregory P. Smith <greg@mad-scientist.com>2007-10-16 06:31:30 (GMT)
committerGregory P. Smith <greg@mad-scientist.com>2007-10-16 06:31:30 (GMT)
commit60d241f135f10312f5a638846659d7e471f6cac9 (patch)
tree620abe8a5e99620cec51a3476ea96c2459956e70 /Makefile.pre.in
parent3d2fd7f923c35fe61c0f26f2ae150d73a42859b9 (diff)
downloadcpython-60d241f135f10312f5a638846659d7e471f6cac9.zip
cpython-60d241f135f10312f5a638846659d7e471f6cac9.tar.gz
cpython-60d241f135f10312f5a638846659d7e471f6cac9.tar.bz2
For PEP3137: Adds missing methods to the mutable PyBytes object (soon
to be called a buffer). Shares code with stringobject when possible. Adds unit tests with common code that should be usable to test the PEPs mutable buffer() and immutable bytes() types. http://bugs.python.org/issue1261
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 45f771a..7a0851e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -285,6 +285,7 @@ PYTHON_OBJS= \
OBJECT_OBJS= \
Objects/abstract.o \
Objects/boolobject.o \
+ Objects/bytes_methods.o \
Objects/bytesobject.o \
Objects/cellobject.o \
Objects/classobject.o \
@@ -507,6 +508,18 @@ Python/importdl.o: $(srcdir)/Python/importdl.c
Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \
$(srcdir)/Objects/unicodetype_db.h
+BYTESTR_DEPS = Include/bytes_methods.h \
+ $(srcdir)/Objects/stringlib/fastsearch.h \
+ $(srcdir)/Objects/stringlib/count.h \
+ $(srcdir)/Objects/stringlib/find.h \
+ $(srcdir)/Objects/stringlib/partition.h \
+ $(srcdir)/Objects/stringlib/ctype.h \
+ $(srcdir)/Objects/stringlib/transmogrify.h
+
+Objects/stringobject.o: $(srcdir)/Objects/stringobject.c $(BYTESTR_DEPS)
+
+Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS)
+
Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c \
$(srcdir)/Objects/stringlib/string_format.h \
$(srcdir)/Objects/stringlib/unicodedefs.h \