This is a quick fix to make out-of-tree builds of the examples
work fine. Don't pass "." as teh resource dir root, instead
pass the path to the source files' folder.
-I$(top_builddir)/src/lib/ecore_file \
-I$(top_srcdir)/src/lib/ecore_input \
-I$(top_builddir)/src/lib/ecore_evas \
--DPACKAGE_EXAMPLES_DIR=\".\" \
+-DPACKAGE_EXAMPLES_DIR=\"$(top_srcdir)/src/examples/evas\" \
@EVAS_CFLAGS@
ECORE_EVAS_COMMON_LDADD = \
-I$(top_builddir)/src/lib/edje \
-I$(top_srcdir)/src/lib/edje/include \
-I$(top_builddir)/src/lib/edje/include \
--DPACKAGE_EXAMPLES_DIR=\".\" \
+-DPACKAGE_EXAMPLES_DIR=\"$(top_srcdir)/src/examples/evas\" \
@EVAS_CFLAGS@
EDJE_COMMON_LDADD = \
MODEL_MESH_INIT(column, column_ch)
MODEL_MESH_INIT(home, home_ch)
MODEL_MESH_INIT(sonic, sonic_ch)
- MODEL_MESH_INIT(eagle, "shooter/assets/models/eagle.md2")
+ MODEL_MESH_INIT(eagle, PACKAGE_EXAMPLES_DIR "/shooter/assets/models/eagle.md2")
MODEL_MESH_INIT(blender_sphere, sphere)
MODEL_MESH_INIT(blender_torus, torus)