public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
To: binutils@sourceware.org
Subject: Re: dependency tracking in gas
Date: Sun, 16 Aug 2009 08:40:00 -0000	[thread overview]
Message-ID: <20090816084017.GC23341@gmx.de> (raw)
In-Reply-To: <20090815124530.GE20656@gmx.de>

* Ralf Wildenhues wrote on Sat, Aug 15, 2009 at 02:45:35PM CEST:
> gas/ChangeLog:
> 2009-08-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
> 
> 	* Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11,
> 	foreign and no-dist.
> 	(all): Remove now-unneeded dependency upon info.
> 	(DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES)
> 	(DEP_FILE_DEPS): Remove variables.
> 	($(OBJS), ecoff.o): Remove now-unneeded manual dependencies.
> 	($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o)
> 	(obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o)
> 	(e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o)
> 	(e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove
> 	now-unneeded rules.
> 	(EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES),
> 	$(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES),
> 	$(CONFIG_ATOF_CFILES), so their dependency fragments are picked up
> 	in the Makefile.
> 	(itbl-lex.c, itbl-ops.o): Remove manual dependencies.
> 	(m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o)
> 	(itbl-test.o): Rewrite using automake-style dependency
> 	tracking rules; only list the dependency upon the primary source
> 	file, but no included headers.
> 	(DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am):
> 	Remove.
> 	(mkdep section): Remove.
> 	* Makefile.in: Regenerate.

I accidentally posted an old version of the above patch that was missing
a few entries; please consider the following additional changes to be
squashed in with the above.  (I did test the combined version of these
patches.)  The changes are needed so that dependency files below .deps
are created for all of the source files.

(The other posts in this thread contain up to date patches.)

Thanks,
Ralf
	* Makefile.am: [...]
	(OBJ_FORMAT_CFILES): Add config/obj-multi.c.
	(OBJ_FORMAT_HFILES): Add config/obj-multi.h.
	(EXTRA_as_new_SOURCES): Add $(MULTI_CFILES).

diff --git a/gas/Makefile.am b/gas/Makefile.am
index b8bbbf8..177e7f3 100644
--- a/gas/Makefile.am
+++ b/gas/Makefile.am
@@ -372,6 +372,7 @@ OBJ_FORMAT_CFILES = \
 	config/obj-evax.c \
 	config/obj-fdpicelf.c \
 	config/obj-macho.c \
+	config/obj-multi.c \
 	config/obj-som.c
 
 OBJ_FORMAT_HFILES = \
@@ -382,6 +383,7 @@ OBJ_FORMAT_HFILES = \
 	config/obj-evax.h \
 	config/obj-fdpicelf.h \
 	config/obj-macho.h \
+	config/obj-multi.h \
 	config/obj-som.h
 
 # Emulation header files in config
@@ -527,7 +529,7 @@ as_new_DEPENDENCIES = $(TARG_CPU_O) $(OBJ_FORMAT_O) $(ATOF_TARG_O) \
 	$(extra_objects) $(GASLIBS) $(LIBINTL_DEP)
 EXTRA_as_new_SOURCES = $(CFILES) $(HFILES) $(TARGET_CPU_CFILES) \
 	$(TARGET_CPU_HFILES) $(OBJ_FORMAT_CFILES) $(OBJ_FORMAT_HFILES) \
-	$(CONFIG_ATOF_CFILES)
+	$(CONFIG_ATOF_CFILES) $(MULTI_CFILES)
 
 EXPECT = expect
 RUNTEST = runtest

  reply	other threads:[~2009-08-16  8:40 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15 12:42 dependency tracking in ld bfd binutils gas gprof opcodes Ralf Wildenhues
2009-08-15 12:43 ` dependency tracking in ld Ralf Wildenhues
2009-08-17 17:59   ` Ian Lance Taylor
2009-08-18 19:02     ` Ralf Wildenhues
2009-08-19  2:38       ` Alan Modra
2009-08-19  6:44         ` One issue with ld He Yunlong-B20256
2009-08-28  8:18           ` Alan Modra
2009-08-28  8:23             ` Alan Modra
2009-08-28  9:58               ` He Yunlong-B20256
2009-08-28 10:57                 ` Alan Modra
2009-08-15 12:45 ` dependency tracking in binutils Ralf Wildenhues
2009-08-18  7:50   ` Nick Clifton
2009-08-15 12:45 ` dependency tracking in bfd Ralf Wildenhues
2009-08-18  7:48   ` Nick Clifton
2009-08-15 12:46 ` dependency tracking in gprof Ralf Wildenhues
2009-08-18  7:51   ` Nick Clifton
2009-08-15 12:46 ` dependency tracking in opcodes Ralf Wildenhues
2009-08-18 14:18   ` Nick Clifton
2009-08-15 12:46 ` dependency tracking in gas Ralf Wildenhues
2009-08-16  8:40   ` Ralf Wildenhues [this message]
2009-08-18 10:54   ` Nick Clifton

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=20090816084017.GC23341@gmx.de \
    --to=ralf.wildenhues@gmx.de \
    --cc=binutils@sourceware.org \
    /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).