C++ bindings: Generate them as part of the build, not pre build.
authorTom Hacohen <tom@stosb.com>
Wed, 4 Jun 2014 15:14:29 +0000 (16:14 +0100)
committerTom Hacohen <tom@stosb.com>
Wed, 4 Jun 2014 15:14:29 +0000 (16:14 +0100)
There's no reason why it should be forced in with BUILT_SOURCES.
It should be part of the normal build and dependency based (nothing should depend
on it anyway).

This patch fixes that.

src/Makefile_Ecore_Audio_Cxx.am
src/Makefile_Ecore_Cxx.am
src/Makefile_Edje_Cxx.am
src/Makefile_Evas_Cxx.am

index a5b408d..27c60a5 100644 (file)
@@ -12,10 +12,6 @@ lib/ecore_audio/ecore_audio_out_sndfile.eo.hh \
 lib/ecore_audio/ecore_audio_out_pulse.eo.hh \
 lib/ecore_audio/ecore_audio_in_tone.eo.hh
 
-BUILT_SOURCES += \
-lib/ecore_audio/Ecore_Audio.hh \
-$(generated_ecore_audio_cxx_bindings)
-
 lib/ecore_audio/Ecore_Audio.hh:
        @echo -e "#ifndef EFL_CXX_ECORE_AUDIO_HH\n#define EFL_CXX_ECORE_AUDIO_HH\n" > $(top_builddir)/src/lib/ecore_audio/Ecore_Audio.hh
        @echo -e "#ifdef EFL_BETA_API_SUPPORT" >> $(top_builddir)/src/lib/ecore_audio/Ecore_Audio.hh
index eb06789..4ce616e 100644 (file)
@@ -14,8 +14,6 @@ lib/ecore/ecore_idle_exiter.eo.hh \
 lib/ecore/ecore_animator.eo.hh \
 lib/ecore/ecore_parent.eo.hh
 
-BUILT_SOURCES += lib/ecore/Ecore.eo.hh $(generated_ecore_cxx_bindings)
-
 installed_ecorecxxheadersdir = $(includedir)/ecore-cxx-@VMAJ@
 nodist_installed_ecorecxxheaders_DATA = \
 lib/ecore/Ecore.eo.hh \
index 91fc9b9..1ba5de5 100644 (file)
@@ -7,10 +7,6 @@ generated_edje_cxx_bindings = \
 lib/edje/edje.eo.hh \
 lib/edje/edje_edit.eo.hh
 
-BUILT_SOURCES += \
-lib/edje/Edje.hh \
-$(generated_edje_cxx_bindings)
-
 installed_edjecxxmainheadersdir = $(includedir)/edje-cxx-@VMAJ@/
 nodist_installed_edjecxxmainheaders_DATA = \
 lib/edje/Edje.hh \
index dcca14b..bcece50 100644 (file)
@@ -27,8 +27,6 @@ lib/evas/canvas/evas_selectable_interface.eo.hh \
 lib/evas/canvas/evas_zoomable_interface.eo.hh \
 lib/evas/canvas/evas_box.eo.hh
 
-BUILT_SOURCES += lib/evas/Evas.hh $(generated_evas_canvas_cxx_bindings)
-
 installed_evascxxmainheadersdir = $(includedir)/evas-cxx-@VMAJ@/
 nodist_installed_evascxxmainheaders_DATA = lib/evas/Evas.hh