From 3e623243d56ca80c31ed2d3ae1f0b750c0e072aa Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Sun, 13 Nov 2011 19:37:58 +0100 Subject: [PATCH] Issue #13217: add missing header dependencies in the Makefile for unicodeobject.o. Patch by John O'Connor. --- Makefile.pre.in | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile.pre.in b/Makefile.pre.in index 896a08ed6eb..df1c0e704b5 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -640,14 +640,22 @@ BYTESTR_DEPS = \ $(srcdir)/Objects/stringlib/stringdefs.h \ $(srcdir)/Objects/stringlib/transmogrify.h \ $(srcdir)/Objects/stringlib/unicodedefs.h \ - $(srcdir)/Objects/stringlib/localeutil.h + $(srcdir)/Objects/stringlib/localeutil.h \ + $(srcdir)/Objects/stringlib/undef.h + +UNICODE_DEPS = $(BYTESTR_DEPS) \ + $(srcdir)/Objects/stringlib/asciilib.h \ + $(srcdir)/Objects/stringlib/ucs1lib.h \ + $(srcdir)/Objects/stringlib/ucs2lib.h \ + $(srcdir)/Objects/stringlib/ucs4lib.h \ + $(srcdir)/Objects/stringlib/unicode_format.h \ + $(srcdir)/Objects/stringlib/unicodedefs.h Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS) Objects/bytearrayobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS) -Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c \ - $(BYTESTR_DEPS) $(srcdir)/Objects/stringlib/unicode_format.h +Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c $(UNICODE_DEPS) Objects/dictobject.o: $(srcdir)/Objects/stringlib/eq.h Objects/setobject.o: $(srcdir)/Objects/stringlib/eq.h