Commit efe72a8d authored by Ell's avatar Ell

*/Makefile.am: add *marshal.h files to BUILT_SOURCES

In subdirs containing a generated foomarshal.h header, add the
generated sources to BUILT_SOURCES, so that they're generated
before the rest of the source files are built.  Otherwise, since
there is no rule specifying the dependency between the rest of the
source files and foomarshal.h, and since foomarshal.h is not
checked into git (and hence doesn't exist when doing a clean
build), compilation of the said source files may fail if they're
built before foomarshal.h is generated.

(cherry picked from commit a5102a7d)
parent 3a9025fd
......@@ -474,6 +474,9 @@ libappcore_a_extra_sources = \
libappcore_a_SOURCES = $(libappcore_a_built_sources) $(libappcore_a_sources)
BUILT_SOURCES = \
$(libappcore_a_built_sources)
EXTRA_DIST = \
$(libappcore_a_extra_sources)
......
......@@ -439,6 +439,10 @@ libgimpui_@GIMP_API_VERSION@_la_LIBADD = \
$(GEXIV2_LIBS) \
$(RT_LIBS)
BUILT_SOURCES = \
$(libgimp_built_sources) \
$(libgimpui_built_sources)
EXTRA_DIST = \
COPYING \
gimp.def \
......
......@@ -296,6 +296,8 @@ libgimpwidgets_@GIMP_API_VERSION@_la_LIBADD = \
$(libm) \
$(libgdi32)
BUILT_SOURCES = \
$(libgimpwidgets_built_sources)
EXTRA_DIST = \
gimpwidgets.def \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment