X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src-release;h=9837ba3dcd0e7647d183d8dd8a4f5cfab2d6e0b0;hb=30adeb3a4bab56758a92a59408313c2211212f4c;hp=9830da4598de8ca52da4d5f935836e1640448f7b;hpb=7aa673ed4fbe7df29459a116d451fc53bd1b590d;p=deliverable%2Fbinutils-gdb.git diff --git a/src-release b/src-release index 9830da4598..9837ba3dcd 100644 --- a/src-release +++ b/src-release @@ -1,5 +1,5 @@ # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, -# 1999, 2000, 2001, 2002 Free Software Foundation +# 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -44,18 +44,18 @@ PWD = $${PWDCMD-pwd} # 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.in \ - config.guess config.if config.sub config move-if-change \ - mpw-README mpw-build.in mpw-config.in mpw-configure mpw-install \ + config.guess config.sub config move-if-change \ COPYING COPYING.LIB install-sh config-ml.in symlink-tree \ mkinstalldirs ltconfig ltmain.sh missing ylwrap \ - libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh + libtool.m4 gettext.m4 ltcf-c.sh ltcf-cxx.sh ltcf-gcj.sh \ + Makefile.def Makefile.tpl src-release # 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.* + configbuild.* configdev.* fdl.texi texi2pod.pl # When you use `make setup-dirs' or `make taz' you should always redefine @@ -135,8 +135,8 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex tmp mv -f tmp Makefile.in # - ./configure sun4 - $(MAKE) configure-target \ + ./configure i686-pc-linux-gnu + $(MAKE) configure-host configure-target \ ALL_GCC="" ALL_GCC_C="" ALL_GCC_CXX="" \ CC_FOR_TARGET="$(CC)" CXX_FOR_TARGET="$(CXX)" # Make links, and run "make diststuff" or "make info" when needed. @@ -159,6 +159,26 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex done cd etc && $(MAKE) info $(MAKE) distclean + # Kludge for pr gdb/708. 'configure' configures in + # dejagnu/example/calc, but 'make distclean' does not clean in + # dejagnu/example. Someday somebody might fix this in dejagnu, + # and then import a new dejagnu into sourceware. Right now, a + # couple of 'rm' commands will get the gdb snapshots working + # again. -- chastain 2003-08-15 + rm -f dejagnu/example/calc/config.status + rm -f dejagnu/example/calc/config.log + # Kludge for pr gdb/857. intl/Makefile.in lacks a couple + # of files in the distclean rule. Zack W is planning to make + # the gcc version of intl/ the master version and then push + # that version to src soon. See: + # http://sources.redhat.com/ml/binutils/2003-07/msg00032.html + # After the src version of intl/ is upgraded, we can look at + # moving this logic into intl/Makefile.in distclean rule + # if it is still needed. -- chastain 2003-09-12 + rm -f intl/config.cache + rm -f intl/config.status + rm -f intl/config.h + rm -f intl/stamp-h # mkdir proto-toplev/etc (cd proto-toplev/etc; \ @@ -187,11 +207,14 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex -rm -f $(PACKAGE)-$(VER) ln -s proto-toplev $(PACKAGE)-$(VER) +CVS_NAMES= \( -name CVS -o -name '.cvsignore' \) + .PHONY: do-tar do-tar: echo "==> Making $(PACKAGE)-$(VER).tar" -rm -f $(PACKAGE)-$(VER).tar - find $(PACKAGE)-$(VER) -follow -name CVS -prune -o -type f -print \ + find $(PACKAGE)-$(VER) -follow $(CVS_NAMES) -prune \ + -o -type f -print \ | tar cTfh - $(PACKAGE)-$(VER).tar .PHONY: do-bz2 @@ -203,19 +226,20 @@ do-bz2: .PHONY: do-md5sum do-md5sum: echo "==> Adding md5 checksum to top-level directory" - cd proto-toplev && find * -follow -name CVS -prune -o -type f -print \ - | xargs $(MD5PROG) > ../md5.sum - mv md5.sum proto-toplev + cd proto-toplev && find * -follow $(CVS_NAMES) -prune \ + -o -type f -print \ + | xargs $(MD5PROG) > ../md5.new + -rm -f proto-toplev/md5.sum + mv md5.new proto-toplev/md5.sum .PHONY: do-djunpack do-djunpack: echo "==> Adding updated djunpack.bat to top-level directory" - echo - 's /gdb-[0-9\.]*/gdb-'"$(VER)"'/' + echo - 's /gdb-[0-9\.]*/$(PACKAGE)-'"$(VER)"'/' sed < djunpack.bat > djunpack.new \ - -e 's/gdb-[0-9][0-9\.]*/gdb-'"$(VER)"'/' - mv djunpack.new djunpack.bat + -e 's/gdb-[0-9][0-9\.]*/$(PACKAGE)-'"$(VER)"'/' -rm -f proto-toplev/djunpack.bat - ln -s ../djunpack.bat proto-toplev/djunpack.bat + mv djunpack.new proto-toplev/djunpack.bat TEXINFO_SUPPORT= texinfo/texinfo.tex DIST_SUPPORT= $(DEVO_SUPPORT) $(TEXINFO_SUPPORT) @@ -249,7 +273,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 mmalloc opcodes readline sim utils intl +GDB_SUPPORT_DIRS= bfd include libiberty opcodes readline sim gdb.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f $(SELF) gdb-taz TOOL=gdb \ MD5PROG="$(MD5PROG)" \ @@ -263,7 +287,12 @@ gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb DEJAGNU_SUPPORT_DIRS= tcl expect libiberty .PHONY: dejagnu.tar.bz2 dejagnu.tar.bz2: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu - $(MAKE) -f $(SELF) taz TOOL=dejagnu \ + $(MAKE) -f $(SELF) gdb-taz TOOL=dejagnu \ + MD5PROG="$(MD5PROG)" \ + SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)" +.PHONY: dejagnu.tar +dejagnu.tar: $(DIST_SUPPORT) $(DEJAGNU_SUPPORT_DIRS) dejagnu + $(MAKE) -f $(SELF) gdb-tar TOOL=dejagnu \ MD5PROG="$(MD5PROG)" \ SUPPORT_FILES="$(DEJAGNU_SUPPORT_DIRS)" @@ -280,7 +309,7 @@ gdb+dejagnu.tar: $(DIST_SUPPORT) $(GDBD_SUPPORT_DIRS) gdb SUPPORT_FILES="$(GDBD_SUPPORT_DIRS)" .PHONY: insight.tar.bz2 -INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl tix libgui +INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl libgui insight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb $(MAKE) -f $(SELF) gdb-taz TOOL=gdb PACKAGE=insight \ MD5PROG="$(MD5PROG)" \ @@ -303,24 +332,5 @@ insight+dejagnu.tar: $(DIST_SUPPORT) $(INSIGHTD_SUPPORT_DIRS) gdb MD5PROG="$(MD5PROG)" \ SUPPORT_FILES="$(INSIGHTD_SUPPORT_DIRS)" -.PHONY: newlib.tar.bz2 -NEWLIB_SUPPORT_DIRS=libgloss -# taz configures for the sun4 target which won't configure newlib. -# We need newlib configured so that the .info files are made. -# Unfortunately, it is not enough to just configure newlib separately: -# taz will build the .info files but since SUBDIRS won't contain newlib, -# distclean won't be run (leaving Makefile, config.status, and the tmp files -# used in building the .info files, eg: *.def, *.ref). -# The problem isn't solvable however without a lot of extra work because -# target libraries are built in subdir $(target_alias) which gets nuked during -# the make distclean. For now punt on the issue of shipping newlib info files -# with newlib net releases and wait for a day when some native target (sun4?) -# supports newlib (if only minimally). -newlib.tar.bz2: $(DIST_SUPPORT) $(NEWLIB_SUPPORT_DIRS) newlib - $(MAKE) -f $(SELF) taz TOOL=newlib \ - MD5PROG="$(MD5PROG)" \ - SUPPORT_FILES="$(NEWLIB_SUPPORT_DIRS)" \ - DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib - .NOEXPORT: MAKEOVERRIDES=