Examples: Fix compilation on Windows for eina, eio, elocation and eolian_cxx
authorVincent Torri <vincent dot torri at gmail dot com>
Tue, 15 Dec 2015 05:43:27 +0000 (14:43 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Tue, 15 Dec 2015 06:05:06 +0000 (15:05 +0900)
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
src/examples/eio/Makefile.am
src/examples/elocation/Makefile.am
src/examples/eolian_cxx/Makefile.am

index bb108b5..3d27bb5 100644 (file)
@@ -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 = \
index a424f77..ba3bf69 100644 (file)
@@ -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
index f9688da..03d7339 100644 (file)
@@ -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
 
index df73750..cb11ac1 100644 (file)
@@ -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 = \