public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Makefile.in, Makefile.am problem
@ 2002-01-18  8:47 Ivan Guzvinec
  0 siblings, 0 replies; 6+ messages in thread
From: Ivan Guzvinec @ 2002-01-18  8:47 UTC (permalink / raw)
  To: binutils

Hi,

I'm trying to merge our OR32 binutils with main distribution but I have
a problem with MKDEP generated sections of Makefile.am/.in.

(part of Makefile.in/.am that starts with)
AMKDEP = #DO NOT PUT ANYTHING BETWEEN THIS LINE AND THE MATCHING WARNING
BELOW.
DEPTC_a29k_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
  $(srcdir)/config/tc-a29k.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
  $(INCDIR)/safe-ctype.h $(INCDIR)/opcode/a29k.h
...
...
BMKDEP = #DO NOT PUT ANYTHING BETWEEN THIS LINE AND THE MATCHING WARNING
ABOVE.
(and ends here)

Entries for the files that I have added are not generated. If I add them
manualy they (as expected) are deleted when I try to build the sources.

I am new to these tools (Automake, etc...) so I would ask if someone can
please tell me how and when these sections of Makefile.am/.in are
generated?

regards, 
	Ivan

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Makefile.in, Makefile.am problem
@ 2002-01-19 11:18 Ivan Guzvinec
  2002-01-21  2:49 ` Alan Modra
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Guzvinec @ 2002-01-19 11:18 UTC (permalink / raw)
  To: binutils

 Hi,

 I'm trying to merge our OR32 binutils with main distribution but I have
 a problem with MKDEP generated sections of Makefile.am/.in.

 (part of Makefile.in/.am that starts with)
 AMKDEP = #DO NOT PUT ANYTHING BETWEEN THIS LINE AND THE MATCHING WARNING
BELOW.
 DEPTC_a29k_aout = $(INCDIR)/symcat.h $(srcdir)/config/obj-aout.h \
   $(srcdir)/config/tc-a29k.h $(BFDDIR)/libaout.h $(INCDIR)/bfdlink.h \
   $(INCDIR)/safe-ctype.h $(INCDIR)/opcode/a29k.h
 ...
 ...
 BMKDEP = #DO NOT PUT ANYTHING BETWEEN THIS LINE AND THE MATCHING WARNING
ABOVE.
 (and ends here)

 Entries for the files that I have added are not generated. If I add them
 manualy they (as expected) are deleted when I try to build the sources.

 I am new to these tools (Automake, etc...) so I would ask if someone can
 please tell me how and when these sections of Makefile.am/.in are
 generated?

 regards,
 Ivan


^ permalink raw reply	[flat|nested] 6+ messages in thread
* Re: Makefile.in, Makefile.am problem
@ 2002-01-23  9:10 Ivan Guzvinec
  2002-01-23 16:46 ` Alan Modra
  0 siblings, 1 reply; 6+ messages in thread
From: Ivan Guzvinec @ 2002-01-23  9:10 UTC (permalink / raw)
  To: binutils

Alan Modra wrote:
> >  Entries for the files that I have added are not generated. If I add
them
> >  manualy they (as expected) are deleted when I try to build the sources.
> >
> >  I am new to these tools (Automake, etc...) so I would ask if someone
can
> >  please tell me how and when these sections of Makefile.am/.in are
> >  generated?
>
> configure using --enable-64-bit-bfd --enable-targets=all, go to each of
> bfd/, opcodes/, binutils/, gas/, gprof/ and ld/ in your build directory,
> and run
>
> make dep-am
>
> After that, run automake in each of the corresponding source dirs.

I tried this procedure, but it does not solve my problem.

Can someone please explain ALL the steps needed to add new target to
binutils (or point me to a document that explains it). I would like to add
OR32 (OpenRisc1200) architecture support (aout, coff and elf32).

Maybe I'm doing something wrong in the above procedure. I want to point out
again that I'm new to these tools (make, automake, etc...) and more detailed
explanation is needed. I would like to hear from someone that has added an
architecture/target recently. It would save me a lot of time if I don't need
to chew through make,automake,... documentation first.

regards,
Ivan



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-01-23 22:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-18  8:47 Makefile.in, Makefile.am problem Ivan Guzvinec
2002-01-19 11:18 Ivan Guzvinec
2002-01-21  2:49 ` Alan Modra
2002-01-22 11:06   ` Ivan Guzvinec
2002-01-23  9:10 Ivan Guzvinec
2002-01-23 16:46 ` Alan Modra

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