$(OBJECTS), built_sources, and automake bugs



It has come to our attention that there is a 'bug' introduced between
automake 1.4p5 and automake 1.5 that causes the use of $(OBJECTS)
dependencies on built_sources to break

with automake 1.4p5, you get lines like these in a Makefile:
SOURCES = $(libgnomeui_2_la_SOURCES) $(gnome_segv2_SOURCES)
OBJECTS = $(libgnomeui_2_la_OBJECTS) $(gnome_segv2_OBJECTS)

with automake 1.5, you only get the SOURCES line

this wreaks havoc if you set 
$(OBJECTS): $(built_sources)


The simplest fix with the most work on the gnome maintainers is to use
$(libgnomeui_2_la_OBJECTS): $(built_sources) or something similar for
your module

The hardest fix is to patch automake properly

If anyone has any better ideas, please present them, but at the current
time, automake 1.5 breaks building gnome2.

-- 
Frank







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]