public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
From: hjl@lucon.org (H.J. Lu)
To: gas2@cygnus.com
Subject: A patch for binutils
Date: Mon, 02 Mar 1998 16:09:00 -0000	[thread overview]
Message-ID: <m0y9fGn-00058fC@ocean.lucon.org> (raw)

Hi,

"make ***tar.gz" failed to update a few generated files. I added
a few new targets to handle it.

Thanks.


-- 
H.J. Lu (hjl@gnu.org)
---
Mon Mar  2 07:23:32 1998  H.J. Lu  (hjl@gnu.org)

	* Makefile.am (diststuff, distclean-diststuff): New targets.
	(distclean): Also depend on distclean-diststuff.

	* Makefile.in: Rebuilt.

Index: ld/Makefile.am
===================================================================
RCS file: /home/work/cvs/gnu/binutils/ld/Makefile.am,v
retrieving revision 1.1.1.7
retrieving revision 1.12
diff -u -r1.1.1.7 -r1.12
--- ld/Makefile.am	1998/03/02 17:30:30	1.1.1.7
+++ ld/Makefile.am	1998/03/02 22:50:10	1.12
@@ -669,6 +678,13 @@
 	for f in ldscripts/*; do \
 	  $(INSTALL_DATA) $$f $(scriptdir)/$$f ; \
 	done
+
+diststuff: $(GENERATED_CFILES) $(GENERATED_HFILES)
+
+distclean-diststuff:
+	rm -f ldemul-list.h
+
+distclean: distclean-diststuff
 
 # Targets to rebuild dependencies in this Makefile.
 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).

Mon Mar  2 07:23:32 1998  H.J. Lu  (hjl@gnu.org)

	* Makefile.am (GENERATED_CFILES, GENERATED_HFILES): New.
	(diststuff): New target.

	* Makefile.in: Rebuilt.

Index: gas/Makefile.am
===================================================================
RCS file: /home/work/cvs/gnu/binutils/gas/Makefile.am,v
retrieving revision 1.1.1.7
retrieving revision 1.3
diff -u -r1.1.1.7 -r1.3
--- gas/Makefile.am	1998/03/02 17:27:50	1.1.1.7
+++ gas/Makefile.am	1998/03/02 22:50:06	1.3
@@ -340,6 +340,9 @@
 
 OBJS = $(CONFIG_OBJS) $(GENERIC_OBJS)
 
+GENERATED_CFILES=itbl-lex.c itbl-parse.c
+GENERATED_HFILES=itbl-parse.h
+
 noinst_PROGRAMS = as-new gasp-new
 noinst_SCRIPTS = .gdbinit
 
@@ -614,6 +617,8 @@
 de-stage3:
 	- (cd stage3 ; rm -f as$(EXEEXT) ; mv -f * ..)
 	- rmdir stage3
+
+diststuff: $(GENERATED_CFILES) $(GENERATED_HFILES)
 
 # Automatic dependency computation.  This is a real pain, because the
 # dependencies change based on target_cpu_type and obj_format.  We

Mon Mar  2 07:23:32 1998  H.J. Lu  (hjl@gnu.org)

	* Makefile.am (diststuff, distclean-diststuff): New targets.
	(distclean): Also depend on distclean-diststuff.

	* Makefile.in: Rebuilt.

Index: binutils/Makefile.am
===================================================================
RCS file: /home/work/cvs/gnu/binutils/binutils/Makefile.am,v
retrieving revision 1.1.1.5
retrieving revision 1.5
diff -u -r1.1.1.5 -r1.5
--- binutils/Makefile.am	1998/03/02 17:30:10	1.1.1.5
+++ binutils/Makefile.am	1998/03/02 22:50:04	1.5
@@ -239,6 +239,14 @@
 	$(BULIBS)
 windres_LDADD = $(BFDLIB) $(LIBIBERTY) @LEXLIB@
 
+diststuff: $(GENERATED_CFILES) $(GENERATED_HFILES)
+
+distclean-diststuff:
+	rm -f underscore.c stamp-under sysinfo nlmheader.h sysroff.c \
+		sysroff.h
+
+distclean: distclean-diststuff
+
 # Targets to rebuild dependencies in this Makefile.
 # Have to get rid of .dep1 here so that "$?" later includes all of $(CFILES).
 .dep: dep.sed $(CFILES) $(HFILES) $(GENERATED_CFILES) $(GENERATED_HFILES) config.h

                 reply	other threads:[~1998-03-02 16:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=m0y9fGn-00058fC@ocean.lucon.org \
    --to=hjl@lucon.org \
    --cc=gas2@cygnus.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).