diff options
author | Ken Raeburn <raeburn@cygnus> | 1995-11-16 10:12:33 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1995-11-16 10:12:33 +0000 |
commit | b218076e59444b6732e7a8b133687dde38a53d4e (patch) | |
tree | de6d3271688a55f1b6f8f68406dde827dd46d666 /binutils/Makefile.in | |
parent | da9b55af46900480b10f916ceb40aec55655ff40 (diff) | |
download | gdb-b218076e59444b6732e7a8b133687dde38a53d4e.zip gdb-b218076e59444b6732e7a8b133687dde38a53d4e.tar.gz gdb-b218076e59444b6732e7a8b133687dde38a53d4e.tar.bz2 |
version 2.6
Diffstat (limited to 'binutils/Makefile.in')
-rw-r--r-- | binutils/Makefile.in | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/binutils/Makefile.in b/binutils/Makefile.in index 878d4c9..1a4a8eb 100644 --- a/binutils/Makefile.in +++ b/binutils/Makefile.in @@ -74,7 +74,7 @@ LEX_OPTIONS = -I -Cem LEX = `if [ -f ../flex/flex ] ; then echo ../flex/flex ; else echo flex ; fi` # Distribution version -VERSION=cygnus-2.5.3 +VERSION=cygnus-2.6 # Distribution name DIST_NAME=binutils-${VERSION} @@ -128,8 +128,6 @@ BFDDIR = $(BASEDIR)/bfd INCDIR = $(BASEDIR)/include INCLUDES = -I. -I$(srcdir) -I../bfd -I$(BFDDIR) -I$(INCDIR) -@target_makefile_fragment@ - ALL_CFLAGS = $(INCLUDES) @HDEFINES@ $(CFLAGS) .c.o: @@ -171,6 +169,21 @@ RUNTEST = `if [ -f ${srcdir}/../dejagnu/runtest ] ; then \ else echo runtest ; fi` RUNTESTFLAGS = +CC_FOR_TARGET = ` \ + if [ -f $$r/../gcc/xgcc ] ; then \ + if [ -f $$r/../newlib/Makefile ] ; then \ + echo $$r/../gcc/xgcc -B$$r/../gcc/ -idirafter $$r/../newlib/targ-include -idirafter $${srcroot}/../newlib/libc/include -nostdinc; \ + else \ + echo $$r/../gcc/xgcc -B$$r/../gcc/; \ + fi; \ + else \ + if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \ + echo $(CC); \ + else \ + echo gcc | sed '$(program_transform_name)'; \ + fi; \ + fi` + FLAGS_TO_PASS = \ "CC=$(CC)" \ "CFLAGS=$(CFLAGS)" \ @@ -220,7 +233,7 @@ check: site.exp TCL_LIBRARY=$${srcroot}/../tcl/library ; \ export TCL_LIBRARY ; else true; fi ; \ $(RUNTEST) --tool binutils --srcdir $(srcdir)/testsuite \ - $(RUNTESTFLAGS) + $(RUNTESTFLAGS) CC="$(CC_FOR_TARGET)" CFLAGS="$(CFLAGS)" installcheck: /bin/sh $(srcdir)/sanity.sh $(bindir) |