summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-10-05 16:23:50 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-10-05 16:23:52 -0700
commit16b0733a528fd41aa669e25d6cb363d9f5c47d66 (patch)
treec212d0657ba5a53eff13860e897d02f1d5fd45ab /src/examples
parent08deba98f864eb26271ddbb4d7d530e1bcd800c9 (diff)
build: fix make examples on Windows
Summary: We should define the windows version before including evil. Test Plan: Run make examples on windows newer than XP. Reviewers: vtorri Subscribers: jenkins, cedric, jpeg Tags: #efl, #windows Differential Revision: https://phab.enlightenment.org/D5261 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/eina/Makefile.am4
-rw-r--r--src/examples/eio/Makefile.am4
-rw-r--r--src/examples/elocation/Makefile.am4
-rw-r--r--src/examples/eolian_cxx/Makefile.am1
4 files changed, 13 insertions, 0 deletions
diff --git a/src/examples/eina/Makefile.am b/src/examples/eina/Makefile.am
index 4ce1258..0186c72 100644
--- a/src/examples/eina/Makefile.am
+++ b/src/examples/eina/Makefile.am
@@ -12,6 +12,10 @@ if HAVE_WINDOWS
12AM_CPPFLAGS += \ 12AM_CPPFLAGS += \
13-I$(top_srcdir)/src/lib/evil \ 13-I$(top_srcdir)/src/lib/evil \
14-I$(top_builddir)/src/lib/evil 14-I$(top_builddir)/src/lib/evil
15
16AM_CFLAGS = \
17@EFL_WINDOWS_VERSION_CFLAGS@
18
15endif 19endif
16 20
17LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@ 21LDADD = $(top_builddir)/src/lib/eina/libeina.la @EINA_LDFLAGS@
diff --git a/src/examples/eio/Makefile.am b/src/examples/eio/Makefile.am
index 1620d81..d42f577 100644
--- a/src/examples/eio/Makefile.am
+++ b/src/examples/eio/Makefile.am
@@ -20,6 +20,10 @@ if HAVE_WINDOWS
20AM_CPPFLAGS += \ 20AM_CPPFLAGS += \
21-I$(top_srcdir)/src/lib/evil \ 21-I$(top_srcdir)/src/lib/evil \
22-I$(top_builddir)/src/lib/evil 22-I$(top_builddir)/src/lib/evil
23
24AM_CFLAGS = \
25@EFL_WINDOWS_VERSION_CFLAGS@
26
23endif 27endif
24 28
25EXTRA_PROGRAMS = \ 29EXTRA_PROGRAMS = \
diff --git a/src/examples/elocation/Makefile.am b/src/examples/elocation/Makefile.am
index 5c08d0c..e84b016 100644
--- a/src/examples/elocation/Makefile.am
+++ b/src/examples/elocation/Makefile.am
@@ -18,6 +18,10 @@ if HAVE_WINDOWS
18AM_CPPFLAGS += \ 18AM_CPPFLAGS += \
19-I$(top_srcdir)/src/lib/evil \ 19-I$(top_srcdir)/src/lib/evil \
20-I$(top_builddir)/src/lib/evil 20-I$(top_builddir)/src/lib/evil
21
22AM_CFLAGS = \
23@EFL_WINDOWS_VERSION_CFLAGS@
24
21endif 25endif
22 26
23EXTRA_PROGRAMS = \ 27EXTRA_PROGRAMS = \
diff --git a/src/examples/eolian_cxx/Makefile.am b/src/examples/eolian_cxx/Makefile.am
index ed12249..ece5318 100644
--- a/src/examples/eolian_cxx/Makefile.am
+++ b/src/examples/eolian_cxx/Makefile.am
@@ -44,6 +44,7 @@ AM_CXXFLAGS = \
44 44
45if HAVE_WINDOWS 45if HAVE_WINDOWS
46AM_CXXFLAGS += \ 46AM_CXXFLAGS += \
47@EFL_WINDOWS_VERSION_CFLAGS@ \
47-I$(top_srcdir)/src/lib/evil \ 48-I$(top_srcdir)/src/lib/evil \
48-I$(top_builddir)/src/lib/evil 49-I$(top_builddir)/src/lib/evil
49endif 50endif