Changeset 10 for python/trunk/Makefile.pre.in
- Timestamp:
- Sep 3, 2010, 5:33:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Makefile.pre.in
r2 r10 158 158 LDLIBRARYDIR= @LDLIBRARYDIR@ 159 159 INSTSONAME= @INSTSONAME@ 160 CONDENSED_VERSION= @CONDENSED_VERSION@ 160 161 161 162 … … 454 455 $(LN) -fsn Versions/Current/Resources $(PYTHONFRAMEWORKDIR)/Resources 455 456 457 ifneq ($(filter os2emx os2knix,$(MACHDEP)),) # bird hack! 458 $(DLLLIBRARY) $(LDLIBRARY): $(LIBRARY_OBJS) 459 $(LDSHARED) -o $(DLLLIBRARY) $^ $(LIBS) $(MODLIBS) $(SYSLIBS) 460 emximp -o $(LDLIBRARY) $(DLLLIBRARY) 461 462 else # CYGWIN 456 463 # This rule builds the Cygwin Python DLL and import library if configured 457 464 # for a shared core library; otherwise, this rule is a noop. … … 462 469 else true; \ 463 470 fi 471 endif # end bird hack! 464 472 465 473 … … 533 541 534 542 $(AST_H): $(AST_ASDL) $(ASDLGEN_FILES) 543 ifndef BOOTSTRAPPING_PYTHON 535 544 $(ASDLGEN) -h $(AST_H_DIR) $(AST_ASDL) 545 endif 536 546 537 547 $(AST_C): $(AST_ASDL) $(ASDLGEN_FILES) 548 ifndef BOOTSTRAPPING_PYTHON 538 549 $(ASDLGEN) -c $(AST_C_DIR) $(AST_ASDL) 550 endif 539 551 540 552 Python/compile.o Python/symtable.o: $(GRAMMAR_H) $(AST_H) … … 764 776 -rm -f $(DESTDIR)$(BINDIR)/python-config 765 777 (cd $(DESTDIR)$(BINDIR); $(LN) -s python$(VERSION)-config python-config) 778 rm -f $(DESTDIR)$(BINDIR)/$(PYTHON); \ 779 $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/$(PYTHON); \ 780 $(INSTALL_DATA) $(LDLIBRARY) $(DLLLIBRARY) $(DESTDIR)$(LIBDIR); \ 766 781 767 782 # Install the interpreter with $(VERSION) affixed … … 906 921 ./$(BUILDPYTHON) -Wi -t -c "import lib2to3.pygram, lib2to3.patcomp;lib2to3.patcomp.PatternCompiler()" 907 922 923 ifneq ($(filter os2emx os2knix,$(MACHDEP)),) # bird hack! 924 PATH_SEPARATOR = ; 925 else 926 PATH_SEPARATOR = : 927 endif 928 908 929 # Create the PLATDIR source directory, if one wasn't distributed.. 909 930 $(srcdir)/Lib/$(PLATDIR): 910 931 mkdir $(srcdir)/Lib/$(PLATDIR) 911 932 cp $(srcdir)/Lib/plat-generic/regen $(srcdir)/Lib/$(PLATDIR)/regen 912 export PATH; PATH="`pwd` :$$PATH"; \933 export PATH; PATH="`pwd`$(PATH_SEPARATOR)$$PATH"; \ 913 934 export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ 914 935 export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \ … … 1006 1027 --install-scripts=$(BINDIR) \ 1007 1028 --install-platlib=$(DESTSHARED) \ 1008 --root= /$(DESTDIR)1029 --root=$(DESTDIR) 1009 1030 1010 1031 # Here are a couple of targets for MacOSX again, to install a full
Note:
See TracChangeset
for help on using the changeset viewer.