diff options
author | Guido van Rossum <guido@python.org> | 1999-01-27 17:53:11 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-27 17:53:11 +0000 |
commit | 2ef8d8a6debc71cd8faa1ece5143bfee2c8b4a1d (patch) | |
tree | ec5f18231d02e79088b351af795245773ad463c1 /Makefile.in | |
parent | 75c74c5942e3112a10de0cd687dd27192455f110 (diff) | |
download | cpython-2ef8d8a6debc71cd8faa1ece5143bfee2c8b4a1d.tar.gz |
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 d79f8f6fdc..552f8354f0 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 |