aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-10-05 07:58:54 +0000
committerMark Eichin <eichin@cygnus>1992-10-05 07:58:54 +0000
commitfb90daebc94a1b03ae3b6cadebed196abd05e438 (patch)
treea93ee015acc67267b11e7b7aca75cd584dc5c980
parent34517ebc854c0fc0314823defa19c4d79e317e12 (diff)
downloadgdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.zip
gdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.tar.gz
gdb-fb90daebc94a1b03ae3b6cadebed196abd05e438.tar.bz2
changes from p3. (new sparclite-wrs-vxworks triple, xiberty rules)
-rw-r--r--ChangeLog11
-rw-r--r--Makefile.in46
-rwxr-xr-xconfig.sub12
3 files changed, 59 insertions, 10 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f71588..20b9d40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+Mon Oct 5 03:00:09 1992 Mark Eichin (eichin at tweedledumber.cygnus.com)
+
+ * config.sub: recognize sparclite-wrs-vxworks.
+
+ * Makefile.in (install-xiberty): added *-xiberty make rules (from
+ p3.) Added clean-xiberty to clean.
+
+Thu Oct 1 17:59:19 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
+
+ * configure.in: use *-*-* instead of nested cases for host and target
+
Tue Sep 29 14:11:18 1992 Ian Lance Taylor (ian@cygnus.com)
* Makefile.in: added -nostdinc to XTRAFLAGS if we are using gcc
diff --git a/Makefile.in b/Makefile.in
index c4f3064..3ceda70 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -142,7 +142,7 @@ XTRAFLAGS = ` \
if [ "$(host_cpu)-$(host_vendor)-$(host_os)" = "$(target_cpu)-$(target_vendor)-$(target_os)" ] ; then \
echo -I$${rootme}/gcc/include ; \
else \
- echo -I$${rootme}/gcc/include -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include ; \
+ echo -I$${rootme}/gcc/include -I$${rootme}/newlib/targ-include -I$${srcroot}/newlib/libc/include -nostdinc ; \
fi ; \
else \
echo ; \
@@ -208,7 +208,7 @@ check:
clean-info:
@rootme='pwd' ; export rootme ; $(MAKE) $(FLAGS_TO_PASS) DO=clean-info "DODIRS=$(SUBDIRS)" subdir_do
-
+
install-info: install-info-dirs force
-parent=`echo $(infodir)|sed -e 's@/[^/]*$$@@'`; \
if [ -d $$parent ] ; then true ; else mkdir $$parent ; fi
@@ -239,7 +239,7 @@ clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \
clean-gcc clean-readline clean-glob clean-gdb \
clean-make clean-diff clean-grep clean-rcs \
clean-cvs clean-patch clean-emacs clean-ispell \
- clean-libg++ clean-gprof clean-send_pr clean-libm
+ clean-libg++ clean-gprof clean-send_pr clean-libm clean-xiberty
-rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
clean-stamps:
@@ -383,6 +383,37 @@ install-libiberty: force
true ; \
fi
+### xiberty
+all-xiberty: all-gcc all-newlib
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) all) ; \
+ else \
+ true ; \
+ fi
+
+clean-xiberty: force
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) clean) ; \
+ else \
+ true ; \
+ fi
+
+install-xiberty: force
+ @if [ -f ./xiberty/Makefile ] ; then \
+ rootme=`pwd` ; export rootme ; \
+ srcroot=`cd $(srcdir); pwd`; export srcroot ; \
+ (cd ./xiberty; \
+ $(MAKE) $(FLAGS_TO_PASS) install) ; \
+ else \
+ true ; \
+ fi
+
### mmalloc
all-mmalloc: force
@if [ -f ./mmalloc/Makefile ] ; then \
@@ -1243,8 +1274,8 @@ Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) $(target_makefile_frag)
# Build GDB distributions that contain BFD, Include, Libiberty, Readline, etc
DEVO_SUPPORT= README cfg-paper.texi Makefile.in configure configure.in \
- config.sub config configure.man move-if-change
-GDB_SUPPORT_DIRS= bfd include libiberty mmalloc readline glob
+ config.sub config configure.man configure.texi move-if-change
+GDB_SUPPORT_DIRS= bfd include libiberty mmalloc opcodes readline glob
GDB_SUPPORT_FILES= $(GDB_SUPPORT_DIRS) texinfo/fsf/texinfo.tex
setup-dirs: force_update
@@ -1253,11 +1284,6 @@ setup-dirs: force_update
./configure -rm sun4
chmod og=u `find $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) -print`
-bfd.ilrt.tar.Z: setup-dirs
- rm -f bfd.ilrt.tar.Z
- tar cf - $(DEVO_SUPPORT) $(GDB_SUPPORT_FILES) \
- | compress -v >bfd.ilrt.tar.Z
-
gdb.tar.Z: setup-dirs
(cd gdb; $(MAKE) -f Makefile.in make-proto-gdb.dir)
$(MAKE) $(MFLAGS) -f Makefile.in make-gdb.tar.Z
diff --git a/config.sub b/config.sub
index 1678296..8e7227a 100755
--- a/config.sub
+++ b/config.sub
@@ -180,10 +180,18 @@ case $basic_machine in
basic_machine=i386-unknown
os=-sysv4
;;
+ i486v4*)
+ basic_machine=i486-unknown
+ os=-sysv4
+ ;;
i386v)
basic_machine=i386-unknown
os=-sysv
;;
+ i486v)
+ basic_machine=i486-unknown
+ os=-sysv
+ ;;
spur)
basic_machine=spur-unknown
;;
@@ -518,6 +526,10 @@ case $basic_machine in
basic_machine=sparclite-fujitsu
os=-none
;;
+ sparclite-wrs)
+ basic_machine=sparclite-wrs
+ os=-vxworks
+ ;;
sparcfrw)
basic_machine=sparcfrw-sun
os=-sunos4