Mercurial > hg > octave-nkf
changeset 2301:b6c2559cf865
[project @ 1996-06-24 07:28:26 by jwe]
author | jwe |
---|---|
date | Mon, 24 Jun 1996 07:33:26 +0000 |
parents | 9484969866d2 |
children | 470c856bf55a |
files | kpathsea/Makefile.in liboctave/Makefile.in readline/Makefile.in src/Makefile.in |
diffstat | 4 files changed, 21 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/kpathsea/Makefile.in +++ b/kpathsea/Makefile.in @@ -33,7 +33,9 @@ version.o xcalloc.o xfopen.o xmalloc.o xopendir.o xputenv.o xrealloc.o \ xstat.o xstrdup.o $(malloc) -LIBS_TO_INSTALL = libkpathsea.a libkpathsea.so +LIBS_TO_INSTALL = libkpathsea.a + +SH_LIBS_TO_INSTALL = libkpathsea.so default all: stamp-picdir kpsewhich MakeTeXPK kpathsea.info stamp-shared @@ -140,6 +142,9 @@ for f in $(LIBS_TO_INSTALL); do \ if [ -f $$f ]; then $(INSTALL_DATA) $$f $(libdir)/$$f; fi; \ done + for f in $(SH_LIBS_TO_INSTALL); do \ + if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ + done uninstall:
--- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -154,7 +154,8 @@ $(RANLIB) $(libdir)/liboctave.a if $(SHARED_LIBS); then \ rm -f $(libdir)/liboctave.$(SHLEXT); \ - $(INSTALL_DATA) liboctave.$(SHLEXT) $(libdir)/liboctave.$(SHLEXT); \ + $(INSTALL_PROGRAM) liboctave.$(SHLEXT) \ + $(libdir)/liboctave.$(SHLEXT); \ fi .PHONY: install-lib
--- a/readline/Makefile.in +++ b/readline/Makefile.in @@ -23,8 +23,9 @@ TERMLIBS = @TERMLIBS@ SH_TERMLIBS = @SH_TERMLIBS@ -LIBS_TO_INSTALL = libreadline.a libhistory.a \ - libreadline.$(SHLEXT) libhistory.$(SHLEXT) +LIBS_TO_INSTALL = libreadline.a libhistory.a + +SH_LIBS_TO_INSTALL = libreadline.$(SHLEXT) libhistory.$(SHLEXT) RANLIB = @RANLIB@ AR = ar @@ -170,6 +171,9 @@ for f in $(LIBS_TO_INSTALL); do \ if [ -f $$f ]; then $(INSTALL_DATA) $$f $(libdir)/$$f; fi; \ done + for f in $(SH_LIBS_TO_INSTALL); do \ + if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ + done uninstall:
--- a/src/Makefile.in +++ b/src/Makefile.in @@ -159,8 +159,9 @@ OCTAVE_LIBS = -loctinterp -loctave -ltinst -lcruft \ $(LIBPLPLOT) -lreadline -lkpathsea -lglob $(LIBDLFCN) -LIBS_TO_INSTALL = liboctinterp.a libtinst.a \ - liboctinterp.$(SHLEXT) libtinst.$(SHLEXT) +LIBS_TO_INSTALL = liboctinterp.a libtinst.a + +SH_LIBS_TO_INSTALL = liboctinterp.$(SHLEXT) libtinst.$(SHLEXT) LIBS = @LIBS@ @@ -251,6 +252,9 @@ for f in $(LIBS_TO_INSTALL); do \ if [ -f $$f ]; then $(INSTALL_DATA) $$f $(libdir)/$$f; fi; \ done + for f in $(SH_LIBS_TO_INSTALL); do \ + if [ -f $$f ]; then $(INSTALL_PROGRAM) $$f $(libdir)/$$f; fi; \ + done .PHONY: install-lib install-inc: @@ -279,6 +283,7 @@ uninstall: rm -f $(bindir)/octave for f in $(LIBS_TO_INSTALL); do rm -f $(libdir)/$$f; done + for f in $(SH_LIBS_TO_INSTALL); do rm -f $(libdir)/$$f; done for f in $(INCLUDES) defaults.h oct-conf.h; do \ rm -f $(octincludedir)/$$f; \ done