path: root/src/Makefile_Eolian_Cxx_Helper.am
diff options
authorMike Blumenkrantz <zmike@samsung.com>2018-07-20 19:22:59 -0400
committerStefan Schmidt <s.schmidt@samsung.com>2018-07-30 18:16:20 +0200
commit54907b199508f4a7b2058f683f1693993417b49b (patch)
treee17766f1ba986b9806f565bff5217a083baa63ef /src/Makefile_Eolian_Cxx_Helper.am
parentbuild: use $(@D) for eolian directory name (diff)
build: disable eolian implicit rules in subdir builds
the ../ rules override the global rules to block actions which would force eolian to generate files which should be managed by a higher level makefile this cuts a substantial amount of time out of distcheck from example builds Differential Revision: https://phab.enlightenment.org/D6660
Diffstat (limited to 'src/Makefile_Eolian_Cxx_Helper.am')
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile_Eolian_Cxx_Helper.am b/src/Makefile_Eolian_Cxx_Helper.am
index 94f581e6e9..eb28a54e43 100644
--- a/src/Makefile_Eolian_Cxx_Helper.am
+++ b/src/Makefile_Eolian_Cxx_Helper.am
@@ -12,6 +12,11 @@ am__v_EOLCXX_0 = @echo " EOLCXX " $@;
SUFFIXES += .eo.hh
+#disable rules for subdir builds to avoid recursive dependencies
+../%.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
+../%.eo.impl.hh: %.eo $(_EOLIAN_CXX_DEP)
%.eo.impl.hh %.eo.hh: %.eo $(_EOLIAN_CXX_DEP)
$(MKDIR_P) $(@D); \