Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Nathanael Nerode <neroden@twcny.rr.com>
To: gcc-patches@gcc.gnu.org
Cc: gdb-patches@sources.redhat.com, binutils@sources.redhat.com
Subject: [toplevel patch] rename autogen variable in Makefile.tpl,Makefile.def
Date: Tue, 27 May 2003 15:25:00 -0000	[thread overview]
Message-ID: <20030527152343.GA803@doctormoo> (raw)

It's been getting confusing to have an autogen variable called 'target'.
This renames it 'make_target' for clarity.

No change in generated Makefile.in, happily.

	* Makefile.tpl: Rename [+target+] to [+make_target+].
	* Makefile.def: Rename 'target' to 'make_target'.
	* Makefile.in: Regenerate.

Index: Makefile.tpl
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.tpl,v
retrieving revision 1.50
diff -u -r1.50 Makefile.tpl
--- Makefile.tpl	22 May 2003 02:36:20 -0000	1.50
+++ Makefile.tpl	27 May 2003 15:20:40 -0000
@@ -608,8 +608,8 @@
 # because it is so large that it can easily overflow the command line
 # length limit on some systems.
 [+ FOR recursive_targets +]
-.PHONY: do-[+target+]
-do-[+target+]:
+.PHONY: do-[+make_target+]
+do-[+make_target+]:
 	@r=`${PWD}`; export r; \
 	s=`cd $(srcdir); ${PWD}`; export s; \
 	$(SET_LIB_PATH) \
@@ -632,7 +632,7 @@
 			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
 	                "RANLIB=$${RANLIB}" \
 			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
-			[+target+]) \
+			[+make_target+]) \
 	    || exit 1; \
 	  else true; fi; \
 	done
@@ -650,7 +650,7 @@
 			"CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
 	                "RANLIB=$${RANLIB}" \
 			"DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
-			[+target+]) \
+			[+make_target+]) \
 	    || exit 1; \
 	  else true; fi; \
 	done
Index: Makefile.def
===================================================================
RCS file: /cvs/gcc/gcc/Makefile.def,v
retrieving revision 1.7
diff -u -r1.7 Makefile.def
--- Makefile.def	6 Feb 2003 20:55:11 -0000	1.7
+++ Makefile.def	27 May 2003 15:20:40 -0000
@@ -85,14 +85,14 @@
 target_modules = { module= qthreads; };
 target_modules = { module= rda; };
 
-// These are (some of) the targets to be done in each subdirectory.
+// These are (some of) the make targets to be done in each subdirectory.
 // Not all; these are the ones which don't have special options.
-recursive_targets = { target= clean; };
-recursive_targets = { target= distclean; };
-recursive_targets = { target= dvi; };
-recursive_targets = { target= info; };
-recursive_targets = { target= install-info; };
-recursive_targets = { target= installcheck; };
-recursive_targets = { target= mostlyclean; };
-recursive_targets = { target= maintainer-clean; };
-recursive_targets = { target= TAGS; };
+recursive_targets = { make_target= clean; };
+recursive_targets = { make_target= distclean; };
+recursive_targets = { make_target= dvi; };
+recursive_targets = { make_target= info; };
+recursive_targets = { make_target= install-info; };
+recursive_targets = { make_target= installcheck; };
+recursive_targets = { make_target= mostlyclean; };
+recursive_targets = { make_target= maintainer-clean; };
+recursive_targets = { make_target= TAGS; };


             reply	other threads:[~2003-05-27 15:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-27 15:25 Nathanael Nerode [this message]
2003-05-27 17:46 ` 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=20030527152343.GA803@doctormoo \
    --to=neroden@twcny.rr.com \
    --cc=binutils@sources.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