changes from p3. (new sparclite-wrs-vxworks triple, xiberty rules)

This commit is contained in:
Mark Eichin 1992-10-05 07:58:54 +00:00
parent 34517ebc85
commit fb90daebc9
3 changed files with 59 additions and 10 deletions

View File

@ -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

View File

@ -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

12
config.sub vendored
View File

@ -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