From aa06ff7e3cf606a85ae0c082674acb44a4c40919 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Mon, 31 Aug 1992 22:26:18 +0000 Subject: [PATCH] Support for opcodes directory --- .Sanitize | 1 + Makefile.in | 43 +++++++++++++++++++++++++++++++++++++------ configure.in | 2 +- 3 files changed, 39 insertions(+), 7 deletions(-) diff --git a/.Sanitize b/.Sanitize index a16c4bb1c87..1037e648067 100644 --- a/.Sanitize +++ b/.Sanitize @@ -65,6 +65,7 @@ make mmalloc move-if-change newlib +opcodes patch prms rcs diff --git a/Makefile.in b/Makefile.in index b01f1004064..81049e9a9ae 100644 --- a/Makefile.in +++ b/Makefile.in @@ -65,7 +65,7 @@ MAKEINFO = `if [ -f $${rootme}/texinfo/C/makeinfo ] ; \ then echo $${rootme}/texinfo/C/makeinfo ; \ else echo makeinfo ; fi` -SUBDIRS = libiberty mmalloc glob readline bfd gdb binutils ld gas tgas gcc libg++ newlib libm # clib -- newlib replaces +SUBDIRS = libiberty mmalloc glob readline bfd gdb binutils opcodes ld gas tgas gcc libg++ newlib libm # clib -- newlib replaces OTHERS = ALL = all.normal @@ -136,18 +136,19 @@ install-dir.info: all.normal: all-autoconf all-libiberty all-mmalloc all-texinfo \ all-byacc all-flex all-bfd all-ld all-gas all-tgas all-gcc \ - all-binutils all-libg++ all-readline all-gdb \ + all-binutils all-opcodes all-libg++ all-readline all-gdb \ all-make all-rcs all-cvs all-diff all-grep \ all-patch all-emacs all-ispell all-etc \ all-newlib all-gprof all-send_pr all-libm all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \ - all-bfd all-readline all-gdb all-binutils all-gcc all-newlib + all-bfd all-readline all-gdb all-binutils all-opcodes all-gcc \ + all-newlib # $(MAKE) $(FLAGS_TO_PASS) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)" clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \ clean-bfd clean-newlib clean-binutils clean-flex \ - clean-byacc clean-ld clean-gas clean-etc \ + clean-byacc clean-ld clean-gas clean-etc clean-opcodes \ clean-gcc clean-readline clean-glob clean-gdb \ clean-make clean-diff clean-grep clean-rcs \ clean-cvs clean-patch clean-emacs clean-ispell \ @@ -175,6 +176,7 @@ install-no-fixedincludes: install-dirs gcc-no-fixedincludes \ install-autoconf \ install-bfd \ install-binutils \ + install-opcodes \ install-byacc \ install-cvs \ install-diff \ @@ -211,7 +213,7 @@ gcc-no-fixedincludes: fi install.cross: install-dirs install-libiberty install-mmalloc \ - install-binutils install-byacc install-flex \ + install-binutils install-opcodes install-byacc install-flex \ install-ld install-gas install-readline \ install-glob install-gdb install-mmalloc \ install-newlib install-gcc install-etc @@ -379,8 +381,37 @@ install-bfd: force true ; \ fi + +### opcodes +all-opcodes: force + @if [ -f ./opcodes/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + (cd ./bfd; \ + $(MAKE) $(FLAGS_TO_PASS) all) ; \ + else \ + true ; \ + fi + +clean-opcodes: force + @if [ -f ./opcodes/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + (cd ./bfd; \ + $(MAKE) $(FLAGS_TO_PASS) clean) ; \ + else \ + true ; \ + fi + +install-opcodes: force + @if [ -f ./opcodes/Makefile ] ; then \ + rootme=`pwd` ; export rootme ; \ + (cd ./bfd; \ + $(MAKE) $(FLAGS_TO_PASS) install) ; \ + else \ + true ; \ + fi + ### binutils -all-binutils: all-libiberty all-bfd all-flex +all-binutils: all-opcodes all-libiberty all-bfd all-flex @if [ -f ./binutils/Makefile ] ; then \ rootme=`pwd` ; export rootme ; \ (cd ./binutils; \ diff --git a/configure.in b/configure.in index af3e8d06a33..701b12a788e 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="autoconf libgcc mmalloc libiberty texinfo bfd binutils byacc bison flex gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas" +configdirs="autoconf libgcc mmalloc libiberty texinfo bfd binutils byacc bison flex gcc readline glob ld gas gdb emacs ispell make grep diff rcs cvs patch send_pr libg++ newlib gprof gdbtest libm tgas opcodes" srctrigger=cfg-paper.texi srcname="gnu development package" -- 2.30.2