where does libgcj_la_OBJECTS get defined in Makefile.am?
Tom Tromey
tromey@redhat.com
Mon Dec 10 19:11:00 GMT 2001
>>>>> "Adam" == Adam Megacz <gcj@lists.megacz.com> writes:
>> libgcj_la_OBJECTS is defined in Makefile.in.
>> It is created by automake.
Adam> I see... forgive me, my automake-fu is weak. How does automake
Adam> know how to generate libgcj_la_OBJECTS? Is XXX_OBJECTS a magic
Adam> identifier that generates itself from XXX_DEPENDANCIES? or
Adam> XXX_SOURCES?
It starts from the list of libraries (in this case, ltlibriares).
This list includes `libgcj.la'. So then automake knows that
`libgcj_la_SOURCES' lists the sources for that library. Automake has
a lot of code to convert _SOURCES into _OBJECTS (there are
surprisingly many cases).
Hope this helps. What is the problem you are trying to solve? Maybe
I can just answer that directly.
Tom
More information about the Java
mailing list