summaryrefslogtreecommitdiffstats
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-08-01 15:56:14 (GMT)
committerGitHub <noreply@github.com>2018-08-01 15:56:14 (GMT)
commit6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6 (patch)
tree9f87d1708dd9895c78b5ac7d1b9bc31aa835e48f /Makefile.pre.in
parentcfc8831f5ed607048679427f7d76d6cb4f8a2e8a (diff)
downloadcpython-6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6.zip
cpython-6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6.tar.gz
cpython-6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6.tar.bz2
bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607)
* Add Include/coreconfig.h * Move config_*() and _PyCoreConfig_*() functions from Modules/main.c to a new Python/coreconfig.c file. * Inline _Py_ReadHashSeed() into config_init_hash_seed() * Move global configuration variables to coreconfig.c
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r--Makefile.pre.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 51cf2fd..d60d48e 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -329,8 +329,9 @@ PYTHON_OBJS= \
Python/ast_unparse.o \
Python/bltinmodule.o \
Python/ceval.o \
- Python/compile.o \
Python/codecs.o \
+ Python/compile.o \
+ Python/coreconfig.o \
Python/dynamic_annotations.o \
Python/errors.o \
Python/frozenmain.o \
@@ -944,6 +945,7 @@ PYTHON_HEADERS= \
$(srcdir)/Include/codecs.h \
$(srcdir)/Include/compile.h \
$(srcdir)/Include/complexobject.h \
+ $(srcdir)/Include/coreconfig.h \
$(srcdir)/Include/descrobject.h \
$(srcdir)/Include/dictobject.h \
$(srcdir)/Include/dtoa.h \