diff options
author | Guido van Rossum <guido@python.org> | 1999-01-27 17:53:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-27 17:53:11 (GMT) |
commit | 54ecc3d24f52ae45ca54a24167e434915c88b60f (patch) | |
tree | 2bc2d15f1e6a6178a992a9ce0b4975697f1ef71b /Makefile.in | |
parent | b5cebfe164fbf6c862e8aa9fb91628d1b8cf76be (diff) | |
download | cpython-54ecc3d24f52ae45ca54a24167e434915c88b60f.zip cpython-54ecc3d24f52ae45ca54a24167e434915c88b60f.tar.gz cpython-54ecc3d24f52ae45ca54a24167e434915c88b60f.tar.bz2 |
Patches by William Lewis for Nextstep descendants.
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index d79f8f6..552f835 100644 --- a/Makefile.in +++ b/Makefile.in @@ -161,6 +161,7 @@ DIST= $(DISTFILES) $(DISTDIRS) CFLAGS= $(OPT) -I. $(DEFS) LIBRARY= libpython$(VERSION).a +LDLIBRARY= @LDLIBRARY@ # Default target all: $(LIBRARY) python sharedmods @@ -173,10 +174,10 @@ python: $(LIBRARY) buildno Modules/python.o $(srcdir)/Modules/getbuildinfo.c $(AR) cr $(LIBRARY) getbuildinfo.o $(RANLIB) $(LIBRARY) - @DGUX_IS_BROKEN@ + @MAKE_LDLIBRARY@ cd Modules; $(MAKE) OPT="$(OPT)" VERSION="$(VERSION)" \ prefix="$(prefix)" exec_prefix="$(exec_prefix)" \ - LIBRARY=../$(LIBRARY) link + LIBRARY=../$(LDLIBRARY) link Modules/python.o: $(srcdir)/Modules/python.c cd Modules; $(MAKE) OPT="$(OPT)" python.o @@ -204,6 +205,10 @@ libpython$(VERSION).so: $(LIBRARY) (cd dgux;ar x ../$^;ld -G -o ../$@ * ) /bin/rm -rf ./dgux +# This rule is here for OPENSTEP/Rhapsody/MacOSX +libpython$(VERSION).dylib: $(LIBRARY) + libtool -o $(LDLIBRARY) -dynamic $(OTHER_LIBTOOL_OPT) $(LIBRARY) -framework System @LIBTOOL_CRUFT@ + $(SUBDIRS): Makefiles Parser: @@ -258,7 +263,6 @@ altbininstall: python fi; \ done $(INSTALL_PROGRAM) python$(EXE) $(BINDIR)/python$(VERSION)$(EXE) - @DGUX_IS_BROKEN@ if test -f libpython$(VERSION).so; then \ $(INSTALL_DATA) libpython$(VERSION).so $(LIBDIR); \ else true; \ @@ -504,7 +508,7 @@ clean: localclean done localclobber: localclean - -rm -f tags TAGS python $(LIBRARY) *.o + -rm -f tags TAGS python $(LIBRARY) $(LDLIBRARY) *.o -rm -f config.log config.cache config.h clobber: localclobber |