From 664298e6dc699825f3cd1fe0f4f4ee5593cffd9f Mon Sep 17 00:00:00 2001 From: Bob Manson Date: Mon, 1 Dec 1997 02:38:26 +0000 Subject: [PATCH] * Makefile.in: Add rules for cygmon. * configure.in: Build cygmon for sparc-elf and sparclite-aout. --- ChangeLog | 6 ++++++ Makefile.in | 13 +++++++++---- configure.in | 12 +++++++++++- 3 files changed, 26 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index d5962c65789..9d52ba691a9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Nov 30 16:12:27 1997 Bob Manson + + * Makefile.in: Add rules for cygmon. + + * configure.in: Build cygmon for sparc-elf and sparclite-aout. + Wed Nov 26 11:53:33 1997 Keith Seitz * Makefile.in, configure, configure.in: merge with foundry-971118-build diff --git a/Makefile.in b/Makefile.in index 20e784cc037..54afcaccde9 100644 --- a/Makefile.in +++ b/Makefile.in @@ -162,7 +162,7 @@ OTHERS = # This is set by the configure script to the list of directories which # should be built using the target tools. -TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup +TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup opcodes cygmon # Target libraries are put under this directory: # Changed by configure to $(target_alias) if cross. @@ -746,7 +746,8 @@ ALL_TARGET_MODULES = \ all-target-libgloss \ all-target-libiberty \ all-target-gperf \ - all-target-examples + all-target-examples \ + all-target-cygmon # This is a list of the configure targets for all of the modules which # are compiled using the target tools. @@ -760,7 +761,8 @@ CONFIGURE_TARGET_MODULES = \ configure-target-libgloss \ configure-target-libiberty \ configure-target-gperf \ - configure-target-examples + configure-target-examples \ + configure-target-cygmon # This is a list of the check targets for all of the modules which are # compiled using $(TARGET_FLAGS_TO_PASS). @@ -867,7 +869,8 @@ CLEAN_TARGET_MODULES = \ clean-target-libgloss \ clean-target-libiberty \ clean-target-gperf \ - clean-target-examples + clean-target-examples \ + clean-target-cygmon # All of the x11 modules that can be cleaned CLEAN_X11_MODULES = \ @@ -1446,6 +1449,8 @@ all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-bison: all-texinfo all-byacc: all-cvs: +configure-target-cygmon: $(ALL_GCC) +all-target-cygmon: configure-target-cygmon all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-db: all-dejagnu: all-tcl all-expect all-tk all-diff: all-libiberty diff --git a/configure.in b/configure.in index ad207775980..0da01d30c43 100644 --- a/configure.in +++ b/configure.in @@ -89,7 +89,7 @@ native_only="autoconf automake cvs emacs emacs19 fileutils find gawk grep gzip h # directories to be built in a cross environment only # -cross_only="target-libgloss target-newlib" +cross_only="target-libgloss target-newlib target-cygmon target-opcodes" ## All tools belong in one of the four categories, and are assigned above ## We assign ${configdirs} this way to remove all embedded newlines. This @@ -601,6 +601,16 @@ case "${target}" in esac noconfigdirs="$noconfigdirs target-libgloss" ;; + sparc-*-elf*) + if [ x${is_cross_compiler} != xno ] ; then + target_configdirs="${target_configdirs} target-cygmon" + fi + ;; + sparclite-*-aout*) + if [ x${is_cross_compiler} != xno ] ; then + target_configdirs="${target_configdirs} target-cygmon" + fi + ;; sparc-*-sunos4*) if [ x${is_cross_compiler} != xno ] ; then noconfigdirs="$noconfigdirs gdb gdbtest target-newlib target-libgloss" -- 2.30.2