1 | --- Makefile.pre.in Tue Mar 29 01:23:01 2005 |
---|
2 | +++ ../../Makefile.pre.in Thu Mar 31 10:32:39 2005 |
---|
3 | @@ -56,7 +56,7 @@ |
---|
4 | OPT= @OPT@ |
---|
5 | BASECFLAGS= @BASECFLAGS@ |
---|
6 | CFLAGS= $(BASECFLAGS) $(OPT) |
---|
7 | -CPPFLAGS= -I. -I$(srcdir)/Include |
---|
8 | +CPPFLAGS= @CPPFLAGS@ -I. -I$(srcdir)/Include |
---|
9 | LDFLAGS= @LDFLAGS@ |
---|
10 | LDLAST= @LDLAST@ |
---|
11 | SGI_ABI= @SGI_ABI@ |
---|
12 | @@ -360,6 +360,10 @@ |
---|
13 | libpython$(VERSION).sl: $(LIBRARY_OBJS) |
---|
14 | $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(LIBC) $(LIBM) |
---|
15 | |
---|
16 | +libpython2.4.2.dylib: $(LIBRARY_OBJS) |
---|
17 | + $(LINKCC) -dynamiclib -install_name $(LIBDIR)/$@ -current_version 2.4.2 -compatibility_version 2.4 -o $@ -flat_namespace -undefined suppress $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM) |
---|
18 | + |
---|
19 | + |
---|
20 | # This rule is here for OPENSTEP/Rhapsody/MacOSX. It builds a temporary |
---|
21 | # minimal framework (not including the Lib directory and such) in the current |
---|
22 | # directory. |
---|
23 | @@ -625,7 +629,12 @@ |
---|
24 | (cd $(DESTDIR)$(LIBDIR); $(LN) -sf $(INSTSONAME) libpython$(VERSION)$(SO)); \ |
---|
25 | fi \ |
---|
26 | fi; \ |
---|
27 | - else true; \ |
---|
28 | + else \ |
---|
29 | + if test -f libpython2.4.2.dylib; then \ |
---|
30 | + $(INSTALL_SHARED) libpython2.4.2.dylib $(DESTDIR)$(LIBDIR)/libpython2.4.2.dylib; \ |
---|
31 | + else \ |
---|
32 | + true; \ |
---|
33 | + fi \ |
---|
34 | fi |
---|
35 | |
---|
36 | # Install the manual page |
---|