public inbox for gas2@sourceware.org
 help / color / mirror / Atom feed
* A patch for binutils
@ 1998-03-02 16:09 H.J. Lu
  0 siblings, 0 replies; only message in thread
From: H.J. Lu @ 1998-03-02 16:09 UTC (permalink / raw)
  To: gas2

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1998-03-02 16:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-02 16:09 A patch for binutils H.J. Lu

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).