Added gdb.
This commit is contained in:
parent
9d1e053bdc
commit
3c81fef579
37
Makefile.in
37
Makefile.in
|
@ -1,7 +1,7 @@
|
||||||
#
|
#
|
||||||
# Makefile for directory with subdirs to build.
|
# Makefile for directory with subdirs to build.
|
||||||
#
|
#
|
||||||
# Last Mod Thu Apr 18 17:41:48 PDT 1991, by rich@cygint.cygnus.com
|
# Last Mod Sat May 18 17:24:38 PDT 1991, by rich@cygint.cygnus.com
|
||||||
#
|
#
|
||||||
|
|
||||||
# $Id$
|
# $Id$
|
||||||
|
@ -16,18 +16,19 @@ RANLIB = ranlib
|
||||||
AR = ar
|
AR = ar
|
||||||
AR_FLAGS = cqv
|
AR_FLAGS = cqv
|
||||||
|
|
||||||
BOOTSTRAPPABLE = libiberty bfd binutils ld gas gcc gnulib
|
SUBDIRS = libiberty bfd binutils ld gas gcc gnulib
|
||||||
OTHERS =
|
OTHERS =
|
||||||
|
|
||||||
#### host and target specific makefile fragments come in here.
|
#### host and target specific makefile fragments come in here.
|
||||||
###
|
###
|
||||||
|
|
||||||
all:
|
all:
|
||||||
$(MAKE) subdir_do DO=all "DODIRS=$(BOOTSTRAPPABLE) $(OTHERS)"
|
$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
|
||||||
|
|
||||||
subdir_do: $(DODIRS)
|
subdir_do: force
|
||||||
for i in $(DODIRS); \
|
for i in $(DODIRS); \
|
||||||
do \
|
do \
|
||||||
|
if [ -d $(srcdir)/$$i -o -d $(srcdir)/$$i.$(target) ] ; then \
|
||||||
if (cd $(srcdir)/$$i`if [ -d $(srcdir)/$$i.$(target) ] ; \
|
if (cd $(srcdir)/$$i`if [ -d $(srcdir)/$$i.$(target) ] ; \
|
||||||
then echo .$(target) ; fi`$(subdir); \
|
then echo .$(target) ; fi`$(subdir); \
|
||||||
$(MAKE) \
|
$(MAKE) \
|
||||||
|
@ -38,6 +39,7 @@ subdir_do: $(DODIRS)
|
||||||
then true ; \
|
then true ; \
|
||||||
else exit 1 ; \
|
else exit 1 ; \
|
||||||
fi ;\
|
fi ;\
|
||||||
|
fi ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
|
@ -56,7 +58,7 @@ bootstrap3:
|
||||||
$(MAKE) pass "stagepass=stage2"
|
$(MAKE) pass "stagepass=stage2"
|
||||||
|
|
||||||
pass:
|
pass:
|
||||||
$(MAKE) subdir_do DO=all "DODIRS=$(BOOTSTRAPPABLE)" \
|
$(MAKE) subdir_do DO=all "DODIRS=$(SUBDIRS)" \
|
||||||
"CC=$(srcdir)/../gcc`if [ -d $(srcdir)/gcc.$(target) ] ; \
|
"CC=$(srcdir)/../gcc`if [ -d $(srcdir)/gcc.$(target) ] ; \
|
||||||
then echo .$(target) ; fi`$(subdir)/$(stagepass)/gcc -O \
|
then echo .$(target) ; fi`$(subdir)/$(stagepass)/gcc -O \
|
||||||
-B$(srcdir)/../gcc`if [ -d $(srcdir)/gcc.$(target) ] ; \
|
-B$(srcdir)/../gcc`if [ -d $(srcdir)/gcc.$(target) ] ; \
|
||||||
|
@ -75,28 +77,28 @@ pass:
|
||||||
|
|
||||||
|
|
||||||
stage1:
|
stage1:
|
||||||
$(MAKE) subdir_do DO=stage1 "DODIRS=$(BOOTSTRAPPABLE)"
|
$(MAKE) subdir_do DO=stage1 "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
stage2:
|
stage2:
|
||||||
$(MAKE) subdir_do DO=stage2 "DODIRS=$(BOOTSTRAPPABLE)"
|
$(MAKE) subdir_do DO=stage2 "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
stage3:
|
stage3:
|
||||||
$(MAKE) subdir_do DO=stage3 "DODIRS=$(BOOTSTRAPPABLE)"
|
$(MAKE) subdir_do DO=stage3 "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
stage4:
|
stage4:
|
||||||
$(MAKE) subdir_do DO=stage4 "DODIRS=$(BOOTSTRAPPABLE)"
|
$(MAKE) subdir_do DO=stage4 "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
de-stage1:; $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(BOOTSTRAPPABLE)"
|
de-stage1:; $(MAKE) subdir_do DO=de-stage1 "DODIRS=$(SUBDIRS)"
|
||||||
de-stage2:; $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(BOOTSTRAPPABLE)"
|
de-stage2:; $(MAKE) subdir_do DO=de-stage2 "DODIRS=$(SUBDIRS)"
|
||||||
de-stage3:; $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(BOOTSTRAPPABLE)"
|
de-stage3:; $(MAKE) subdir_do DO=de-stage3 "DODIRS=$(SUBDIRS)"
|
||||||
de-stage4:; $(MAKE) subdir_do DO=de-stage4 "DODIRS=$(BOOTSTRAPPABLE)"
|
de-stage4:; $(MAKE) subdir_do DO=de-stage4 "DODIRS=$(SUBDIRS)"
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
|
rm -rf *.a TEMP errs core *.o *~ \#* TAGS *.E
|
||||||
$(MAKE) subdir_do DO=clean "DODIRS=$(BOOTSTRAPPABLE) $(OTHERS)"
|
$(MAKE) subdir_do DO=clean "DODIRS=$(SUBDIRS) $(OTHERS)"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(MAKE) subdir_do DO=install "DODIRS=$(BOOTSTRAPPABLE) $(OTHERS)"
|
$(MAKE) subdir_do DO=install "DODIRS=$(SUBDIRS) $(OTHERS)"
|
||||||
|
|
||||||
etags tags: TAGS
|
etags tags: TAGS
|
||||||
|
|
||||||
|
@ -116,7 +118,7 @@ ls:
|
||||||
done) \
|
done) \
|
||||||
done
|
done
|
||||||
|
|
||||||
FORCE:
|
force:
|
||||||
|
|
||||||
# with the gnu make, this is done automatically.
|
# with the gnu make, this is done automatically.
|
||||||
|
|
||||||
|
@ -128,6 +130,9 @@ Makefile: $(srcdir)/Makefile.in $(srcdir)/configure
|
||||||
|
|
||||||
#
|
#
|
||||||
# $Log$
|
# $Log$
|
||||||
|
# Revision 1.12 1991/05/19 00:36:44 rich
|
||||||
|
# Added gdb.
|
||||||
|
#
|
||||||
# Revision 1.11 1991/05/03 21:30:41 gnu
|
# Revision 1.11 1991/05/03 21:30:41 gnu
|
||||||
# Rename getopt to libiberty.
|
# Rename getopt to libiberty.
|
||||||
#
|
#
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# script appropriate for this directory. For more information, check
|
# script appropriate for this directory. For more information, check
|
||||||
# any existing configure script.
|
# any existing configure script.
|
||||||
|
|
||||||
configdirs="libiberty bfd binutils ld gas gcc gnulib clib"
|
configdirs="libiberty bfd binutils ld gas gdb gcc gnulib clib"
|
||||||
srctrigger=README.configure
|
srctrigger=README.configure
|
||||||
srcname="gnu development package"
|
srcname="gnu development package"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue