diff libinterp/corefcn/module.mk @ 19878:7575048a555b

build: Declare dependencies between generated sources (bug #44383) * libinterp/Makefile.am (GENERATED_MAKE_BUILTINS_INCS): New variable containing a subset of BUILT_SOURCES. (BUILT_SOURCES): Factor out files in GENERATED_MAKE_BUILTINS_INCS and sort remaining list. (%.df:%.cc): Depend on GENERATED_MAKE_BUILTINS_INCS. * libinterp/corefcn/module.mk (COREFCN_FT2_DF): Likewise. * libinterp/octave-value/module.mk (OV_JAVA_DF): Likewise.
author Mike Miller <mtmiller@ieee.org>
date Fri, 27 Feb 2015 23:54:17 -0500
parents 12ecb7212b44
children 45565ecec019
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Fri Feb 27 19:44:28 2015 -0500
+++ b/libinterp/corefcn/module.mk	Fri Feb 27 23:54:17 2015 -0500
@@ -286,7 +286,7 @@
 
 ## Special rules for FreeType .df files so that not all .df files are built
 ## with FT2_CPPFLAGS, FONTCONFIG_CPPFLAGS
-$(COREFCN_FT2_DF) : corefcn/%.df : corefcn/%.cc
+$(COREFCN_FT2_DF) : corefcn/%.df : corefcn/%.cc $(GENERATED_MAKE_BUILTINS_INCS)
 	$(AM_V_GEN)rm -f $@-t $@ && \
 	$(CXXCPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
 	  $(AM_CPPFLAGS) $(FONTCONFIG_CPPFLAGS) $(FT2_CPPFLAGS) $(CPPFLAGS) \