Re: $(OBJECTS), built_sources, and automake bugs



>>>>> "Frank" == Frank Belew <frb ximian com> writes:

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

Yes, `OBJECTS' was removed.

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

Just define BUILT_SOURCES instead.
In the past people avoided BUILT_SOURCES because it introduced a
`Makefile: $(BUILT_SOURCES)' dependency, which has weird effects.
That's no longer the case; BUILT_SOURCES should be safe now.

Frank> The hardest fix is to patch automake properly

Barring more information, I don't think this part needs patching.

Tom
_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



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