* Makefile.in: Add rules for cygmon.
authorBob Manson <manson@cygnus>
Mon, 1 Dec 1997 02:38:26 +0000 (02:38 +0000)
committerBob Manson <manson@cygnus>
Mon, 1 Dec 1997 02:38:26 +0000 (02:38 +0000)
* configure.in: Build cygmon for sparc-elf and sparclite-aout.

ChangeLog
Makefile.in
configure.in

index d5962c6..9d52ba6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sun Nov 30 16:12:27 1997  Bob Manson  <manson@charmed.cygnus.com>
+
+       * 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  <keiths@onions.cygnus.com>
 
        * Makefile.in, configure, configure.in: merge with foundry-971118-build
index 20e784c..54afcac 100644 (file)
@@ -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
index ad20777..0da01d3 100644 (file)
@@ -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"