diff options
author | K. Richard Pixley <rich@cygnus> | 1991-11-06 07:34:54 +0000 |
---|---|---|
committer | K. Richard Pixley <rich@cygnus> | 1991-11-06 07:34:54 +0000 |
commit | 2c55824ff8ae8bf9434a0476f338bb141106507d (patch) | |
tree | e6f38a0b6d7af160cf724a0b0a712b898c481e92 /Makefile.in | |
parent | 0aaa124f3ef1f483298ed45fec506bc75bd6a443 (diff) | |
download | gdb-2c55824ff8ae8bf9434a0476f338bb141106507d.zip gdb-2c55824ff8ae8bf9434a0476f338bb141106507d.tar.gz gdb-2c55824ff8ae8bf9434a0476f338bb141106507d.tar.bz2 |
with bison's help, call it in such a way that any configuration type can find it
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 52 |
1 files changed, 19 insertions, 33 deletions
diff --git a/Makefile.in b/Makefile.in index a0b3b7e..ae5e1c1 100644 --- a/Makefile.in +++ b/Makefile.in @@ -16,7 +16,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ # -# Last Mod Tue Nov 5 12:18:34 PST 1991, by rich@rtl.cygnus.com +# Last Mod Tue Nov 5 23:28:51 PST 1991, by rich@cygnus.com # # $Id$ @@ -35,6 +35,7 @@ BISON = `if [ -d $(unsubdir)/../bison ] ; \ then echo \`pwd\`/$(unsubdir)/../bison$(subdir)/bison -L \`pwd\`/$(unsubdir)/../bison$(subdir)/ ; \ else echo yacc ; fi` +#\`(cd $(srcdir)/bison ; \\`pwd\\`)\` SUBDIRS = libiberty readline bfd gdb binutils ld gas gcc gnulib clib OTHERS = @@ -56,16 +57,14 @@ all.xclib: all.normal subdir_do: force for i in $(DODIRS); do \ - if [ -f $(unsubdir)/$$i/localenv -o -f $(unsubdir)/$$i.$(target)/localenv ] ; then \ - if (cd $(unsubdir)/$$i`if [ -d $(unsubdir)/$$i.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir); \ + if [ -f $(unsubdir)/$$i/localenv ] ; then \ + if (cd $(unsubdir)/$$i$(subdir); \ $(MAKE) \ "against=$(against)" \ "BISON=$(BISON)" $(DO)) ; then true ; \ else exit 1 ; fi ; \ - else if [ -d $(unsubdir)/$$i -o -d $(unsubdir)/$$i.$(target) ] ; then \ - if (cd $(unsubdir)/$$i`if [ -d $(unsubdir)/$$i.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir); \ + else if [ -d $(unsubdir)/$$i ] ; then \ + if (cd $(unsubdir)/$$i$(subdir); \ $(MAKE) \ "against=$(against)" \ "AR=$(AR)" \ @@ -103,26 +102,17 @@ bootstrap3: pass: cp $(srcdir)/gcc/gstdarg.h $(unsubdir)/gas$(subdir)/stdarg.h $(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" \ - "CC=`pwd`/$(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/gcc \ + "CC=`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/gcc \ -O \ - -B`pwd`/$(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/ \ - -B`pwd`/$(unsubdir)/gas`if [ -d $(unsubdir)/gas.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/ \ - -B`pwd`/$(unsubdir)/ld`if [ -d $(unsubdir)/ld.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/" \ - "AR=`pwd`/$(unsubdir)/binutils`if [ -d $(unsubdir)/binutils.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/ar" \ - "RANLIB=`pwd`/$(unsubdir)/binutils`if [ -d $(unsubdir)/binutils.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/ranlib" \ - "LOADLIBES=`pwd`/$(unsubdir)/gnulib`if [ -d $(unsubdir)/binutils.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/gnulib.a /lib/libc.a" \ + -B`pwd`/$(unsubdir)/gcc$(subdir)/$(stagepass)/ \ + -B`pwd`/$(unsubdir)/gas$(subdir)/$(stagepass)/ \ + -B`pwd`/$(unsubdir)/ld$(subdir)/$(stagepass)/" \ + "AR=`pwd`/$(unsubdir)/binutil$(subdir)/$(stagepass)/ar" \ + "RANLIB=`pwd`/$(unsubdir)/binutils$(subdir)/$(stagepass)/ranlib" \ + "LOADLIBES=`pwd`/$(unsubdir)/gnulib$(subdir)/$(stagepass)/gnulib.a /lib/libc.a" \ "LDFLAGS=-nostdlib /lib/crt0.o \ - -L`pwd`/$(unsubdir)/gnulib`if [ -d $(unsubdir)/gnulib.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/ \ - -B`pwd`/$(unsubdir)/ld`if [ -d $(unsubdir)/ld.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir)/$(stagepass)/" + -L`pwd`/$(unsubdir)/gnulib$(subdir)/$(stagepass)/ \ + -B`pwd`/$(unsubdir)/ld$(subdir)/$(stagepass)/" stage1: @@ -178,19 +168,15 @@ install-dirs: force - mkdir $(idestdir)/man/man6 - mkdir $(idestdir)/man/man7 - mkdir $(idestdir)/man/man8 - if [ -d $(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir) ] ; then \ - (cd $(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir) ; \ + if [ -d $(unsubdir)/gcc$(subdir) ] ; then \ + (cd $(unsubdir)/gcc$(subdir) ; \ $(MAKE) install-dir) ; \ else true; \ fi install-fixed-includes: force - if [ -d $(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir) ] ; then \ - (cd $(unsubdir)/gcc`if [ -d $(unsubdir)/gcc.$(target) ] ; \ - then echo .$(target) ; fi`$(subdir) ; \ + if [ -d $(unsubdir)/gcc$(subdir) ] ; then \ + (cd $(unsubdir)/gcc$(subdir) ; \ $(MAKE) install-fixed-includes) ; \ else true; \ fi |