From 7c9feeb7def24b381675488fdf0a73b51bd84eb2 Mon Sep 17 00:00:00 2001 From: "K. Richard Pixley" Date: Fri, 7 Feb 1992 00:36:15 +0000 Subject: [PATCH] Patch joins devo. --- Makefile.in | 71 +++++++++++++++++++++++++++++++++++++++++++++++++--- configure.in | 2 +- 2 files changed, 69 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8b6914885a3..318f8d99f5b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -100,7 +100,7 @@ install-dir.info: # all-gnulib all.normal: all-texinfo all-bison all-byacc all-flex all-ld \ all-gcc all-gas all-binutils \ - all-libg++ all-gdb all-make all-cvs all-emacs all-ispell all-fileutils + all-libg++ all-gdb all-make all-cvs all-patch all-emacs all-ispell all-fileutils all.cross: all-bison all-ld all-gnulib all-gdb # $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)" @@ -108,7 +108,7 @@ clean: clean-libiberty clean-texinfo clean-bfd clean-binutils \ clean-bison clean-byacc clean-flex clean-ld clean-gas \ clean-gcc clean-gnulib clean-readline clean-glob clean-gdb \ clean-make clean-diff clean-grep clean-rcs clean-gdbm \ - clean-cvs clean-emacs clean-ispell clean-fileutils + clean-cvs clean-patch clean-emacs clean-ispell clean-fileutils rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E install: $(INSTALL_TARGET) $(srcdir)/configure.man @@ -118,7 +118,7 @@ install.all: install-dirs install-libiberty install-texinfo \ install-binutils install-bison install-byacc install-flex \ install-ld install-gas install-gcc install-gnulib \ install-readline install-glob install-gdb install-make \ - install-cvs install-emacs install-ispell install-fileutils + install-cvs install-patch install-emacs install-ispell install-fileutils install.cross: install-dirs install-libiberty install-binutils install-bison \ install-byacc install-ld install-gas install-gnulib \ install-readline install-glob install-gdb @@ -1249,6 +1249,64 @@ install-cvs: install-rcs install-gdbm force true ; \ fi +### patch +.PHONY: all-patch just-patch +all-patch: just-patch +just-patch: force + if [ -d $(unsubdir)/patch ] ; then \ + (cd $(unsubdir)/patch$(subdir); \ + $(MAKE) \ + "against=$(against)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "RANLIB=$(RANLIB)" \ + "LOADLIBES=$(LOADLIBES)" \ + "LDFLAGS=$(LDFLAGS)" \ + "BISON=$(BISON)" \ + "MAKEINFO=$(MAKEINFO)" \ + all) ; \ + else \ + true ; \ + fi + +clean-patch: force + if [ -d $(unsubdir)/patch ] ; then \ + (cd $(unsubdir)/patch$(subdir); \ + $(MAKE) \ + "against=$(against)" \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "RANLIB=$(RANLIB)" \ + "LOADLIBES=$(LOADLIBES)" \ + "LDFLAGS=$(LDFLAGS)" \ + "BISON=$(BISON)" \ + "MAKEINFO=$(MAKEINFO)" \ + clean) ; \ + else \ + true ; \ + fi + +install-patch: force + if [ -d $(unsubdir)/patch ] ; then \ + (cd $(unsubdir)/patch$(subdir); \ + $(MAKE) \ + bindir=$(bindir) \ + man1dir=$(man1dir) \ + "AR=$(AR)" \ + "AR_FLAGS=$(AR_FLAGS)" \ + "CC=$(CC)" \ + "RANLIB=$(RANLIB)" \ + "LOADLIBES=$(LOADLIBES)" \ + "LDFLAGS=$(LDFLAGS)" \ + "BISON=$(BISON)" \ + "MAKEINFO=$(MAKEINFO)" \ + install) ; \ + else \ + true ; \ + fi + ### emacs .PHONY: all-emacs just-emacs all-emacs: just-emacs @@ -1742,6 +1800,13 @@ make-gdb.tar.Z: $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS) gdb texinfo/fsf/texinfo.tex (cd proto-toplev; for i in $(DEVO_SUPPORT) $(GDB_SUPPORT_DIRS); do \ ln -s ../$$i . ; \ done) + # Put only one copy (four hard links) of COPYING in the tar file. + rm proto-toplev/bfd/COPYING + ln proto-toplev/gdb/COPYING proto-toplev/bfd/COPYING + rm proto-toplev/include/COPYING + ln proto-toplev/gdb/COPYING proto-toplev/include/COPYING + rm proto-toplev/readline/COPYING + ln proto-toplev/gdb/COPYING proto-toplev/readline/COPYING # Take out texinfo from configurable dirs rm proto-toplev/configure.in sed '/^configdirs=/s/texinfo //' proto-toplev/configure.in diff --git a/configure.in b/configure.in index c9bbb7a719c..7fc6b4819e8 100644 --- a/configure.in +++ b/configure.in @@ -3,7 +3,7 @@ # script appropriate for this directory. For more information, check # any existing configure script. -configdirs="libiberty texinfo bfd binutils byacc bison gcc readline glob flex ld gas gnulib clib gdb emacs ispell make grep diff rcs gdbm cvs prms fileutils libg++" +configdirs="libiberty texinfo bfd binutils byacc bison gcc readline glob flex ld gas gnulib clib gdb emacs ispell make grep diff rcs gdbm cvs patch prms fileutils libg++" srctrigger=cfg-paper.texi srcname="gnu development package" -- 2.30.2