From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5789 invoked by alias); 29 Sep 2002 16:56:46 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 5775 invoked from network); 29 Sep 2002 16:56:46 -0000 Received: from unknown (HELO nerodeguest) (24.161.107.98) by sources.redhat.com with SMTP; 29 Sep 2002 16:56:46 -0000 Received: from neroden by nerodeguest with local (Exim 3.35 #1 (Debian)) id 17vhJ2-0007AK-00; Sun, 29 Sep 2002 12:52:32 -0400 Date: Sun, 29 Sep 2002 09:56:00 -0000 To: gcc-patches@gcc.gnu.org, binutils@sources.redhat.com, gdb-patches@sources.redhat.com, dj@redhat.com Subject: top level: make more dependencies explicit Message-ID: <20020929165232.GA27545@doctormoo.dyndns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i From: Nathanael Nerode X-SW-Source: 2002-09/txt/msg00713.txt.bz2 This puts in explicit dependencies in place of dependencies embedded in ordering. Tested on i686-pc-linux-gnu, seems to work. 2002-09-29 Nathanael Nerode * Makefile.def: Remove order dependency comments. * Makefile.tpl: Add explicit install-install dependencies. * Makefile.in: Regenerate. Index: Makefile.def =================================================================== RCS file: /cvs/gcc/gcc/Makefile.def,v retrieving revision 1.2 diff -u -3 -r1.2 Makefile.def --- Makefile.def 25 Sep 2002 16:49:39 -0000 1.2 +++ Makefile.def 29 Sep 2002 16:48:22 -0000 @@ -6,7 +6,6 @@ host_modules= { module= automake; }; host_modules= { module= bash; }; host_modules= { module= bfd; }; -// Put install-opcodes before install-binutils: should be Makefile dependency. host_modules= { module= opcodes; }; host_modules= { module= binutils; }; host_modules= { module= bison; no_check_cross= true; }; @@ -32,7 +31,6 @@ host_modules= { module= hello; }; host_modules= { module= indent; }; host_modules= { module= intl; }; -// Put install-tcl before install-itcl: should be Makefile dependency. host_modules= { module= tcl; }; host_modules= { module= itcl; }; host_modules= { module= ld; }; Index: Makefile.in =================================================================== RCS file: /cvs/gcc/gcc/Makefile.in,v retrieving revision 1.117 diff -u -3 -r1.117 Makefile.in --- Makefile.in 29 Sep 2002 15:53:23 -0000 1.117 +++ Makefile.in 29 Sep 2002 16:48:24 -0000 @@ -656,11 +656,6 @@ # This is a list of the install targets for all of the modules which are # compiled using $(FLAGS_TO_PASS). -# We put install-opcodes before install-binutils because the installed -# binutils might be on PATH, and they might need the shared opcodes -# library. -# We put install-tcl before install-itcl because itcl wants to run a -# program on installation which uses the Tcl libraries. INSTALL_MODULES = \ install-ash \ install-autoconf \ @@ -1747,6 +1742,16 @@ install-target: $(INSTALL_TARGET_MODULES) install-gdb: install-tcl install-tk install-itcl install-tix install-libgui install-sid: install-tcl install-tk + +# We put install-opcodes before install-binutils because the installed +# binutils might be on PATH, and they might need the shared opcodes +# library. +install-binutils: install-opcodes + +# We put install-tcl before install-itcl because itcl wants to run a +# program on installation which uses the Tcl libraries. +install-itcl: install-tcl + # Dependencies of all-target-foo on configure-target-foo. all-target-libstdc++-v3: configure-target-libstdc++-v3 Index: Makefile.tpl =================================================================== RCS file: /cvs/gcc/gcc/Makefile.tpl,v retrieving revision 1.5 diff -u -3 -r1.5 Makefile.tpl --- Makefile.tpl 29 Sep 2002 15:53:23 -0000 1.5 +++ Makefile.tpl 29 Sep 2002 16:48:26 -0000 @@ -550,11 +550,6 @@ # This is a list of the install targets for all of the modules which are # compiled using $(FLAGS_TO_PASS). -# We put install-opcodes before install-binutils because the installed -# binutils might be on PATH, and they might need the shared opcodes -# library. -# We put install-tcl before install-itcl because itcl wants to run a -# program on installation which uses the Tcl libraries. INSTALL_MODULES = [+ FOR host_modules+][+ IF no_install +][+ ELSE no_install +]\ install-[+module+] [+ ENDIF no_install +][+ ENDFOR host_modules +]\ $(EXTRA_TARGET_HOST_INSTALL_MODULES) @@ -1462,6 +1457,16 @@ install-target: $(INSTALL_TARGET_MODULES) install-gdb: install-tcl install-tk install-itcl install-tix install-libgui install-sid: install-tcl install-tk + +# We put install-opcodes before install-binutils because the installed +# binutils might be on PATH, and they might need the shared opcodes +# library. +install-binutils: install-opcodes + +# We put install-tcl before install-itcl because itcl wants to run a +# program on installation which uses the Tcl libraries. +install-itcl: install-tcl + # Dependencies of all-target-foo on configure-target-foo. [+ FOR target_modules +]all-target-[+module+]: configure-target-[+module+]