X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src-release;h=c2f4727b35ebd86794e77c7a3b449c22b3176b09;hb=79ceb7cb739072ff6bc5fd143055e4d5172cf6bd;hp=8b3144284afc7288a6cdec0eda2dc3b6de8d3176;hpb=f5bc1778c3150f6e9364a1af81f3ba2658f9e68c;p=deliverable%2Fbinutils-gdb.git diff --git a/src-release b/src-release index 8b3144284a..c2f4727b35 100644 --- a/src-release +++ b/src-release @@ -44,22 +44,20 @@ PWD = $${PWDCMD-pwd} # Support for building net releases # Files in devo used in any net release. -# ChangeLog omitted because it may refer to files which are not in this -# distribution (perhaps it would be better to include it anyway). DEVO_SUPPORT= README Makefile.in configure configure.ac \ config.guess config.sub config move-if-change \ COPYING COPYING.LIB install-sh config-ml.in symlink-tree \ mkinstalldirs ltmain.sh missing ylwrap \ libtool.m4 ltsugar.m4 ltversion.m4 ltoptions.m4 \ Makefile.def Makefile.tpl src-release config.rpath \ + ChangeLog MAINTAINERS README-maintainer-mode \ + lt~obsolete.m4 ltgcc.m4 depcomp mkdep compile \ COPYING3 COPYING3.LIB # Files in devo/etc used in any net release. -# ChangeLog omitted because it may refer to files which are not in this -# distribution (perhaps it would be better to include it anyway). ETC_SUPPORT= Makefile.in configure configure.in standards.texi \ make-stds.texi standards.info* configure.texi configure.info* \ - configbuild.* configdev.* fdl.texi texi2pod.pl + ChangeLog configbuild.* configdev.* fdl.texi texi2pod.pl gnu-oids.texi # When you use `make setup-dirs' or `make taz' you should always redefine @@ -69,9 +67,15 @@ SUPPORT_FILES = list-of-support-files-for-tool-in-question # NOTE: No double quotes in the below. It is used within shell script # as VER="$(VER)" VER = ` if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null 2>&1; then \ - sed < bfd/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ + bfd/configure --version | sed -n -e '1s,.* ,,p'; \ elif grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \ sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'; \ + elif test -f $(TOOL)/common/create-version.sh; then \ + $(TOOL)/common/create-version.sh $(TOOL) \ + 'dummy-host' 'dummy-target' \ + VER.tmp; \ + cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/' | sed 's/-cvs$$//'; \ + rm -f VER.tmp; \ elif test -f $(TOOL)/version.in; then \ head -1 $(TOOL)/version.in; \ elif grep VERSION $(TOOL)/Makefile.in > /dev/null 2>&1; then \ @@ -251,7 +255,7 @@ gas.tar.bz2: $(DIST_SUPPORT) $(GAS_SUPPORT_DIRS) gas # The FSF "binutils" release includes gprof and ld. .PHONY: binutils.tar.bz2 -BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld gprof intl setup.com makefile.vms mkdep cpu +BINUTILS_SUPPORT_DIRS= bfd gas include libiberty opcodes ld elfcpp gold gprof intl setup.com makefile.vms cpu binutils.tar.bz2: $(DIST_SUPPORT) $(BINUTILS_SUPPORT_DIRS) binutils $(MAKE) -f $(SELF) taz TOOL=binutils \ MD5PROG="$(MD5PROG)" \ @@ -271,7 +275,7 @@ gnats.tar.bz2: $(DIST_SUPPORT) $(GNATS_SUPPORT_DIRS) gnats SUPPORT_FILES="$(GNATS_SUPPORT_DIRS)" .PHONY: gdb.tar.bz2 -GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber +GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim intl libdecnumber cpu gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f $(SELF) gdb-taz TOOL=gdb \ MD5PROG="$(MD5PROG)" \