summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-01-25 20:07:50 (GMT)
committerNeil Schemenauer <nascheme@enme.ucalgary.ca>2001-01-25 20:07:50 (GMT)
commitf65e500594f935c642e2b8d6de44c9d530f1ec47 (patch)
tree2a187a4b29b47748aa1161396165268e5714e45a /Makefile.pre.in
parent64949cb753f206c0ca1d83f55d07afd3c179b81a (diff)
downloadcpython-f65e500594f935c642e2b8d6de44c9d530f1ec47.zip
cpython-f65e500594f935c642e2b8d6de44c9d530f1ec47.tar.gz
cpython-f65e500594f935c642e2b8d6de44c9d530f1ec47.tar.bz2
Make module objects from Setup depend on Python.h headers.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index ce54e44..c371e2e 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)
+
######################################################################