Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(246868)

Delta Between Two Patch Sets: Makefile.pre.in

Issue 26798: add BLAKE2 to hashlib
Left Patch Set: Created 3 years, 3 months ago
Right Patch Set: Created 2 years, 11 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_hashlib.py ('k') | Modules/_blake2/blake2b2s.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # Top-level Makefile for Python 1 # Top-level Makefile for Python
2 # 2 #
3 # As distributed, this file is called Makefile.pre.in; it is processed 3 # As distributed, this file is called Makefile.pre.in; it is processed
4 # into the real Makefile by running the script ./configure, which 4 # into the real Makefile by running the script ./configure, which
5 # replaces things like @spam@ with values appropriate for your system. 5 # replaces things like @spam@ with values appropriate for your system.
6 # This means that if you edit Makefile, your changes get lost the next 6 # This means that if you edit Makefile, your changes get lost the next
7 # time you run the configure script. Ideally, you can do: 7 # time you run the configure script. Ideally, you can do:
8 # 8 #
9 # ./configure 9 # ./configure
10 # make 10 # make
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 CFLAGSFORSHARED=@CFLAGSFORSHARED@ 102 CFLAGSFORSHARED=@CFLAGSFORSHARED@
103 # C flags used for building the interpreter object files 103 # C flags used for building the interpreter object files
104 PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARE D) -DPy_BUILD_CORE 104 PY_CORE_CFLAGS= $(PY_CFLAGS) $(PY_CFLAGS_NODIST) $(PY_CPPFLAGS) $(CFLAGSFORSHARE D) -DPy_BUILD_CORE
105 105
106 106
107 # Machine-dependent subdirectories 107 # Machine-dependent subdirectories
108 MACHDEP= @MACHDEP@ 108 MACHDEP= @MACHDEP@
109 109
110 # Multiarch directory (may be empty) 110 # Multiarch directory (may be empty)
111 MULTIARCH= @MULTIARCH@ 111 MULTIARCH= @MULTIARCH@
112 MULTIARCH_CPPFLAGS = @MULTIARCH_CPPFLAGS@
112 113
113 # Install prefix for architecture-independent files 114 # Install prefix for architecture-independent files
114 prefix= @prefix@ 115 prefix= @prefix@
115 116
116 # Install prefix for architecture-dependent files 117 # Install prefix for architecture-dependent files
117 exec_prefix= @exec_prefix@ 118 exec_prefix= @exec_prefix@
118 119
119 # Install prefix for data files 120 # Install prefix for data files
120 datarootdir= @datarootdir@ 121 datarootdir= @datarootdir@
121 122
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 THREADOBJ= @THREADOBJ@ 215 THREADOBJ= @THREADOBJ@
215 DLINCLDIR= @DLINCLDIR@ 216 DLINCLDIR= @DLINCLDIR@
216 DYNLOADFILE= @DYNLOADFILE@ 217 DYNLOADFILE= @DYNLOADFILE@
217 MACHDEP_OBJS= @MACHDEP_OBJS@ 218 MACHDEP_OBJS= @MACHDEP_OBJS@
218 LIBOBJDIR= Python/ 219 LIBOBJDIR= Python/
219 LIBOBJS= @LIBOBJS@ 220 LIBOBJS= @LIBOBJS@
220 221
221 PYTHON= python$(EXE) 222 PYTHON= python$(EXE)
222 BUILDPYTHON= python$(BUILDEXE) 223 BUILDPYTHON= python$(BUILDEXE)
223 224
224 cross_compiling=@cross_compiling@ 225 PYTHON_FOR_GEN=@PYTHON_FOR_GEN@
225 PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@ 226 PYTHON_FOR_BUILD=@PYTHON_FOR_BUILD@
226 _PYTHON_HOST_PLATFORM=@_PYTHON_HOST_PLATFORM@ 227 _PYTHON_HOST_PLATFORM=@_PYTHON_HOST_PLATFORM@
227 BUILD_GNU_TYPE= @build@ 228 BUILD_GNU_TYPE= @build@
228 HOST_GNU_TYPE= @host@ 229 HOST_GNU_TYPE= @host@
229 230
230 # Tcl and Tk config info from --with-tcltk-includes and -libs options 231 # Tcl and Tk config info from --with-tcltk-includes and -libs options
231 TCLTK_INCLUDES= @TCLTK_INCLUDES@ 232 TCLTK_INCLUDES= @TCLTK_INCLUDES@
232 TCLTK_LIBS= @TCLTK_LIBS@ 233 TCLTK_LIBS= @TCLTK_LIBS@
233 234
234 # The task to run while instrumented when building the profile-opt target. 235 # The task to run while instrumented when building the profile-opt target.
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 GRAMMAR_H= Include/graminit.h 273 GRAMMAR_H= Include/graminit.h
273 GRAMMAR_C= Python/graminit.c 274 GRAMMAR_C= Python/graminit.c
274 GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar 275 GRAMMAR_INPUT= $(srcdir)/Grammar/Grammar
275 276
276 277
277 LIBFFI_INCLUDEDIR= @LIBFFI_INCLUDEDIR@ 278 LIBFFI_INCLUDEDIR= @LIBFFI_INCLUDEDIR@
278 279
279 ########################################################################## 280 ##########################################################################
280 # Parser 281 # Parser
281 PGEN= Parser/pgen$(EXE) 282 PGEN= Parser/pgen$(EXE)
282
283 PSRCS= \
284 Parser/acceler.c \
285 Parser/grammar1.c \
286 Parser/listnode.c \
287 Parser/node.c \
288 Parser/parser.c \
289 Parser/bitset.c \
290 Parser/metagrammar.c \
291 Parser/firstsets.c \
292 Parser/grammar.c \
293 Parser/pgen.c
294 283
295 POBJS= \ 284 POBJS= \
296 Parser/acceler.o \ 285 Parser/acceler.o \
297 Parser/grammar1.o \ 286 Parser/grammar1.o \
298 Parser/listnode.o \ 287 Parser/listnode.o \
299 Parser/node.o \ 288 Parser/node.o \
300 Parser/parser.o \ 289 Parser/parser.o \
301 Parser/bitset.o \ 290 Parser/bitset.o \
302 Parser/metagrammar.o \ 291 Parser/metagrammar.o \
303 Parser/firstsets.o \ 292 Parser/firstsets.o \
304 Parser/grammar.o \ 293 Parser/grammar.o \
305 Parser/pgen.o 294 Parser/pgen.o
306 295
307 PARSER_OBJS= $(POBJS) Parser/myreadline.o Parser/parsetok.o Parser/tokenizer. o 296 PARSER_OBJS= $(POBJS) Parser/myreadline.o Parser/parsetok.o Parser/tokenizer. o
308 297
309 PGSRCS= \
310 Objects/obmalloc.c \
311 Python/dynamic_annotations.c \
312 Python/mysnprintf.c \
313 Python/pyctype.c \
314 Parser/tokenizer_pgen.c \
315 Parser/printgrammar.c \
316 Parser/parsetok_pgen.c \
317 Parser/pgenmain.c
318
319 PGOBJS= \ 298 PGOBJS= \
320 Objects/obmalloc.o \ 299 Objects/obmalloc.o \
321 Python/dynamic_annotations.o \ 300 Python/dynamic_annotations.o \
322 Python/mysnprintf.o \ 301 Python/mysnprintf.o \
323 Python/pyctype.o \ 302 Python/pyctype.o \
324 Parser/tokenizer_pgen.o \ 303 Parser/tokenizer_pgen.o \
325 Parser/printgrammar.o \ 304 Parser/printgrammar.o \
326 Parser/parsetok_pgen.o \ 305 Parser/parsetok_pgen.o \
327 Parser/pgenmain.o 306 Parser/pgenmain.o
328 307
329 PARSER_HEADERS= \ 308 PARSER_HEADERS= \
330 $(srcdir)/Parser/parser.h \ 309 $(srcdir)/Parser/parser.h \
331 $(srcdir)/Include/parsetok.h \ 310 $(srcdir)/Include/parsetok.h \
332 $(srcdir)/Parser/tokenizer.h 311 $(srcdir)/Parser/tokenizer.h
333 312
334 PGENSRCS= $(PSRCS) $(PGSRCS)
335 PGENOBJS= $(POBJS) $(PGOBJS) 313 PGENOBJS= $(POBJS) $(PGOBJS)
336 314
337 ########################################################################## 315 ##########################################################################
338 # opcode.h generation 316 # opcode.h generation
339 OPCODE_H_DIR= $(srcdir)/Include 317 OPCODE_H_DIR= $(srcdir)/Include
340 OPCODE_H_SCRIPT= $(srcdir)/Tools/scripts/generate_opcode_h.py 318 OPCODE_H_SCRIPT= $(srcdir)/Tools/scripts/generate_opcode_h.py
341 OPCODE_H= $(OPCODE_H_DIR)/opcode.h 319 OPCODE_H= $(OPCODE_H_DIR)/opcode.h
342 OPCODE_H_GEN=» @OPCODEHGEN@ $(OPCODE_H_SCRIPT) $(srcdir)/Lib/opcode.py $(OPCOD E_H) 320 OPCODE_H_GEN=» $(PYTHON_FOR_GEN) $(OPCODE_H_SCRIPT) $(srcdir)/Lib/opcode.py $(O PCODE_H)
343 # 321 #
344 ########################################################################## 322 ##########################################################################
345 # AST 323 # AST
346 AST_H_DIR= Include 324 AST_H_DIR= Include
347 AST_H= $(AST_H_DIR)/Python-ast.h 325 AST_H= $(AST_H_DIR)/Python-ast.h
348 AST_C_DIR= Python 326 AST_C_DIR= Python
349 AST_C= $(AST_C_DIR)/Python-ast.c 327 AST_C= $(AST_C_DIR)/Python-ast.c
350 AST_ASDL= $(srcdir)/Parser/Python.asdl 328 AST_ASDL= $(srcdir)/Parser/Python.asdl
351 329
352 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py 330 ASDLGEN_FILES= $(srcdir)/Parser/asdl.py $(srcdir)/Parser/asdl_c.py
353 # Note that a build now requires Python to exist before the build starts. 331 # Note that a build now requires Python to exist before the build starts.
354 # Use "hg touch" to fix up screwed up file mtimes in a checkout. 332 # Use "hg touch" to fix up screwed up file mtimes in a checkout.
355 ASDLGEN=» @ASDLGEN@ $(srcdir)/Parser/asdl_c.py 333 ASDLGEN=» $(PYTHON_FOR_GEN) $(srcdir)/Parser/asdl_c.py
356 334
357 ########################################################################## 335 ##########################################################################
358 # Python 336 # Python
359 337
360 OPCODETARGETS_H= \ 338 OPCODETARGETS_H= \
361 Python/opcode_targets.h 339 Python/opcode_targets.h
362 340
363 OPCODETARGETGEN= \ 341 OPCODETARGETGEN= \
364 $(srcdir)/Python/makeopcodetargets.py 342 $(srcdir)/Python/makeopcodetargets.py
365 343
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(B LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) 695 $(LINKCC) $(PY_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(B LDLIBRARY) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
718 696
719 ############################################################################ 697 ############################################################################
720 # Importlib 698 # Importlib
721 699
722 Programs/_freeze_importlib.o: Programs/_freeze_importlib.c Makefile 700 Programs/_freeze_importlib.o: Programs/_freeze_importlib.c Makefile
723 701
724 Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FRO ZEN) 702 Programs/_freeze_importlib: Programs/_freeze_importlib.o $(LIBRARY_OBJS_OMIT_FRO ZEN)
725 $(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJ S_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST) 703 $(LINKCC) $(PY_LDFLAGS) -o $@ Programs/_freeze_importlib.o $(LIBRARY_OBJ S_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS) $(LDLAST)
726 704
727 Python/importlib_external.h: $(srcdir)/Lib/importlib/_bootstrap_external.py Prog rams/_freeze_importlib 705 Python/importlib_external.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootst rap_external.py Programs/_freeze_importlib
728 » if test "$(cross_compiling)" != "yes"; then \ 706 » ./Programs/_freeze_importlib \
729 » ./Programs/_freeze_importlib \ 707 » $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_exte rnal.h
730 » $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_ external.h; \ 708
731 » fi 709 Python/importlib.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap.py Pr ograms/_freeze_importlib
732 710 » ./Programs/_freeze_importlib \
733 Python/importlib.h: $(srcdir)/Lib/importlib/_bootstrap.py Programs/_freeze_impor tlib 711 » $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h
734 » if test "$(cross_compiling)" != "yes"; then \
735 » ./Programs/_freeze_importlib \
736 » $(srcdir)/Lib/importlib/_bootstrap.py Python/importlib.h; \
737 » fi
738 712
739 713
740 ############################################################################ 714 ############################################################################
741 # Special rules for object files 715 # Special rules for object files
742 716
743 Modules/getbuildinfo.o: $(PARSER_OBJS) \ 717 Modules/getbuildinfo.o: $(PARSER_OBJS) \
744 $(OBJECT_OBJS) \ 718 $(OBJECT_OBJS) \
745 $(PYTHON_OBJS) \ 719 $(PYTHON_OBJS) \
746 $(MODULE_OBJS) \ 720 $(MODULE_OBJS) \
747 $(SIGNAL_OBJS) \ 721 $(SIGNAL_OBJS) \
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
783 -o $@ $(srcdir)/Python/dynload_shlib.c 757 -o $@ $(srcdir)/Python/dynload_shlib.c
784 758
785 Python/dynload_hpux.o: $(srcdir)/Python/dynload_hpux.c Makefile 759 Python/dynload_hpux.o: $(srcdir)/Python/dynload_hpux.c Makefile
786 $(CC) -c $(PY_CORE_CFLAGS) \ 760 $(CC) -c $(PY_CORE_CFLAGS) \
787 -DSHLIB_EXT='"$(EXT_SUFFIX)"' \ 761 -DSHLIB_EXT='"$(EXT_SUFFIX)"' \
788 -o $@ $(srcdir)/Python/dynload_hpux.c 762 -o $@ $(srcdir)/Python/dynload_hpux.c
789 763
790 Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile 764 Python/sysmodule.o: $(srcdir)/Python/sysmodule.c Makefile
791 $(CC) -c $(PY_CORE_CFLAGS) \ 765 $(CC) -c $(PY_CORE_CFLAGS) \
792 -DABIFLAGS='"$(ABIFLAGS)"' \ 766 -DABIFLAGS='"$(ABIFLAGS)"' \
767 $(MULTIARCH_CPPFLAGS) \
793 -o $@ $(srcdir)/Python/sysmodule.c 768 -o $@ $(srcdir)/Python/sysmodule.c
794 769
795 $(IO_OBJS): $(IO_H) 770 $(IO_OBJS): $(IO_H)
796 771
797 $(GRAMMAR_H): $(GRAMMAR_INPUT) $(PGEN) 772 $(GRAMMAR_H): @GENERATED_COMMENT@ $(GRAMMAR_INPUT) $(PGEN)
798 @$(MKDIR_P) Include 773 @$(MKDIR_P) Include
799 » if test "$(cross_compiling)" != "yes"; then \ 774 » $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C)
800 » » $(PGEN) $(GRAMMAR_INPUT) $(GRAMMAR_H) $(GRAMMAR_C); \ 775 $(GRAMMAR_C): @GENERATED_COMMENT@ $(GRAMMAR_H)
801 » else \ 776 » touch $(GRAMMAR_C)
802 » » cp $(srcdir)/Include/graminit.h $(GRAMMAR_H); \
803 » fi
804 $(GRAMMAR_C): $(GRAMMAR_H)
805 » if test "$(cross_compiling)" != "yes"; then \
806 » » touch $(GRAMMAR_C); \
807 » else \
808 » » cp $(srcdir)/Python/graminit.c $(GRAMMAR_C); \
809 » fi
810 777
811 $(PGEN): $(PGENOBJS) 778 $(PGEN): $(PGENOBJS)
812 $(CC) $(OPT) $(PY_LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN) 779 $(CC) $(OPT) $(PY_LDFLAGS) $(PGENOBJS) $(LIBS) -o $(PGEN)
813 780
814 Parser/grammar.o: $(srcdir)/Parser/grammar.c \ 781 Parser/grammar.o: $(srcdir)/Parser/grammar.c \
815 $(srcdir)/Include/token.h \ 782 $(srcdir)/Include/token.h \
816 $(srcdir)/Include/grammar.h 783 $(srcdir)/Include/grammar.h
817 Parser/metagrammar.o: $(srcdir)/Parser/metagrammar.c 784 Parser/metagrammar.o: $(srcdir)/Parser/metagrammar.c
818 785
819 Parser/tokenizer_pgen.o: $(srcdir)/Parser/tokenizer.c 786 Parser/tokenizer_pgen.o: $(srcdir)/Parser/tokenizer.c
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
876 Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS) 843 Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS)
877 844
878 Objects/bytearrayobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS) 845 Objects/bytearrayobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS)
879 846
880 Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c $(UNICODE_DEPS) 847 Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c $(UNICODE_DEPS)
881 848
882 Objects/dictobject.o: $(srcdir)/Objects/stringlib/eq.h 849 Objects/dictobject.o: $(srcdir)/Objects/stringlib/eq.h
883 Objects/setobject.o: $(srcdir)/Objects/stringlib/eq.h 850 Objects/setobject.o: $(srcdir)/Objects/stringlib/eq.h
884 851
885 $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES) 852 $(OPCODETARGETS_H): $(OPCODETARGETGEN_FILES)
886 » $(OPCODETARGETGEN) $(OPCODETARGETS_H) 853 » $(PYTHON_FOR_GEN) $(OPCODETARGETGEN) $(OPCODETARGETS_H)
887 854
888 Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h 855 Python/ceval.o: $(OPCODETARGETS_H) $(srcdir)/Python/ceval_gil.h
889 856
890 Python/frozen.o: Python/importlib.h Python/importlib_external.h 857 Python/frozen.o: Python/importlib.h Python/importlib_external.h
891 858
892 Objects/typeobject.o: Objects/typeslots.inc 859 Objects/typeobject.o: Objects/typeslots.inc
893 Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots .py 860 Objects/typeslots.inc: $(srcdir)/Include/typeslots.h $(srcdir)/Objects/typeslots .py
894 » $(PYTHON) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typeslots.h > Objects/typeslots.inc 861 » $(PYTHON_FOR_GEN) $(srcdir)/Objects/typeslots.py < $(srcdir)/Include/typ eslots.h Objects/typeslots.inc
895 862
896 ############################################################################ 863 ############################################################################
897 # Header files 864 # Header files
898 865
899 PYTHON_HEADERS= \ 866 PYTHON_HEADERS= \
900 $(srcdir)/Include/Python.h \ 867 $(srcdir)/Include/Python.h \
901 $(srcdir)/Include/abstract.h \ 868 $(srcdir)/Include/abstract.h \
902 $(srcdir)/Include/accu.h \ 869 $(srcdir)/Include/accu.h \
903 $(srcdir)/Include/asdl.h \ 870 $(srcdir)/Include/asdl.h \
904 $(srcdir)/Include/ast.h \ 871 $(srcdir)/Include/ast.h \
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 $(srcdir)/Include/metagrammar.h \ 906 $(srcdir)/Include/metagrammar.h \
940 $(srcdir)/Include/methodobject.h \ 907 $(srcdir)/Include/methodobject.h \
941 $(srcdir)/Include/modsupport.h \ 908 $(srcdir)/Include/modsupport.h \
942 $(srcdir)/Include/moduleobject.h \ 909 $(srcdir)/Include/moduleobject.h \
943 $(srcdir)/Include/namespaceobject.h \ 910 $(srcdir)/Include/namespaceobject.h \
944 $(srcdir)/Include/node.h \ 911 $(srcdir)/Include/node.h \
945 $(srcdir)/Include/object.h \ 912 $(srcdir)/Include/object.h \
946 $(srcdir)/Include/objimpl.h \ 913 $(srcdir)/Include/objimpl.h \
947 $(OPCODE_H) \ 914 $(OPCODE_H) \
948 $(srcdir)/Include/osdefs.h \ 915 $(srcdir)/Include/osdefs.h \
916 $(srcdir)/Include/osmodule.h \
949 $(srcdir)/Include/patchlevel.h \ 917 $(srcdir)/Include/patchlevel.h \
950 $(srcdir)/Include/pgen.h \ 918 $(srcdir)/Include/pgen.h \
951 $(srcdir)/Include/pgenheaders.h \ 919 $(srcdir)/Include/pgenheaders.h \
952 $(srcdir)/Include/pyarena.h \ 920 $(srcdir)/Include/pyarena.h \
953 $(srcdir)/Include/pyatomic.h \ 921 $(srcdir)/Include/pyatomic.h \
954 $(srcdir)/Include/pycapsule.h \ 922 $(srcdir)/Include/pycapsule.h \
955 $(srcdir)/Include/pyctype.h \ 923 $(srcdir)/Include/pyctype.h \
956 $(srcdir)/Include/pydebug.h \ 924 $(srcdir)/Include/pydebug.h \
957 $(srcdir)/Include/pyerrors.h \ 925 $(srcdir)/Include/pyerrors.h \
958 $(srcdir)/Include/pyfpe.h \ 926 $(srcdir)/Include/pyfpe.h \
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 $(TESTRUNNER) -u all $(TESTOPTS) 994 $(TESTRUNNER) -u all $(TESTOPTS)
1027 $(RUNSHARED) /usr/libexec/oah/translate \ 995 $(RUNSHARED) /usr/libexec/oah/translate \
1028 ./$(BUILDPYTHON) -E -m test -j 0 -u all $(TESTOPTS) 996 ./$(BUILDPYTHON) -E -m test -j 0 -u all $(TESTOPTS)
1029 997
1030 # Like testall, but with only one pass and without multiple processes. 998 # Like testall, but with only one pass and without multiple processes.
1031 # Run an optional script to include information about the build environment. 999 # Run an optional script to include information about the build environment.
1032 buildbottest: all platform 1000 buildbottest: all platform
1033 -@if which pybuildbot.identify >/dev/null 2>&1; then \ 1001 -@if which pybuildbot.identify >/dev/null 2>&1; then \
1034 pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \ 1002 pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
1035 fi 1003 fi
1036 » » $(TESTRUNNER) -j 1 -u all -W --timeout=$(TESTTIMEOUT) $(TESTOPTS ) 1004 » » $(TESTRUNNER) -j 1 -u all -W --slowest --timeout=$(TESTTIMEOUT) $(TESTOPTS)
1037 1005
1038 QUICKTESTOPTS= $(TESTOPTS) -x test_subprocess test_io test_lib2to3 \ 1006 QUICKTESTOPTS= $(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
1039 test_multibytecodec test_urllib2_localnet test_itertools \ 1007 test_multibytecodec test_urllib2_localnet test_itertools \
1040 test_multiprocessing_fork test_multiprocessing_spawn \ 1008 test_multiprocessing_fork test_multiprocessing_spawn \
1041 test_multiprocessing_forkserver \ 1009 test_multiprocessing_forkserver \
1042 test_mailbox test_socket test_poll \ 1010 test_mailbox test_socket test_poll \
1043 test_select test_zipfile test_concurrent_futures 1011 test_select test_zipfile test_concurrent_futures
1044 quicktest: all platform 1012 quicktest: all platform
1045 $(TESTRUNNER) $(QUICKTESTOPTS) 1013 $(TESTRUNNER) $(QUICKTESTOPTS)
1046 1014
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 logging csv wsgiref urllib \ 1201 logging csv wsgiref urllib \
1234 lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \ 1202 lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \
1235 lib2to3/tests/data lib2to3/tests/data/fixers \ 1203 lib2to3/tests/data lib2to3/tests/data/fixers \
1236 lib2to3/tests/data/fixers/myfixes \ 1204 lib2to3/tests/data/fixers/myfixes \
1237 ctypes ctypes/test ctypes/macholib \ 1205 ctypes ctypes/test ctypes/macholib \
1238 idlelib idlelib/Icons idlelib/idle_test \ 1206 idlelib idlelib/Icons idlelib/idle_test \
1239 distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ 1207 distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \
1240 importlib test/test_importlib test/test_importlib/builtin \ 1208 importlib test/test_importlib test/test_importlib/builtin \
1241 test/test_importlib/extension test/test_importlib/frozen \ 1209 test/test_importlib/extension test/test_importlib/frozen \
1242 test/test_importlib/import_ test/test_importlib/source \ 1210 test/test_importlib/import_ test/test_importlib/source \
1211 test/test_tools test/test_warnings test/test_warnings/data \
1243 turtledemo \ 1212 turtledemo \
1244 multiprocessing multiprocessing/dummy \ 1213 multiprocessing multiprocessing/dummy \
1245 unittest unittest/test unittest/test/testmock \ 1214 unittest unittest/test unittest/test/testmock \
1246 venv venv/scripts venv/scripts/posix \ 1215 venv venv/scripts venv/scripts/posix \
1247 curses pydoc_data $(MACHDEPS) 1216 curses pydoc_data $(MACHDEPS)
1248 libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c 1217 libinstall: build_all $(srcdir)/Lib/$(PLATDIR) $(srcdir)/Modules/xxmodule.c
1249 @for i in $(SCRIPTDIR) $(LIBDEST); \ 1218 @for i in $(SCRIPTDIR) $(LIBDEST); \
1250 do \ 1219 do \
1251 if test ! -d $(DESTDIR)$$i; then \ 1220 if test ! -d $(DESTDIR)$$i; then \
1252 echo "Creating directory $$i"; \ 1221 echo "Creating directory $$i"; \
1253 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \ 1222 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$i; \
1254 else true; \ 1223 else true; \
1255 fi; \ 1224 fi; \
1256 done 1225 done
1257 @for d in $(LIBSUBDIRS); \ 1226 @for d in $(LIBSUBDIRS); \
1258 do \ 1227 do \
1259 a=$(srcdir)/Lib/$$d; \ 1228 a=$(srcdir)/Lib/$$d; \
1260 if test ! -d $$a; then continue; else true; fi; \ 1229 if test ! -d $$a; then continue; else true; fi; \
1261 b=$(LIBDEST)/$$d; \ 1230 b=$(LIBDEST)/$$d; \
1262 if test ! -d $(DESTDIR)$$b; then \ 1231 if test ! -d $(DESTDIR)$$b; then \
1263 echo "Creating directory $$b"; \ 1232 echo "Creating directory $$b"; \
1264 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$b; \ 1233 $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$$b; \
1265 else true; \ 1234 else true; \
1266 fi; \ 1235 fi; \
1267 done 1236 done
1268 » @for i in $(srcdir)/Lib/*.py `cat pybuilddir.txt`/_sysconfigdata.py; \ 1237 » @for i in $(srcdir)/Lib/*.py; \
1269 do \ 1238 do \
1270 if test -x $$i; then \ 1239 if test -x $$i; then \
1271 $(INSTALL_SCRIPT) $$i $(DESTDIR)$(LIBDEST); \ 1240 $(INSTALL_SCRIPT) $$i $(DESTDIR)$(LIBDEST); \
1272 echo $(INSTALL_SCRIPT) $$i $(LIBDEST); \ 1241 echo $(INSTALL_SCRIPT) $$i $(LIBDEST); \
1273 else \ 1242 else \
1274 $(INSTALL_DATA) $$i $(DESTDIR)$(LIBDEST); \ 1243 $(INSTALL_DATA) $$i $(DESTDIR)$(LIBDEST); \
1275 echo $(INSTALL_DATA) $$i $(LIBDEST); \ 1244 echo $(INSTALL_DATA) $$i $(LIBDEST); \
1276 fi; \ 1245 fi; \
1277 done 1246 done
1278 @for d in $(LIBSUBDIRS); \ 1247 @for d in $(LIBSUBDIRS); \
(...skipping 14 matching lines...) Expand all
1293 if test -x $$i; then \ 1262 if test -x $$i; then \
1294 echo $(INSTALL_SCRIPT) $$i $$b; \ 1263 echo $(INSTALL_SCRIPT) $$i $$b; \
1295 $(INSTALL_SCRIPT) $$i $(DESTDIR)$$b; \ 1264 $(INSTALL_SCRIPT) $$i $(DESTDIR)$$b; \
1296 else \ 1265 else \
1297 echo $(INSTALL_DATA) $$i $$b; \ 1266 echo $(INSTALL_DATA) $$i $$b; \
1298 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \ 1267 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \
1299 fi;; \ 1268 fi;; \
1300 esac; \ 1269 esac; \
1301 done; \ 1270 done; \
1302 done 1271 done
1272 $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1273 $(DESTDIR)$(LIBDEST)/$(PLATDIR); \
1274 echo $(INSTALL_DATA) `cat pybuilddir.txt`/_sysconfigdata_$(ABIFLAGS).py \
1275 $(LIBDEST)/$(PLATDIR)
1303 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt 1276 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt
1304 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \ 1277 if test -d $(DESTDIR)$(LIBDEST)/distutils/tests; then \
1305 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ 1278 $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \
1306 $(DESTDIR)$(LIBDEST)/distutils/tests ; \ 1279 $(DESTDIR)$(LIBDEST)/distutils/tests ; \
1307 fi 1280 fi
1308 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 1281 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1309 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ 1282 $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \
1310 -d $(LIBDEST) -f \ 1283 -d $(LIBDEST) -f \
1311 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ 1284 -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \
1312 $(DESTDIR)$(LIBDEST) 1285 $(DESTDIR)$(LIBDEST)
(...skipping 18 matching lines...) Expand all
1331 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 1304 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1332 $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ 1305 $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \
1333 -d $(LIBDEST)/site-packages -f \ 1306 -d $(LIBDEST)/site-packages -f \
1334 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages 1307 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
1335 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 1308 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1336 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST) /lib2to3/Grammar.txt 1309 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST) /lib2to3/Grammar.txt
1337 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ 1310 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \
1338 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST) /lib2to3/PatternGrammar.txt 1311 $(PYTHON_FOR_BUILD) -m lib2to3.pgen2.driver $(DESTDIR)$(LIBDEST) /lib2to3/PatternGrammar.txt
1339 1312
1340 # Create the PLATDIR source directory, if one wasn't distributed.. 1313 # Create the PLATDIR source directory, if one wasn't distributed..
1314 # For multiarch targets, use the plat-linux/regen script.
1341 $(srcdir)/Lib/$(PLATDIR): 1315 $(srcdir)/Lib/$(PLATDIR):
1342 mkdir $(srcdir)/Lib/$(PLATDIR) 1316 mkdir $(srcdir)/Lib/$(PLATDIR)
1343 » cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen 1317 » if [ -n "$(MULTIARCH)" ]; then \
1318 » cp $(srcdir)/Lib/plat-linux/regen $(srcdir)/Lib/$(PLATDIR)/regen; \
1319 » else \
1320 » cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen; \
1321 » fi; \
1344 export PATH; PATH="`pwd`:$$PATH"; \ 1322 export PATH; PATH="`pwd`:$$PATH"; \
1345 export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ 1323 export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
1346 export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ 1324 export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
1347 export EXE; EXE="$(BUILDEXE)"; \ 1325 export EXE; EXE="$(BUILDEXE)"; \
1326 export CC; CC="$(CC)"; \
1348 if [ -n "$(MULTIARCH)" ]; then export MULTIARCH; MULTIARCH=$(MULTIARCH); fi; \ 1327 if [ -n "$(MULTIARCH)" ]; then export MULTIARCH; MULTIARCH=$(MULTIARCH); fi; \
1349 export PYTHON_FOR_BUILD; \ 1328 export PYTHON_FOR_BUILD; \
1350 if [ "$(BUILD_GNU_TYPE)" = "$(HOST_GNU_TYPE)" ]; then \ 1329 if [ "$(BUILD_GNU_TYPE)" = "$(HOST_GNU_TYPE)" ]; then \
1351 PYTHON_FOR_BUILD="$(BUILDPYTHON)"; \ 1330 PYTHON_FOR_BUILD="$(BUILDPYTHON)"; \
1352 else \ 1331 else \
1353 PYTHON_FOR_BUILD="$(PYTHON_FOR_BUILD)"; \ 1332 PYTHON_FOR_BUILD="$(PYTHON_FOR_BUILD)"; \
1354 fi; \ 1333 fi; \
1334 export H2PY; H2PY="$$PYTHON_FOR_BUILD $(abs_srcdir)/Tools/scripts/h2py.p y"; \
1355 cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen 1335 cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
1356 1336
1357 python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh 1337 python-config: $(srcdir)/Misc/python-config.in Misc/python-config.sh
1358 # Substitution happens here, as the completely-expanded BINDIR 1338 # Substitution happens here, as the completely-expanded BINDIR
1359 # is not available in configure 1339 # is not available in configure
1360 sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Mis c/python-config.in >python-config.py 1340 sed -e "s,@EXENAME@,$(BINDIR)/python$(LDVERSION)$(EXE)," < $(srcdir)/Mis c/python-config.in >python-config.py
1361 # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR} 1341 # Replace makefile compat. variable references with shell script compat. ones; $(VAR) -> ${VAR}
1362 sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >p ython-config 1342 sed -e 's,\$$(\([A-Za-z0-9_]*\)),\$$\{\1\},g' < Misc/python-config.sh >p ython-config
1363 # On Darwin, always use the python version of the script, the shell 1343 # On Darwin, always use the python version of the script, the shell
1364 # version doesn't use the compiler customizations that are provided 1344 # version doesn't use the compiler customizations that are provided
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1419 $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config. c.in 1399 $(INSTALL_DATA) $(srcdir)/Modules/config.c.in $(DESTDIR)$(LIBPL)/config. c.in
1420 $(INSTALL_DATA) Makefile $(DESTDIR)$(LIBPL)/Makefile 1400 $(INSTALL_DATA) Makefile $(DESTDIR)$(LIBPL)/Makefile
1421 $(INSTALL_DATA) Modules/Setup $(DESTDIR)$(LIBPL)/Setup 1401 $(INSTALL_DATA) Modules/Setup $(DESTDIR)$(LIBPL)/Setup
1422 $(INSTALL_DATA) Modules/Setup.local $(DESTDIR)$(LIBPL)/Setup.local 1402 $(INSTALL_DATA) Modules/Setup.local $(DESTDIR)$(LIBPL)/Setup.local
1423 $(INSTALL_DATA) Modules/Setup.config $(DESTDIR)$(LIBPL)/Setup.config 1403 $(INSTALL_DATA) Modules/Setup.config $(DESTDIR)$(LIBPL)/Setup.config
1424 $(INSTALL_DATA) Misc/python.pc $(DESTDIR)$(LIBPC)/python-$(VERSION).pc 1404 $(INSTALL_DATA) Misc/python.pc $(DESTDIR)$(LIBPC)/python-$(VERSION).pc
1425 $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makeset up 1405 $(INSTALL_SCRIPT) $(srcdir)/Modules/makesetup $(DESTDIR)$(LIBPL)/makeset up
1426 $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh 1406 $(INSTALL_SCRIPT) $(srcdir)/install-sh $(DESTDIR)$(LIBPL)/install-sh
1427 $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py 1407 $(INSTALL_SCRIPT) python-config.py $(DESTDIR)$(LIBPL)/python-config.py
1428 $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-c onfig 1408 $(INSTALL_SCRIPT) python-config $(DESTDIR)$(BINDIR)/python$(LDVERSION)-c onfig
1429 » @if [ -s Programs/python.exp -a \ 1409 » @if [ -s Modules/python.exp -a \
1430 "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \ 1410 "`echo $(MACHDEP) | sed 's/^\(...\).*/\1/'`" = "aix" ]; then \
1431 echo; echo "Installing support files for building shared extensi on modules on AIX:"; \ 1411 echo; echo "Installing support files for building shared extensi on modules on AIX:"; \
1432 » » $(INSTALL_DATA) Programs/python.exp» » \ 1412 » » $(INSTALL_DATA) Modules/python.exp» » \
1433 $(DESTDIR)$(LIBPL)/python.exp; \ 1413 $(DESTDIR)$(LIBPL)/python.exp; \
1434 echo; echo "$(LIBPL)/python.exp"; \ 1414 echo; echo "$(LIBPL)/python.exp"; \
1435 $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \ 1415 $(INSTALL_SCRIPT) $(srcdir)/Modules/makexp_aix \
1436 $(DESTDIR)$(LIBPL)/makexp_aix; \ 1416 $(DESTDIR)$(LIBPL)/makexp_aix; \
1437 echo "$(LIBPL)/makexp_aix"; \ 1417 echo "$(LIBPL)/makexp_aix"; \
1438 $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \ 1418 $(INSTALL_SCRIPT) $(srcdir)/Modules/ld_so_aix \
1439 $(DESTDIR)$(LIBPL)/ld_so_aix; \ 1419 $(DESTDIR)$(LIBPL)/ld_so_aix; \
1440 echo "$(LIBPL)/ld_so_aix"; \ 1420 echo "$(LIBPL)/ld_so_aix"; \
1441 echo; echo "See Misc/AIX-NOTES for details."; \ 1421 echo; echo "See Misc/AIX-NOTES for details."; \
1442 else true; \ 1422 else true; \
1443 fi 1423 fi
1444 1424
1445 # Install the dynamically loadable modules 1425 # Install the dynamically loadable modules
1446 # This goes into $(exec_prefix) 1426 # This goes into $(exec_prefix)
1447 sharedinstall: sharedmods 1427 sharedinstall: sharedmods
1448 $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \ 1428 $(RUNSHARED) $(PYTHON_FOR_BUILD) $(srcdir)/setup.py install \
1449 --prefix=$(prefix) \ 1429 --prefix=$(prefix) \
1450 --install-scripts=$(BINDIR) \ 1430 --install-scripts=$(BINDIR) \
1451 --install-platlib=$(DESTSHARED) \ 1431 --install-platlib=$(DESTSHARED) \
1452 --root=$(DESTDIR)/ 1432 --root=$(DESTDIR)/
1453 » -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata.py 1433 » -rm $(DESTDIR)$(DESTSHARED)/_sysconfigdata_$(ABIFLAGS).py
1454 -rm -r $(DESTDIR)$(DESTSHARED)/__pycache__ 1434 -rm -r $(DESTDIR)$(DESTSHARED)/__pycache__
1455 1435
1456 # Here are a couple of targets for MacOSX again, to install a full 1436 # Here are a couple of targets for MacOSX again, to install a full
1457 # framework-based Python. frameworkinstall installs everything, the 1437 # framework-based Python. frameworkinstall installs everything, the
1458 # subtargets install specific parts. Much of the actual work is offloaded to 1438 # subtargets install specific parts. Much of the actual work is offloaded to
1459 # the Makefile in Mac 1439 # the Makefile in Mac
1460 # 1440 #
1461 # 1441 #
1462 # This target is here for backward compatiblity, previous versions of Python 1442 # This target is here for backward compatibility, previous versions of Python
1463 # hadn't integrated framework installation in the normal install process. 1443 # hadn't integrated framework installation in the normal install process.
1464 frameworkinstall: install 1444 frameworkinstall: install
1465 1445
1466 # On install, we re-make the framework 1446 # On install, we re-make the framework
1467 # structure in the install location, /Library/Frameworks/ or the argument to 1447 # structure in the install location, /Library/Frameworks/ or the argument to
1468 # --enable-framework. If --enable-framework has been specified then we have 1448 # --enable-framework. If --enable-framework has been specified then we have
1469 # automatically set prefix to the location deep down in the framework, so we 1449 # automatically set prefix to the location deep down in the framework, so we
1470 # only have to cater for the structural bits of the framework. 1450 # only have to cater for the structural bits of the framework.
1471 1451
1472 frameworkinstallframework: frameworkinstallstructure install frameworkinstallmac lib 1452 frameworkinstallframework: frameworkinstallstructure install frameworkinstallmac lib
(...skipping 16 matching lines...) Expand all
1489 $(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Cu rrent 1469 $(LN) -fsn $(VERSION) $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDIR)/Versions/Cu rrent
1490 $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(DESTDIR)$(PYTHONFRAMEWO RKINSTALLDIR)/$(PYTHONFRAMEWORK) 1470 $(LN) -fsn Versions/Current/$(PYTHONFRAMEWORK) $(DESTDIR)$(PYTHONFRAMEWO RKINSTALLDIR)/$(PYTHONFRAMEWORK)
1491 $(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDI R)/Headers 1471 $(LN) -fsn Versions/Current/Headers $(DESTDIR)$(PYTHONFRAMEWORKINSTALLDI R)/Headers
1492 $(LN) -fsn Versions/Current/Resources $(DESTDIR)$(PYTHONFRAMEWORKINSTALL DIR)/Resources 1472 $(LN) -fsn Versions/Current/Resources $(DESTDIR)$(PYTHONFRAMEWORKINSTALL DIR)/Resources
1493 $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(PYTHONFRAMEWORKPREFIX)/$(LDLI BRARY) 1473 $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(PYTHONFRAMEWORKPREFIX)/$(LDLI BRARY)
1494 1474
1495 # This installs Mac/Lib into the framework 1475 # This installs Mac/Lib into the framework
1496 # Install a number of symlinks to keep software that expects a normal unix 1476 # Install a number of symlinks to keep software that expects a normal unix
1497 # install (which includes python-config) happy. 1477 # install (which includes python-config) happy.
1498 frameworkinstallmaclib: 1478 frameworkinstallmaclib:
1499 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$ (VERSION)/config-$(LDVERSION)/libpython$(LDVERSION).a" 1479 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(LIBPL)/libpython$(L DVERSION).a"
1500 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$ (VERSION)/config-$(LDVERSION)/libpython$(LDVERSION).dylib" 1480 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(LIBPL)/libpython$(L DVERSION).dylib"
1501 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$ (VERSION)/config-$(LDVERSION)/libpython$(VERSION).a" 1481 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(LIBPL)/libpython$(V ERSION).a"
1502 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/python$ (VERSION)/config-$(LDVERSION)/libpython$(VERSION).dylib" 1482 » $(LN) -fs "../../../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(LIBPL)/libpython$(V ERSION).dylib"
1503 $(LN) -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(LD VERSION).dylib" 1483 $(LN) -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(LD VERSION).dylib"
1504 $(LN) -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(VE RSION).dylib" 1484 $(LN) -fs "../$(PYTHONFRAMEWORK)" "$(DESTDIR)$(prefix)/lib/libpython$(VE RSION).dylib"
1505 1485
1506 # This installs the IDE, the Launcher and other apps into /Applications 1486 # This installs the IDE, the Launcher and other apps into /Applications
1507 frameworkinstallapps: 1487 frameworkinstallapps:
1508 cd Mac && $(MAKE) installapps DESTDIR="$(DESTDIR)" 1488 cd Mac && $(MAKE) installapps DESTDIR="$(DESTDIR)"
1509 1489
1510 # Build the bootstrap executable that will spawn the interpreter inside 1490 # Build the bootstrap executable that will spawn the interpreter inside
1511 # an app bundle within the framework. This allows the interpreter to 1491 # an app bundle within the framework. This allows the interpreter to
1512 # run OS X GUI APIs. 1492 # run OS X GUI APIs.
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1560 $(SHELL) config.status 1540 $(SHELL) config.status
1561 1541
1562 # Rebuild the configure script from configure.ac; also rebuild pyconfig.h.in 1542 # Rebuild the configure script from configure.ac; also rebuild pyconfig.h.in
1563 autoconf: 1543 autoconf:
1564 (cd $(srcdir); autoconf -Wall) 1544 (cd $(srcdir); autoconf -Wall)
1565 (cd $(srcdir); autoheader -Wall) 1545 (cd $(srcdir); autoheader -Wall)
1566 1546
1567 # Create a tags file for vi 1547 # Create a tags file for vi
1568 tags:: 1548 tags::
1569 cd $(srcdir); \ 1549 cd $(srcdir); \
1570 » ctags -w -t Include/*.h; \ 1550 » ctags -w Include/*.h; \
1571 » for i in $(SRCDIRS); do ctags -w -t -a $$i/*.[ch]; \ 1551 » for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
1572 done; \ 1552 done; \
1573 » sort -o tags tags 1553 » LC_ALL=C sort -o tags tags
1574 1554
1575 # Create a tags file for GNU Emacs 1555 # Create a tags file for GNU Emacs
1576 TAGS:: 1556 TAGS::
1577 cd $(srcdir); \ 1557 cd $(srcdir); \
1578 etags Include/*.h; \ 1558 etags Include/*.h; \
1579 for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done 1559 for i in $(SRCDIRS); do etags -a $$i/*.[ch]; done
1580 1560
1581 # This fixes up the mtimes of checked-in generated files, assuming that they 1561 # This fixes up the mtimes of checked-in generated files, assuming that they
1582 # only *appear* to be outdated because of checkout order. 1562 # only *appear* to be outdated because of checkout order.
1583 # This is run while preparing a source release tarball, and can be run manually 1563 # This is run while preparing a source release tarball, and can be run manually
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 rm -f $(COVERAGE_INFO) 1602 rm -f $(COVERAGE_INFO)
1623 rm -rf $(COVERAGE_REPORT) 1603 rm -rf $(COVERAGE_REPORT)
1624 1604
1625 clobber: clean profile-removal 1605 clobber: clean profile-removal
1626 -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \ 1606 -rm -f $(BUILDPYTHON) $(PGEN) $(LIBRARY) $(LDLIBRARY) $(DLLLIBRARY) \
1627 tags TAGS \ 1607 tags TAGS \
1628 config.cache config.log pyconfig.h Modules/config.c 1608 config.cache config.log pyconfig.h Modules/config.c
1629 -rm -rf build platform 1609 -rm -rf build platform
1630 -rm -rf $(PYTHONFRAMEWORKDIR) 1610 -rm -rf $(PYTHONFRAMEWORKDIR)
1631 -rm -f python-config.py python-config 1611 -rm -f python-config.py python-config
1612 if [ -n "$(MULTIARCH)" ]; then \
1613 rm -rf $(srcdir)/Lib/$(PLATDIR); \
1614 fi
1632 1615
1633 # Make things extra clean, before making a distribution: 1616 # Make things extra clean, before making a distribution:
1634 # remove all generated files, even Makefile[.pre] 1617 # remove all generated files, even Makefile[.pre]
1635 # Keep configure and Python-ast.[ch], it's possible they can't be generated 1618 # Keep configure and Python-ast.[ch], it's possible they can't be generated
1636 distclean: clobber 1619 distclean: clobber
1637 for file in $(srcdir)/Lib/test/data/* ; do \ 1620 for file in $(srcdir)/Lib/test/data/* ; do \
1638 if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$fil e"; fi; \ 1621 if test "$$file" != "$(srcdir)/Lib/test/data/README"; then rm "$$fil e"; fi; \
1639 done 1622 done
1640 -rm -f core Makefile Makefile.pre config.status \ 1623 -rm -f core Makefile Makefile.pre config.status \
1641 Modules/Setup Modules/Setup.local Modules/Setup.config \ 1624 Modules/Setup Modules/Setup.local Modules/Setup.config \
1642 » » Modules/ld_so_aix Programs/python.exp Misc/python.pc 1625 » » Modules/ld_so_aix Modules/python.exp Misc/python.pc
1643 -rm -f python*-gdb.py 1626 -rm -f python*-gdb.py
1644 find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \ 1627 find $(srcdir)/[a-zA-Z]* '(' -name '*.fdc' -o -name '*~' \
1645 -o -name '[@,#]*' -o -name '*.old' \ 1628 -o -name '[@,#]*' -o -name '*.old' \
1646 -o -name '*.orig' -o -name '*.rej' \ 1629 -o -name '*.orig' -o -name '*.rej' \
1647 -o -name '*.bak' ')' \ 1630 -o -name '*.bak' ')' \
1648 -exec rm -f {} ';' 1631 -exec rm -f {} ';'
1649 1632
1650 # Check for smelly exported symbols (not starting with Py/_Py) 1633 # Check for smelly exported symbols (not starting with Py/_Py)
1651 smelly: all 1634 smelly: all
1652 nm -p $(LIBRARY) | \ 1635 nm -p $(LIBRARY) | \
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1700 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure 1683 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure
1701 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools 1684 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools
1702 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean 1685 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean
1703 .PHONY: smelly funny patchcheck touch altmaninstall commoninstall 1686 .PHONY: smelly funny patchcheck touch altmaninstall commoninstall
1704 .PHONY: gdbhooks 1687 .PHONY: gdbhooks
1705 1688
1706 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY 1689 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
1707 # Local Variables: 1690 # Local Variables:
1708 # mode: makefile 1691 # mode: makefile
1709 # End: 1692 # End:
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+