From: Neil Schemenauer Date: Thu, 25 Jan 2001 20:07:50 +0000 (+0000) Subject: Make module objects from Setup depend on Python.h headers. X-Git-Tag: v2.1a2~178 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f65e500594f935c642e2b8d6de44c9d530f1ec47;p=thirdparty%2FPython%2Fcpython.git Make module objects from Setup depend on Python.h headers. --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ce54e444bf6d..c371e2e89758 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -414,9 +414,9 @@ Objects/unicodectype.o: $(srcdir)/Objects/unicodectype.c \ ############################################################################ # Header files -$(LIBRARY_OBJS) $(MAINOBJ): \ - config.h \ +PYTHON_HEADERS= \ Include/Python.h \ + config.h \ Include/patchlevel.h \ Include/pyport.h \ Include/pymem.h \ @@ -454,6 +454,8 @@ $(LIBRARY_OBJS) $(MAINOBJ): \ Include/abstract.h \ Include/pyfpe.h +$(LIBRARY_OBJS) $(MODOBJS) $(MAINOBJ): $(PYTHON_HEADERS) + ######################################################################