LEFT | RIGHT |
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 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
615 Include/cellobject.h \ | 615 Include/cellobject.h \ |
616 Include/ceval.h \ | 616 Include/ceval.h \ |
617 Include/classobject.h \ | 617 Include/classobject.h \ |
618 Include/cobject.h \ | 618 Include/cobject.h \ |
619 Include/code.h \ | 619 Include/code.h \ |
620 Include/codecs.h \ | 620 Include/codecs.h \ |
621 Include/compile.h \ | 621 Include/compile.h \ |
622 Include/complexobject.h \ | 622 Include/complexobject.h \ |
623 Include/descrobject.h \ | 623 Include/descrobject.h \ |
624 Include/dictobject.h \ | 624 Include/dictobject.h \ |
| 625 Include/dtoa.h \ |
625 Include/enumobject.h \ | 626 Include/enumobject.h \ |
626 Include/errcode.h \ | 627 Include/errcode.h \ |
627 Include/eval.h \ | 628 Include/eval.h \ |
628 Include/fileobject.h \ | 629 Include/fileobject.h \ |
629 Include/floatobject.h \ | 630 Include/floatobject.h \ |
630 Include/frameobject.h \ | 631 Include/frameobject.h \ |
631 Include/funcobject.h \ | 632 Include/funcobject.h \ |
632 Include/genobject.h \ | 633 Include/genobject.h \ |
633 Include/import.h \ | 634 Include/import.h \ |
634 Include/intrcheck.h \ | 635 Include/intrcheck.h \ |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
781 fi; \ | 782 fi; \ |
782 done | 783 done |
783 | 784 |
784 | 785 |
785 # Install the interpreter (by creating a hard link to python$(VERSION)) | 786 # Install the interpreter (by creating a hard link to python$(VERSION)) |
786 bininstall: altbininstall | 787 bininstall: altbininstall |
787 -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PY
THON); \ | 788 -if test -f $(DESTDIR)$(BINDIR)/$(PYTHON) -o -h $(DESTDIR)$(BINDIR)/$(PY
THON); \ |
788 then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ | 789 then rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ |
789 else true; \ | 790 else true; \ |
790 fi | 791 fi |
791 » (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)) | 792 » (cd $(DESTDIR)$(BINDIR); $(LN) python$(VERSION)$(EXE) $(PYTHON)3) |
792 -rm -f $(DESTDIR)$(BINDIR)/python-config | 793 -rm -f $(DESTDIR)$(BINDIR)/python-config |
793 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config) | 794 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config) |
794 | 795 |
795 # Install the interpreter with $(VERSION) affixed | 796 # Install the interpreter with $(VERSION) affixed |
796 # This goes into $(exec_prefix) | 797 # This goes into $(exec_prefix) |
797 altbininstall: $(BUILDPYTHON) | 798 altbininstall: $(BUILDPYTHON) |
798 @for i in $(BINDIR) $(LIBDIR); \ | 799 @for i in $(BINDIR) $(LIBDIR); \ |
799 do \ | 800 do \ |
800 if test ! -d $(DESTDIR)$$i; then \ | 801 if test ! -d $(DESTDIR)$$i; then \ |
801 echo "Creating directory $$i"; \ | 802 echo "Creating directory $$i"; \ |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
835 MACHDEPS= $(PLATDIR) $(EXTRAPLATDIR) | 836 MACHDEPS= $(PLATDIR) $(EXTRAPLATDIR) |
836 XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax | 837 XMLLIBSUBDIRS= xml xml/dom xml/etree xml/parsers xml/sax |
837 LIBSUBDIRS= tkinter site-packages test test/output test/data \ | 838 LIBSUBDIRS= tkinter site-packages test test/output test/data \ |
838 test/decimaltestdata \ | 839 test/decimaltestdata \ |
839 encodings \ | 840 encodings \ |
840 email email/mime email/test email/test/data \ | 841 email email/mime email/test email/test/data \ |
841 html json json/tests http dbm xmlrpc \ | 842 html json json/tests http dbm xmlrpc \ |
842 sqlite3 sqlite3/test \ | 843 sqlite3 sqlite3/test \ |
843 logging bsddb bsddb/test csv wsgiref urllib \ | 844 logging bsddb bsddb/test csv wsgiref urllib \ |
844 lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \ | 845 lib2to3 lib2to3/fixes lib2to3/pgen2 lib2to3/tests \ |
| 846 lib2to3/tests/data lib2to3/tests/data/fixes lib2to3/tests/data/f
ixers/myfixes \ |
845 ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \ | 847 ctypes ctypes/test ctypes/macholib idlelib idlelib/Icons \ |
846 distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ | 848 distutils distutils/command distutils/tests $(XMLLIBSUBDIRS) \ |
847 importlib importlib/test importlib/test/builtin \ | 849 importlib importlib/test importlib/test/builtin \ |
848 importlib/test/extension importlib/test/frozen \ | 850 importlib/test/extension importlib/test/frozen \ |
849 importlib/test/import_ importlib/test/source \ | 851 importlib/test/import_ importlib/test/source \ |
850 setuptools setuptools/command setuptools/tests setuptools.egg-in
fo \ | 852 setuptools setuptools/command setuptools/tests setuptools.egg-in
fo \ |
851 multiprocessing multiprocessing/dummy \ | 853 multiprocessing multiprocessing/dummy \ |
852 curses $(MACHDEPS) | 854 curses $(MACHDEPS) |
853 libinstall: build_all $(srcdir)/Lib/$(PLATDIR) | 855 libinstall: build_all $(srcdir)/Lib/$(PLATDIR) |
854 @for i in $(SCRIPTDIR) $(LIBDEST); \ | 856 @for i in $(SCRIPTDIR) $(LIBDEST); \ |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
902 echo $(INSTALL_DATA) $$i $$b; \ | 904 echo $(INSTALL_DATA) $$i $$b; \ |
903 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \ | 905 $(INSTALL_DATA) $$i $(DESTDIR)$$b; \ |
904 fi;; \ | 906 fi;; \ |
905 esac; \ | 907 esac; \ |
906 done; \ | 908 done; \ |
907 done | 909 done |
908 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt | 910 $(INSTALL_DATA) $(srcdir)/LICENSE $(DESTDIR)$(LIBDEST)/LICENSE.txt |
909 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 911 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
910 ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | 912 ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ |
911 -d $(LIBDEST) -f \ | 913 -d $(LIBDEST) -f \ |
912 » » -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) | 914 » » -x 'bad_coding|badsyntax|site-packages|py2_test_grammar' \ |
| 915 » » $(DESTDIR)$(LIBDEST) |
913 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 916 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
914 ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | 917 ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ |
915 -d $(LIBDEST) -f \ | 918 -d $(LIBDEST) -f \ |
916 » » -x 'bad_coding|badsyntax|site-packages' $(DESTDIR)$(LIBDEST) | 919 » » -x 'bad_coding|badsyntax|site-packages|py2_test_grammar' \ |
| 920 » » $(DESTDIR)$(LIBDEST) |
917 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 921 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
918 ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ | 922 ./$(BUILDPYTHON) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ |
919 -d $(LIBDEST)/site-packages -f \ | 923 -d $(LIBDEST)/site-packages -f \ |
920 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | 924 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
921 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 925 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
922 ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ | 926 ./$(BUILDPYTHON) -Wi -O $(DESTDIR)$(LIBDEST)/compileall.py \ |
923 -d $(LIBDEST)/site-packages -f \ | 927 -d $(LIBDEST)/site-packages -f \ |
924 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages | 928 -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages |
925 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ | 929 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ |
926 ./$(BUILDPYTHON) -Wi -c "import lib2to3.pygram, lib2to3.patcomp;
lib2to3.patcomp.PatternCompiler()" | 930 ./$(BUILDPYTHON) -Wi -c "import lib2to3.pygram, lib2to3.patcomp;
lib2to3.patcomp.PatternCompiler()" |
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 # Declare targets that aren't real files | 1238 # Declare targets that aren't real files |
1235 .PHONY: all build_all sharedmods oldsharedmods test quicktest memtest | 1239 .PHONY: all build_all sharedmods oldsharedmods test quicktest memtest |
1236 .PHONY: install altinstall oldsharedinstall bininstall altbininstall | 1240 .PHONY: install altinstall oldsharedinstall bininstall altbininstall |
1237 .PHONY: maninstall libinstall inclinstall libainstall sharedinstall | 1241 .PHONY: maninstall libinstall inclinstall libainstall sharedinstall |
1238 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure | 1242 .PHONY: frameworkinstall frameworkinstallframework frameworkinstallstructure |
1239 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools | 1243 .PHONY: frameworkinstallmaclib frameworkinstallapps frameworkinstallunixtools |
1240 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean· | 1244 .PHONY: frameworkaltinstallunixtools recheck autoconf clean clobber distclean· |
1241 .PHONY: smelly funny patchcheck | 1245 .PHONY: smelly funny patchcheck |
1242 | 1246 |
1243 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY | 1247 # IF YOU PUT ANYTHING HERE IT WILL GO AWAY |
LEFT | RIGHT |