This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building binutils with newly created target


On Tue, Jun 06, 2017 at 08:43:25PM -0500, David Leach wrote:
> So what does one need to do to get these files to update with
> information from the Makefile.am? I'm not an automake expert at all.

If you configure with --enable-maintainer-mode, and have the correct
versions of tools installed, you should find the generated files like
Makefile.in are updated.

Alternatively, look in the existing Makefile.in for the
aclocal/autoconf/automake invocation.  For example, bfd/Makefile.in
has

$(srcdir)/Makefile.in: ...
...
	$(am__cd) $(top_srcdir) && \
	  $(AUTOMAKE) --foreign Makefile

So for me to update Makefile.in by hand, I'd need to
cd /home/alan/src/binutils-gdb/bfd && automake-1.11 --foreign Makefile

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]