This fixes a problem building large (> 2Gb) binaries on 32-bit hosts. Using a
[deliverable/binutils-gdb.git] / src-release
index cf6d266a22d1d60891a8c4d2bac97b68ab1ec027..b28597c09d64f883388bb67dbbcdfc6d771cf41d 100644 (file)
@@ -74,7 +74,7 @@ VER = `       if grep 'AM_INIT_AUTOMAKE.*BFD_VERSION' $(TOOL)/configure.in >/dev/null
          $(TOOL)/common/create-version.sh $(TOOL) \
            'dummy-host' 'dummy-target' \
            VER.tmp; \
-         cat VER.tmp | grep 'version\[\]' | sed 's/.*"\([^"]*\)".*/\1/'; \
+         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; \
@@ -165,7 +165,15 @@ do-proto-toplev: $(DEVO_SUPPORT) $(SUPPORT_FILES) texinfo/texinfo.tex
            else \
              ln -s ../$$d proto-toplev/$$d ; \
            fi ; \
-         else ln -s ../$$d proto-toplev/$$d ; fi ; \
+         else \
+           if (echo x$$d | grep / >/dev/null); then \
+             mkdir -p proto-toplev/`dirname $$d` ; \
+             x=`dirname $$d` ; \
+             ln -s ../`echo $$x/ | sed -e 's,[^/]*/,../,g'`$$d proto-toplev/$$d ; \
+           else \
+             ln -s ../$$d proto-toplev/$$d ; \
+           fi ; \
+         fi ; \
        done
        cd etc && $(MAKE) MAKEINFOFLAGS="$(MAKEINFOFLAGS)" info
        $(MAKE) distclean
@@ -286,6 +294,14 @@ gdb.tar: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
                MD5PROG="$(MD5PROG)" \
                SUPPORT_FILES="$(GDB_SUPPORT_DIRS)"
 
+# Corresponding to the CVS "sim" module.
+.PHONY: sim.tar.bz2
+SIM_SUPPORT_DIRS= bfd opcodes libiberty include intl gdb/version.in makefile.vms
+sim.tar.bz2: $(DIST_SUPPORT) $(SIM_SUPPORT_DIRS) sim
+       $(MAKE) -f $(SELF) taz TOOL=sim \
+               MD5PROG="$(MD5PROG)" \
+               SUPPORT_FILES="$(SIM_SUPPORT_DIRS)"
+
 .PHONY: insight.tar.bz2
 INSIGHT_SUPPORT_DIRS= $(GDB_SUPPORT_DIRS) tcl tk itcl libgui
 insight.tar.bz2: $(DIST_SUPPORT) $(GDB_SUPPORT_DIRS) gdb
This page took 0.033489 seconds and 4 git commands to generate.