mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
clean up Makefile.in (install), configure.in (the parts that choose what not to build for a host or target)
This commit is contained in:
10
ChangeLog
10
ChangeLog
@ -1,7 +1,17 @@
|
|||||||
|
Mon Aug 3 15:41:28 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
||||||
|
|
||||||
|
* config/mh-solaris: removed the -xs from CFLAGS (let the people
|
||||||
|
with Sun's C compiler deal with it themselved)
|
||||||
|
|
||||||
Mon Aug 3 00:34:17 1992 Fred Fish (fnf@cygnus.com)
|
Mon Aug 3 00:34:17 1992 Fred Fish (fnf@cygnus.com)
|
||||||
|
|
||||||
* config.sub (ncr3000): Change i386 to i486.
|
* config.sub (ncr3000): Change i386 to i486.
|
||||||
|
|
||||||
|
Thu Jul 23 00:12:17 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
|
||||||
|
|
||||||
|
* Makefile.in: add install-rcs, install-grep to
|
||||||
|
install-no-fixedincludes, removed install-bison and install-libgcc
|
||||||
|
|
||||||
Tue Jul 21 01:01:50 1992 david d `zoo' zuhn (zoo@cygnus.com)
|
Tue Jul 21 01:01:50 1992 david d `zoo' zuhn (zoo@cygnus.com)
|
||||||
|
|
||||||
* configure.in: grab the HPUX makefile fragment if on HPUX
|
* configure.in: grab the HPUX makefile fragment if on HPUX
|
||||||
|
137
Makefile.in
137
Makefile.in
@ -52,13 +52,9 @@ AR_FLAGS = qc
|
|||||||
CFLAGS = -g
|
CFLAGS = -g
|
||||||
RANLIB = ranlib
|
RANLIB = ranlib
|
||||||
|
|
||||||
BISON = `if [ -d $${rootme}/bison ] ; \
|
BISON = `if [ -d $${rootme}/byacc ] ; \
|
||||||
then echo $${rootme}/bison -L $${rootme}/bison/ -y ; \
|
|
||||||
else \
|
|
||||||
if [ -d $${rootme}/byacc ] ; \
|
|
||||||
then echo $${rootme}/byacc/byacc ; \
|
then echo $${rootme}/byacc/byacc ; \
|
||||||
else echo bison -y ; \
|
else echo bison -y ; \
|
||||||
fi ; \
|
|
||||||
fi`
|
fi`
|
||||||
|
|
||||||
LEX = `if [ -d $${rootme}/flex ] ; \
|
LEX = `if [ -d $${rootme}/flex ] ; \
|
||||||
@ -69,7 +65,7 @@ MAKEINFO = `if [ -d $${rootme}/texinfo/C ] ; \
|
|||||||
then echo $${rootme}/texinfo/C/makeinfo ; \
|
then echo $${rootme}/texinfo/C/makeinfo ; \
|
||||||
else echo makeinfo ; fi`
|
else echo makeinfo ; fi`
|
||||||
|
|
||||||
SUBDIRS = libiberty mmalloc glob readline bfd gdb binutils ld gas tgas gcc libg++ libgcc clib newlib libm
|
SUBDIRS = libiberty mmalloc glob readline bfd gdb binutils ld gas tgas gcc libg++ newlib libm # clib -- newlib replaces
|
||||||
OTHERS =
|
OTHERS =
|
||||||
|
|
||||||
ALL = all.normal
|
ALL = all.normal
|
||||||
@ -147,20 +143,20 @@ install-dir.info:
|
|||||||
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info
|
||||||
|
|
||||||
all.normal: all-autoconf all-libiberty all-mmalloc all-texinfo \
|
all.normal: all-autoconf all-libiberty all-mmalloc all-texinfo \
|
||||||
all-bison all-byacc all-flex all-bfd all-ld all-gas all-tgas all-gcc \
|
all-byacc all-flex all-bfd all-ld all-gas all-tgas all-gcc \
|
||||||
all-binutils all-libg++ all-readline all-gdb \
|
all-binutils all-libg++ all-readline all-gdb \
|
||||||
all-make all-rcs all-cvs all-diff all-grep \
|
all-make all-rcs all-cvs all-diff all-grep \
|
||||||
all-patch all-emacs all-ispell \
|
all-patch all-emacs all-ispell \
|
||||||
all-newlib all-gprof all-send_pr all-libm
|
all-newlib all-gprof all-send_pr all-libm
|
||||||
|
|
||||||
all.cross: all-libiberty all-mmalloc all-gas all-tgas all-byacc all-ld \
|
all.cross: all-libiberty all-mmalloc all-gas all-byacc all-flex all-ld \
|
||||||
all-bfd all-libgcc all-readline all-gdb all-newlib
|
all-bfd all-readline all-gdb all-binutils all-gcc all-newlib
|
||||||
# $(MAKE) $(FLAGS_TO_PASS) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
|
# $(MAKE) $(FLAGS_TO_PASS) subdir_do DO=all "DODIRS=$(SUBDIRS) $(OTHERS)"
|
||||||
|
|
||||||
clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \
|
clean: clean-autoconf clean-libiberty clean-mmalloc clean-texinfo \
|
||||||
clean-bfd clean-newlib clean-binutils clean-flex \
|
clean-bfd clean-newlib clean-binutils clean-flex \
|
||||||
clean-bison clean-byacc clean-ld clean-gas \
|
clean-byacc clean-ld clean-gas \
|
||||||
clean-gcc clean-libgcc clean-readline clean-glob clean-gdb \
|
clean-gcc clean-readline clean-glob clean-gdb \
|
||||||
clean-make clean-diff clean-grep clean-rcs \
|
clean-make clean-diff clean-grep clean-rcs \
|
||||||
clean-cvs clean-patch clean-emacs clean-ispell \
|
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
|
||||||
@ -181,14 +177,33 @@ install.all: install-no-fixedincludes
|
|||||||
true ; \
|
true ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
install-no-fixedincludes: install-dirs gcc-no-fixedincludes
|
install-no-fixedincludes: install-dirs gcc-no-fixedincludes \
|
||||||
install-autoconf install-texinfo install-mmalloc \
|
install-autoconf \
|
||||||
install-libiberty install-bfd install-binutils install-bison \
|
install-bfd \
|
||||||
install-byacc install-flex install-ld install-gas \
|
install-binutils \
|
||||||
install-gprof install-libgcc install-readline install-glob \
|
install-byacc \
|
||||||
install-gdb install-make install-diff install-cvs \
|
install-cvs \
|
||||||
install-patch install-emacs install-ispell install-libg++ \
|
install-diff \
|
||||||
install-newlib install-send_pr install-libm
|
install-emacs \
|
||||||
|
install-flex \
|
||||||
|
install-gas \
|
||||||
|
install-gdb \
|
||||||
|
install-glob \
|
||||||
|
install-gprof \
|
||||||
|
install-grep \
|
||||||
|
install-ispell \
|
||||||
|
install-ld \
|
||||||
|
install-libg++ \
|
||||||
|
install-libiberty \
|
||||||
|
install-libm \
|
||||||
|
install-make \
|
||||||
|
install-mmalloc \
|
||||||
|
install-newlib \
|
||||||
|
install-patch \
|
||||||
|
install-rcs \
|
||||||
|
install-readline \
|
||||||
|
install-send_pr \
|
||||||
|
install-texinfo
|
||||||
|
|
||||||
gcc-no-fixedincludes:
|
gcc-no-fixedincludes:
|
||||||
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
||||||
@ -201,9 +216,9 @@ gcc-no-fixedincludes:
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
install.cross: install-dirs install-libiberty install-mmalloc \
|
install.cross: install-dirs install-libiberty install-mmalloc \
|
||||||
install-binutils install-bison install-byacc install-flex \
|
install-binutils install-byacc install-flex \
|
||||||
install-ld install-gas install-libgcc install-readline \
|
install-ld install-gas install-readline \
|
||||||
install-glob install-gdb install-mmalloc install-gprof \
|
install-glob install-gdb install-mmalloc \
|
||||||
install-newlib install-gcc
|
install-newlib install-gcc
|
||||||
|
|
||||||
### autoconf
|
### autoconf
|
||||||
@ -453,34 +468,6 @@ install-byacc: force
|
|||||||
true ; \
|
true ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### bison
|
|
||||||
all-bison: all-libiberty
|
|
||||||
@if [ -f ./bison/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./bison; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) all) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean-bison: force
|
|
||||||
@if [ -f ./bison/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./bison; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) clean) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
install-bison: force
|
|
||||||
@if [ -f ./bison/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./bison; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) install) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
### flex
|
### flex
|
||||||
all-flex: all-libiberty
|
all-flex: all-libiberty
|
||||||
@if [ -f ./flex/Makefile ] ; then \
|
@if [ -f ./flex/Makefile ] ; then \
|
||||||
@ -659,56 +646,6 @@ install-ld: force
|
|||||||
true ; \
|
true ; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### libgcc (and libgcc1)
|
|
||||||
all-libgcc1: all-gas all-binutils
|
|
||||||
@if [ -f ./libgcc/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./libgcc; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) libgcc1.a) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean-libgcc1: force
|
|
||||||
@if [ -f ./libgcc/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./libgcc; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) clean-libgcc1) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
install-libgcc1: force
|
|
||||||
echo libgcc1 is a component, not an installable target
|
|
||||||
|
|
||||||
all-libgcc: all-gas all-gcc all-binutils
|
|
||||||
true
|
|
||||||
@if [ -f ./libgcc/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./libgcc; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) all) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
clean-libgcc: force
|
|
||||||
@if [ -f ./libgcc/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./libgcc; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) clean) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
install-libgcc: force
|
|
||||||
@if [ -f ./libgcc/Makefile ] ; then \
|
|
||||||
rootme=`pwd` ; export rootme ; \
|
|
||||||
(cd ./libgcc; \
|
|
||||||
$(MAKE) $(FLAGS_TO_PASS) install) ; \
|
|
||||||
else \
|
|
||||||
true ; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
### gdb
|
### gdb
|
||||||
all-gdb: all-bfd all-libiberty all-mmalloc all-readline all-glob all-byacc
|
all-gdb: all-bfd all-libiberty all-mmalloc all-readline all-glob all-byacc
|
||||||
@if [ -f ./gdb/Makefile ] ; then \
|
@if [ -f ./gdb/Makefile ] ; then \
|
||||||
|
25
configure.in
25
configure.in
@ -61,25 +61,38 @@ amd)
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#
|
# remove various programs from consideration, if this is a cross-compiler
|
||||||
# remove various programs from consideration, based on the target
|
# (host != target) build, AND if the host is one that has a
|
||||||
# this usually means that a port of the program doesn't exist yet.
|
# "native" environment that we support
|
||||||
|
|
||||||
if [ x"${host}" = x"${target}" ] ; then
|
if [ x"${host}" = x"${target}" ] ; then
|
||||||
configdirs=`echo ${configdirs} | sed -e 's/newlib//;s/libgcc//'`
|
configdirs=`echo ${configdirs} | sed -e 's/newlib//'`
|
||||||
else
|
else
|
||||||
true
|
true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# remove various programs from consideration, based on the host or
|
||||||
|
# target this usually means that a port of the program doesn't
|
||||||
|
# exist yet.
|
||||||
|
|
||||||
|
case "${host}" in
|
||||||
|
hppa*-*-*)
|
||||||
|
configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
|
||||||
|
;;
|
||||||
|
*-*-solaris2)
|
||||||
|
configdirs=`echo ${configdirs} | sed -e 's/emacs//'`
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "${target}" in
|
case "${target}" in
|
||||||
mips-*-*)
|
mips-*-*)
|
||||||
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
|
configdirs=`echo ${configdirs} | sed -e 's/ld//;s/binutils//;s/gas//'`
|
||||||
;;
|
;;
|
||||||
rs6000-*-*)
|
rs6000-*-*)
|
||||||
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//'`
|
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/binutils//;s/ld//;s/libgcc//'`
|
||||||
;;
|
;;
|
||||||
hppa*-*-*)
|
hppa*-*-*)
|
||||||
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/emacs//'`
|
configdirs=`echo ${configdirs} | sed -e 's/gas//;s/bfd//;s/gdb//;s/binutils//;s/gdbtest//;s/ld//;s/libg++//'`
|
||||||
;;
|
;;
|
||||||
*-*-solaris2)
|
*-*-solaris2)
|
||||||
configdirs=`echo ${configdirs} | sed -e 's/gas//'`
|
configdirs=`echo ${configdirs} | sed -e 's/gas//'`
|
||||||
|
Reference in New Issue
Block a user