You need to add the generated files to BUILT_SOURCES, that'll make sure 
they are generated before everything else. Look at elm for an example.

Also, I'd just copy the eolian makefile as is from elm/efl (I keep them 
in sync).

--
Tom.


On 11/04/14 18:41, Mike Blumenkrantz wrote:
> discomfitor pushed a commit to branch master.
>
> http://git.enlightenment.org/core/enlightenment.git/commit/?id=7274ffa742a99898cad3285af6fef2a94cbebd40
>
> commit 7274ffa742a99898cad3285af6fef2a94cbebd40
> Author: Mike Blumenkrantz <zm...@samsung.com>
> Date:   Fri Apr 11 13:40:58 2014 -0400
>
>      improve eolian build dependency
> ---
>   src/bin/Makefile.mk | 10 ++++++----
>   1 file changed, 6 insertions(+), 4 deletions(-)
>
> diff --git a/src/bin/Makefile.mk b/src/bin/Makefile.mk
> index 1b9dc19..78e5c3a 100644
> --- a/src/bin/Makefile.mk
> +++ b/src/bin/Makefile.mk
> @@ -1,6 +1,9 @@
> -DISTCLEANFILES += \
> +E_EOLIANFILES = \
>   src/bin/e_comp_object.eo.c \
> -src/bin/e_comp_object.eo.h \
> +src/bin/e_comp_object.eo.h
> +
> +DISTCLEANFILES += \
> +$(E_EOLIANFILES) \
>   src/bin/e_fm_shared_types.h
>
>   EXTRA_DIST += \
> @@ -386,8 +389,7 @@ enlightenment_src += \
>   src/bin/e_comp_wl.c
>   endif
>
> -src_bin_enlightenment_DEPENDENCIES = \
> -src/bin/e_comp_object.eo.c
> +src/bin/e_comp_object.c: $(E_EOLIANFILES)
>
>   src_bin_enlightenment_CPPFLAGS = $(E_CPPFLAGS) -DEFL_BETA_API_SUPPORT 
> -DEFL_EO_API_SUPPORT -DE_LOGGING=1 @WAYLAND_CFLAGS@ @WAYLAND_EGL_CFLAGS@ 
> @ECORE_X_CFLAGS@ -DNEED_X=1
>   src_bin_enlightenment_SOURCES = \
>



------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to