Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nathanael Nerode <neroden@doctormoo.dyndns.org>
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
Date: Sun, 29 Sep 2002 09:56:00 -0000	[thread overview]
Message-ID: <20020929165232.GA27545@doctormoo.dyndns.org> (raw)

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  <neroden@gcc.gnu.org>

	* 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+]


             reply	other threads:[~2002-09-29 16:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-29  9:56 Nathanael Nerode [this message]
2002-09-29 10:09 ` Andrew Cagney
2002-09-29 10:30   ` Nathanael Nerode
2002-09-29 10:45     ` Andrew Cagney
2002-09-29 12:51       ` Daniel Jacobowitz
2002-09-29 12:58         ` H. J. Lu
     [not found]       ` <20020929174544.GA30373@doctormoo.dyndns.org>
     [not found]         ` <3D974828.4050009@redhat.com>
     [not found]           ` <20020929190100.GA31652@doctormoo.dyndns.org>
     [not found]             ` <3D9764F8.7000100@redhat.com>
2002-09-29 14:50               ` Top level: Separate src release scripts from Makefile Nathanael Nerode
2002-09-29 15:13                 ` DJ Delorie
2002-09-29 15:23                   ` Nathanael Nerode
2002-09-30 11:47                 ` Alexandre Oliva
2002-09-30  9:49 ` top level: make more dependencies explicit DJ Delorie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020929165232.GA27545@doctormoo.dyndns.org \
    --to=neroden@doctormoo.dyndns.org \
    --cc=binutils@sources.redhat.com \
    --cc=dj@redhat.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=gdb-patches@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox