Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: Top level: Separate src release scripts from Makefile
@ 2002-09-29 14:59 Nathanael Nerode
  0 siblings, 0 replies; 5+ messages in thread
From: Nathanael Nerode @ 2002-09-29 14:59 UTC (permalink / raw)
  To: gcc-patches, gdb-patches, binutils, dj

Uncovered some gotchas (Make macros defined in one file & used in the
other).  The patch as sumbitted is no good; I'm working on fixing them.

--Nathanael


^ permalink raw reply	[flat|nested] 5+ messages in thread
* top level: make more dependencies explicit
@ 2002-09-29  9:56 Nathanael Nerode
  2002-09-29 10:09 ` Andrew Cagney
  0 siblings, 1 reply; 5+ messages in thread
From: Nathanael Nerode @ 2002-09-29  9:56 UTC (permalink / raw)
  To: gcc-patches, binutils, gdb-patches, dj

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-09-30 18:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-29 14:59 Top level: Separate src release scripts from Makefile Nathanael Nerode
  -- strict thread matches above, loose matches on Subject: below --
2002-09-29  9:56 top level: make more dependencies explicit Nathanael Nerode
2002-09-29 10:09 ` Andrew Cagney
2002-09-29 10:30   ` Nathanael Nerode
2002-09-29 10:45     ` Andrew Cagney
     [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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox