jpeg pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=097f7e9f7b5040390e43fda83421447a7ffa8736
commit 097f7e9f7b5040390e43fda83421447a7ffa8736 Author: Vincent Torri <vincent dot torri at gmail dot com> Date: Tue Dec 15 14:43:27 2015 +0900 Examples: Fix compilation on Windows for eina, eio, elocation and eolian_cxx Summary: When compiling on Windows, Evil.h must be included, so update Makefile.am accordinglY Reviewers: cedric, jpeg Reviewed By: jpeg Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D3439 --- src/examples/eina/Makefile.am | 6 ++++++ src/examples/eio/Makefile.am | 6 ++++++ src/examples/elocation/Makefile.am | 6 ++++++ src/examples/eolian_cxx/Makefile.am | 6 ++++++ 4 files changed, 24 insertions(+) diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am index bb108b5..3d27bb5 100644 --- a/src/examples/eina/Makefile.am +++ b/src/examples/eina/Makefile.am @@ -8,6 +8,12 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/src/lib/eina \ -I$(top_builddir)/src/lib/eina +if HAVE_WINDOWS +AM_CPPFLAGS += \ +-I$(top_srcdir)/src/lib/evil \ +-I$(top_builddir)/src/lib/evil +endif + LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@ SRCS = \ diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am index a424f77..ba3bf69 100644 --- a/src/examples/eio/Makefile.am +++ b/src/examples/eio/Makefile.am @@ -15,6 +15,12 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/lib/ecore \ -I$(top_builddir)/src/lib/eio +if HAVE_WINDOWS +AM_CPPFLAGS += \ +-I$(top_srcdir)/src/lib/evil \ +-I$(top_builddir)/src/lib/evil +endif + EXTRA_PROGRAMS = \ eio_file_ls \ eio_file_copy diff --git a/src/examples/elocation/Makefile.am b/src/examples/elocation/Makefile.am index f9688da..03d7339 100644 --- a/src/examples/elocation/Makefile.am +++ b/src/examples/elocation/Makefile.am @@ -13,6 +13,12 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src/lib/eldbus \ -I$(top_builddir)/src/lib/elocation +if HAVE_WINDOWS +AM_CPPFLAGS += \ +-I$(top_srcdir)/src/lib/evil \ +-I$(top_builddir)/src/lib/evil +endif + EXTRA_PROGRAMS = \ elocation diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am index df73750..cb11ac1 100644 --- a/src/examples/eolian_cxx/Makefile.am +++ b/src/examples/eolian_cxx/Makefile.am @@ -42,6 +42,12 @@ AM_CXXFLAGS = \ -I$(top_srcdir)/src/lib/ecore_evas \ -I$(top_builddir)/src/lib/ecore_evas +if HAVE_WINDOWS +AM_CXXFLAGS += \ +-I$(top_srcdir)/src/lib/evil \ +-I$(top_builddir)/src/lib/evil +endif + AM_CFLAGS = $(AM_CXXFLAGS) AM_LDFLAGS = \ --