cpython: 1811c4e5527f (original) (raw)
Mercurial > cpython
changeset 72899:1811c4e5527f
Issue #13157: Fix building Python outside its source tree [#13157]
Victor Stinner victor.stinner@haypocalc.com | |
---|---|
date | Wed, 12 Oct 2011 22:09:40 +0200 |
parents | 8bbfb24d4824 |
children | 5b0abbdf7f1a |
files | Makefile.pre.in |
diffstat | 1 files changed, 92 insertions(+), 88 deletions(-)[+] [-] Makefile.pre.in 180 |
line wrap: on
line diff
--- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -258,9 +258,9 @@ PGOBJS= [](#l1.3) Parser/pgenmain.o PARSER_HEADERS= [](#l1.6) - Parser/parser.h [](#l1.7) - Include/parsetok.h [](#l1.8) - Parser/tokenizer.h + $(srcdir)/Parser/parser.h [](#l1.10) + $(srcdir)/Include/parsetok.h [](#l1.11) + $(srcdir)/Parser/tokenizer.h PGENOBJS= (PGENMAIN)(PGENMAIN) (PGENMAIN)(POBJS) $(PGOBJS) @@ -370,7 +370,7 @@ OBJECT_OBJS= [](#l1.16) Objects/obmalloc.o [](#l1.17) Objects/capsule.o [](#l1.18) Objects/rangeobject.o [](#l1.19)
Objects/setobject.o \[](#l1.20)
Objects/setobject.o \[](#l1.21) Objects/sliceobject.o \[](#l1.22) Objects/structseq.o \[](#l1.23) Objects/tupleobject.o \[](#l1.24)
@@ -571,6 +571,9 @@ Modules/getpath.o: $(srcdir)/Modules/get Modules/python.o: $(srcdir)/Modules/python.c (MAINCC)−c(MAINCC) -c (MAINCC)−c(PY_CORE_CFLAGS) -o @@ @(srcdir)/Modules/python.c +Modules/_testembed.o: $(srcdir)/Modules/_testembed.c
- (MAINCC)−c(MAINCC) -c (MAINCC)−c(PY_CORE_CFLAGS) -o @@ @(srcdir)/Modules/_testembed.c + Python/dynload_shlib.o: $(srcdir)/Python/dynload_shlib.c Makefile (CC)−c(CC) -c (CC)−c(PY_CORE_CFLAGS) [](#l1.33) -DSOABI='"$(SOABI)"' [](#l1.34)
@@ -600,6 +603,7 @@ Parser/metagrammar.o: $(srcdir)/Parser/m Parser/tokenizer_pgen.o: $(srcdir)/Parser/tokenizer.c Parser/parsetok_pgen.o: $(srcdir)/Parser/parsetok.c +Parser/printgrammar.o: $(srcdir)/Parser/printgrammar.c Parser/pgenmain.o: $(srcdir)/Include/parsetok.h @@ -647,7 +651,7 @@ Objects/setobject.o: $(srcdir)/Objects/s (OPCODETARGETSH):(OPCODETARGETS_H): (OPCODETARGETSH):(OPCODETARGETGEN_FILES) (OPCODETARGETGEN)(OPCODETARGETGEN) (OPCODETARGETGEN)(OPCODETARGETS_H) -Python/ceval.o: $(OPCODETARGETS_H) Python/ceval_gil.h +Python/ceval.o: (OPCODETARGETSH)(OPCODETARGETS_H) (OPCODETARGETSH)(srcdir)/Python/ceval_gil.h Python/formatter_unicode.o: $(srcdir)/Python/formatter_unicode.c [](#l1.50) $(BYTESTR_DEPS) @@ -660,88 +664,88 @@ Objects/typeobject.o: $(srcdir)/Objects/
Header files
PYTHON_HEADERS= [](#l1.55) - Include/Python.h [](#l1.56) - Include/abstract.h [](#l1.57) - Include/accu.h [](#l1.58) - Include/asdl.h [](#l1.59) - Include/ast.h [](#l1.60)
Include/bltinmodule.h \[](#l1.61)
Include/bitset.h \[](#l1.62)
Include/boolobject.h \[](#l1.63)
Include/bytes_methods.h \[](#l1.64)
Include/bytearrayobject.h \[](#l1.65)
Include/bytesobject.h \[](#l1.66)
Include/cellobject.h \[](#l1.67)
Include/ceval.h \[](#l1.68)
Include/classobject.h \[](#l1.69)
Include/code.h \[](#l1.70)
Include/codecs.h \[](#l1.71)
Include/compile.h \[](#l1.72)
Include/complexobject.h \[](#l1.73)
Include/descrobject.h \[](#l1.74)
Include/dictobject.h \[](#l1.75)
Include/dtoa.h \[](#l1.76)
Include/dynamic_annotations.h \[](#l1.77)
Include/enumobject.h \[](#l1.78)
Include/errcode.h \[](#l1.79)
Include/eval.h \[](#l1.80)
Include/fileobject.h \[](#l1.81)
Include/fileutils.h \[](#l1.82)
Include/floatobject.h \[](#l1.83)
Include/frameobject.h \[](#l1.84)
Include/funcobject.h \[](#l1.85)
Include/genobject.h \[](#l1.86)
Include/import.h \[](#l1.87)
Include/intrcheck.h \[](#l1.88)
Include/iterobject.h \[](#l1.89)
Include/listobject.h \[](#l1.90)
Include/longintrepr.h \[](#l1.91)
Include/longobject.h \[](#l1.92)
Include/marshal.h \[](#l1.93)
Include/memoryobject.h \[](#l1.94)
Include/metagrammar.h \[](#l1.95)
Include/methodobject.h \[](#l1.96)
Include/modsupport.h \[](#l1.97)
Include/moduleobject.h \[](#l1.98)
Include/node.h \[](#l1.99)
Include/object.h \[](#l1.100)
Include/objimpl.h \[](#l1.101)
Include/opcode.h \[](#l1.102)
Include/osdefs.h \[](#l1.103)
Include/patchlevel.h \[](#l1.104)
Include/pgen.h \[](#l1.105)
Include/pgenheaders.h \[](#l1.106)
Include/pyarena.h \[](#l1.107)
Include/pyatomic.h \[](#l1.108)
Include/pycapsule.h \[](#l1.109)
Include/pyctype.h \[](#l1.110)
Include/pydebug.h \[](#l1.111)
Include/pyerrors.h \[](#l1.112)
Include/pyfpe.h \[](#l1.113)
Include/pymath.h \[](#l1.114)
Include/pygetopt.h \[](#l1.115)
Include/pymacro.h \[](#l1.116)
Include/pymem.h \[](#l1.117)
Include/pyport.h \[](#l1.118)
Include/pystate.h \[](#l1.119)
Include/pystrcmp.h \[](#l1.120)
Include/pystrtod.h \[](#l1.121)
Include/pythonrun.h \[](#l1.122)
Include/pythread.h \[](#l1.123)
Include/pytime.h \[](#l1.124)
Include/rangeobject.h \[](#l1.125)
Include/setobject.h \[](#l1.126)
Include/sliceobject.h \[](#l1.127)
Include/structmember.h \[](#l1.128)
Include/structseq.h \[](#l1.129)
Include/symtable.h \[](#l1.130)
Include/sysmodule.h \[](#l1.131)
Include/traceback.h \[](#l1.132)
Include/tupleobject.h \[](#l1.133)
Include/ucnhash.h \[](#l1.134)
Include/unicodeobject.h \[](#l1.135)
Include/warnings.h \[](#l1.136)
Include/weakrefobject.h \[](#l1.137)
$(srcdir)/Include/Python.h \[](#l1.138)
$(srcdir)/Include/abstract.h \[](#l1.139)
$(srcdir)/Include/accu.h \[](#l1.140)
$(srcdir)/Include/asdl.h \[](#l1.141)
$(srcdir)/Include/ast.h \[](#l1.142)
$(srcdir)/Include/bltinmodule.h \[](#l1.143)
$(srcdir)/Include/bitset.h \[](#l1.144)
$(srcdir)/Include/boolobject.h \[](#l1.145)
$(srcdir)/Include/bytes_methods.h \[](#l1.146)
$(srcdir)/Include/bytearrayobject.h \[](#l1.147)
$(srcdir)/Include/bytesobject.h \[](#l1.148)
$(srcdir)/Include/cellobject.h \[](#l1.149)
$(srcdir)/Include/ceval.h \[](#l1.150)
$(srcdir)/Include/classobject.h \[](#l1.151)
$(srcdir)/Include/code.h \[](#l1.152)
$(srcdir)/Include/codecs.h \[](#l1.153)
$(srcdir)/Include/compile.h \[](#l1.154)
$(srcdir)/Include/complexobject.h \[](#l1.155)
$(srcdir)/Include/descrobject.h \[](#l1.156)
$(srcdir)/Include/dictobject.h \[](#l1.157)
$(srcdir)/Include/dtoa.h \[](#l1.158)
$(srcdir)/Include/dynamic_annotations.h \[](#l1.159)
$(srcdir)/Include/enumobject.h \[](#l1.160)
$(srcdir)/Include/errcode.h \[](#l1.161)
$(srcdir)/Include/eval.h \[](#l1.162)
$(srcdir)/Include/fileobject.h \[](#l1.163)
$(srcdir)/Include/fileutils.h \[](#l1.164)
$(srcdir)/Include/floatobject.h \[](#l1.165)
$(srcdir)/Include/frameobject.h \[](#l1.166)
$(srcdir)/Include/funcobject.h \[](#l1.167)
$(srcdir)/Include/genobject.h \[](#l1.168)
$(srcdir)/Include/import.h \[](#l1.169)
$(srcdir)/Include/intrcheck.h \[](#l1.170)
$(srcdir)/Include/iterobject.h \[](#l1.171)
$(srcdir)/Include/listobject.h \[](#l1.172)
$(srcdir)/Include/longintrepr.h \[](#l1.173)
$(srcdir)/Include/longobject.h \[](#l1.174)
$(srcdir)/Include/marshal.h \[](#l1.175)
$(srcdir)/Include/memoryobject.h \[](#l1.176)
$(srcdir)/Include/metagrammar.h \[](#l1.177)
$(srcdir)/Include/methodobject.h \[](#l1.178)
$(srcdir)/Include/modsupport.h \[](#l1.179)
$(srcdir)/Include/moduleobject.h \[](#l1.180)
$(srcdir)/Include/node.h \[](#l1.181)
$(srcdir)/Include/object.h \[](#l1.182)
$(srcdir)/Include/objimpl.h \[](#l1.183)
$(srcdir)/Include/opcode.h \[](#l1.184)
$(srcdir)/Include/osdefs.h \[](#l1.185)
$(srcdir)/Include/patchlevel.h \[](#l1.186)
$(srcdir)/Include/pgen.h \[](#l1.187)
$(srcdir)/Include/pgenheaders.h \[](#l1.188)
$(srcdir)/Include/pyarena.h \[](#l1.189)
$(srcdir)/Include/pyatomic.h \[](#l1.190)
$(srcdir)/Include/pycapsule.h \[](#l1.191)
$(srcdir)/Include/pyctype.h \[](#l1.192)
$(srcdir)/Include/pydebug.h \[](#l1.193)
$(srcdir)/Include/pyerrors.h \[](#l1.194)
$(srcdir)/Include/pyfpe.h \[](#l1.195)
$(srcdir)/Include/pymath.h \[](#l1.196)
$(srcdir)/Include/pygetopt.h \[](#l1.197)
$(srcdir)/Include/pymacro.h \[](#l1.198)
$(srcdir)/Include/pymem.h \[](#l1.199)
$(srcdir)/Include/pyport.h \[](#l1.200)
$(srcdir)/Include/pystate.h \[](#l1.201)
$(srcdir)/Include/pystrcmp.h \[](#l1.202)
$(srcdir)/Include/pystrtod.h \[](#l1.203)
$(srcdir)/Include/pythonrun.h \[](#l1.204)
$(srcdir)/Include/pythread.h \[](#l1.205)
$(srcdir)/Include/pytime.h \[](#l1.206)
$(srcdir)/Include/rangeobject.h \[](#l1.207)
$(srcdir)/Include/setobject.h \[](#l1.208)
$(srcdir)/Include/sliceobject.h \[](#l1.209)
$(srcdir)/Include/structmember.h \[](#l1.210)
$(srcdir)/Include/structseq.h \[](#l1.211)
$(srcdir)/Include/symtable.h \[](#l1.212)
$(srcdir)/Include/sysmodule.h \[](#l1.213)
$(srcdir)/Include/traceback.h \[](#l1.214)
$(srcdir)/Include/tupleobject.h \[](#l1.215)
$(srcdir)/Include/ucnhash.h \[](#l1.216)
$(srcdir)/Include/unicodeobject.h \[](#l1.217)
$(srcdir)/Include/warnings.h \[](#l1.218)
@@ -1231,7 +1235,7 @@ scriptsinstall: --root=$(DESTDIR)/$(srcdir)/Include/weakrefobject.h \[](#l1.219) pyconfig.h \[](#l1.220) $(PARSER_HEADERS)[](#l1.221)
Build the toplevel Makefile
-Makefile.pre: Makefile.pre.in config.status +Makefile.pre: $(srcdir)/Makefile.pre.in config.status CONFIG_FILES=Makefile.pre CONFIG_HEADERS= $(SHELL) config.status $(MAKE) -f Makefile.pre Makefile