Re: [SOLUTION] autogenerated file problems
- From: Owen Taylor <otaylor redhat com>
- To: Frank Belew <frb ximian com>
- Cc: gtk-devel-list gnome org
- Subject: Re: [SOLUTION] autogenerated file problems
- Date: 21 Sep 2001 18:14:07 -0400
Frank Belew <frb ximian com> writes:
> Ok, I did some digging into the Makefile generated and discovered the
> problem.
>
> Right now you use
> $(OBJECTS): some deps
> This never gets interpreted by automake 1.5 as dependencies of |.c.o| or
> any of the other object rules.
>
> To fix this, I changed
> $(OBJECTS): $(gdk_pixbuf_built_headers) $(gdk_pixbuf_built_cfiles) \
> gdk-pixbuf-marshal.c
> to
> $(libgdk_pixbuf_1_3_la_OBJECTS): $(gdk_pixbuf_built_headers) \
> $(gdk_pixbuf_built_cfiles) \
> gdk-pixbuf-marshal.c
>
> Gtk now compiles fine (apart from an awk error on solaris which I fixed
> as well)
>
> This patch has a gratuitous dep on gdk-pixbuf-marshal.h for
> gtk-pixbuf-marshal.c, since automake 1.5 doesn't seem to handle
> autogenerated files depending on other autogenerated files.
Why would the .c file depend on the .h file?
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]