~ubuntu-branches/ubuntu/karmic/python3.0/karmic

« back to all changes in this revision

Viewing changes to Makefile.pre.in

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-16 17:18:23 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20090216171823-1d5cm5qnnjvmnzzm
Tags: 3.0.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
412
412
        if test $(INSTSONAME) != $(LDLIBRARY); then \
413
413
                $(LDSHARED) $(LDFLAGS) -Wl,-h$(INSTSONAME) -o $(INSTSONAME) $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
414
414
                $(LN) -f $(INSTSONAME) $@; \
415
 
        else\
 
415
        else \
416
416
                $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
417
417
        fi
418
418
 
 
419
libpython$(VERSION).dylib: $(LIBRARY_OBJS)
 
420
         $(CC) -dynamiclib -Wl,-single_module $(LDFLAGS) -undefined dynamic_lookup -Wl,-install_name,$(prefix)/lib/libpython$(VERSION).dylib -Wl,-compatibility_version,$(VERSION) -Wl,-current_version,$(VERSION) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST); \
 
421
                 
 
422
 
419
423
libpython$(VERSION).sl: $(LIBRARY_OBJS)
420
424
        $(LDSHARED) $(LDFLAGS) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) $(LDLAST)
421
425
 
556
560
                $(srcdir)/Objects/stringlib/unicodedefs.h \
557
561
                $(srcdir)/Objects/stringlib/localeutil.h
558
562
 
559
 
Objects/stringobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS)
 
563
Objects/bytesobject.o: $(srcdir)/Objects/bytesobject.c $(BYTESTR_DEPS)
560
564
 
561
 
Objects/bytesobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS) 
 
565
Objects/bytearrayobject.o: $(srcdir)/Objects/bytearrayobject.c $(BYTESTR_DEPS) 
562
566
 
563
567
Objects/unicodeobject.o: $(srcdir)/Objects/unicodeobject.c \
564
568
                                             $(BYTESTR_DEPS) \
773
777
                fi; \
774
778
        done
775
779
        $(INSTALL_PROGRAM) $(BUILDPYTHON) $(DESTDIR)$(BINDIR)/python$(VERSION)$(EXE)
776
 
        if test -f libpython$(VERSION)$(SO); then \
777
 
                if test "$(SO)" = .dll; then \
778
 
                        $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(BINDIR); \
 
780
        if test -f $(LDLIBRARY); then \
 
781
                if test -n "$(DLLLIBRARY)" ; then \
 
782
                        $(INSTALL_SHARED) $(DLLLIBRARY) $(DESTDIR)$(BINDIR); \
779
783
                else \
780
 
                        $(INSTALL_SHARED) libpython$(VERSION)$(SO) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
781
 
                        if test libpython$(VERSION)$(SO) != $(INSTSONAME); then \
782
 
                                (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \
 
784
                        $(INSTALL_SHARED) $(LDLIBRARY) $(DESTDIR)$(LIBDIR)/$(INSTSONAME); \
 
785
                        if test $(LDLIBRARY) != $(INSTSONAME); then \
 
786
                                (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) $(LDLIBRARY)) \
783
787
                        fi \
784
788
                fi; \
785
789
        else    true; \
899
903
        export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \
900
904
        export DYLD_FRAMEWORK_PATH; DYLD_FRAMEWORK_PATH="`pwd`"; \
901
905
        export EXE; EXE="$(BUILDEXE)"; \
902
 
        cd $(srcdir)/Lib/$(PLATDIR); ./regen
 
906
        cd $(srcdir)/Lib/$(PLATDIR); $(RUNSHARED) ./regen
903
907
 
904
908
# Install the include files
905
909
INCLDIRSTOMAKE=$(INCLUDEDIR) $(CONFINCLUDEDIR) $(INCLUDEPY) $(CONFINCLUDEPY)
1050
1054
# This installs the Demos and Tools into the applications directory.
1051
1055
# It is not part of a normal frameworkinstall
1052
1056
frameworkinstallextras:
1053
 
        cd Mac && Make installextras DESTDIR="$(DESTDIR)"
 
1057
        cd Mac && $(MAKE) installextras DESTDIR="$(DESTDIR)"
1054
1058
 
1055
1059
# This installs a few of the useful scripts in Tools/scripts
1056
1060
scriptsinstall: