diff options
author | Guido van Rossum <guido@python.org> | 1998-01-13 18:57:24 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-01-13 18:57:24 (GMT) |
commit | 3dd264cc0fae7e372121360959c3ee1e081b0596 (patch) | |
tree | dd39a9c57ab610446d21b4ef20507502b927c8ad | |
parent | 3f20592c3e4a436ab05b46551dea9dbd9e659e05 (diff) | |
download | cpython-3dd264cc0fae7e372121360959c3ee1e081b0596.zip cpython-3dd264cc0fae7e372121360959c3ee1e081b0596.tar.gz cpython-3dd264cc0fae7e372121360959c3ee1e081b0596.tar.bz2 |
Deleted targets used only by Jim Fulton's now deleted "gMakefile".
Also change the build rules to use $(LIBRARY) instead of
-L.. -lpython$(VERSION)
since the latter trips up the SunOS 4.1.x linker (sigh).
-rw-r--r-- | Modules/Makefile.pre.in | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in index 91c73f1..076fada 100644 --- a/Modules/Makefile.pre.in +++ b/Modules/Makefile.pre.in @@ -106,13 +106,6 @@ REALLIBRARY= ../@REALLIBRARY@ all: $(OBJS) -# Targets for Jim Fulton's extension Makefiles -- are these still needed? -asharedmodule: $(ASHAREDMODULE)$(SO) - -$(ASHAREDMODULE)$(SO): $(ASHAREDMODULESOBS) - $(LDSHARED) $(LDFLAGS) -o $(ASHAREDMODULE)$(SO) $(ASHAREDMODULESOBS) \ - $(ASHAREDMODULESEXTRA) - # This target is used by the master Makefile to add the objects to the library. # To deal with the conflict between signalmodule.o and # sigcheck.o+intrcheck.o, we remove the latter two if we have the former. @@ -132,7 +125,7 @@ EXE= # This target is used by the master Makefile to link the final binary. link: $(MAINOBJ) $(LINKCC) $(LDFLAGS) $(LINKFORSHARED) $(MAINOBJ) \ - -L.. -lpython$(VERSION) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST) + $(LIBRARY) $(MODLIBS) $(LIBS) $(SYSLIBS) -o python $(LDLAST) mv python$(EXE) ../python$(EXE) clean: @@ -230,15 +223,6 @@ sharedinstall: $(DESTSHARED) $(SHAREDMODS) fi; \ done -# Install a shared module from outside of setup -asharedinstall: $(DESTSHARED) $(ASHAREDMODULE)$(SO) - -for i in dummy $(ASHAREDMODULE)$(SO); do \ - if test -f $$i; then mv $$i $(DESTSHARED)/$$i; fi; done - -# This is handy when modules need to know where the destination directory is: -echodestshared: $(DESTSHARED) - echo $(DESTSHARED) - DESTDIRS= $(exec_prefix) $(LIBDIR) $(BINLIBDEST) $(DESTSHARED) $(DESTSHARED): |