summaryrefslogtreecommitdiff
path: root/src/Makefile_Embryo.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-20 19:25:51 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2012-12-20 19:25:51 +0000
commitb57e46b9b9e36367d9847516f8af6a0807b24b85 (patch)
tree703486d06a5f46131a2bda8801cf297039e9b86f /src/Makefile_Embryo.am
parent5149aa925fefc8a80ba07968572bb9bedb79f3bf (diff)
efl: simplify linkage/usage of evil on windows.
instead of spreading it all around, just define 2 AC_SUBST() that will do the work. SVN revision: 81477
Diffstat (limited to 'src/Makefile_Embryo.am')
-rw-r--r--src/Makefile_Embryo.am34
1 files changed, 8 insertions, 26 deletions
diff --git a/src/Makefile_Embryo.am b/src/Makefile_Embryo.am
index 7d8e9ec..66acb32 100644
--- a/src/Makefile_Embryo.am
+++ b/src/Makefile_Embryo.am
@@ -23,20 +23,10 @@ lib_embryo_libembryo_la_CPPFLAGS = \
23-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 23-DPACKAGE_LIB_DIR=\"$(libdir)\" \
24-DPACKAGE_DATA_DIR=\"$(datadir)/embryo\" \ 24-DPACKAGE_DATA_DIR=\"$(datadir)/embryo\" \
25-DEFL_EMBRYO_BUILD \ 25-DEFL_EMBRYO_BUILD \
26@EFL_CFLAGS@ 26@EFL_CFLAGS@ \
27@USE_EVIL_CFLAGS@
27 28
28if HAVE_WINDOWS 29lib_embryo_libembryo_la_LIBADD = lib/eina/libeina.la @USE_EVIL_LIBS@ -lm
29lib_embryo_libembryo_la_CPPFLAGS += \
30-I$(top_srcdir)/src/lib/evil
31endif
32
33lib_embryo_libembryo_la_LIBADD = lib/eina/libeina.la
34
35if HAVE_WINDOWS
36lib_embryo_libembryo_la_LIBADD += lib/evil/libevil.la
37endif
38
39lib_embryo_libembryo_la_LIBADD += -lm
40 30
41lib_embryo_libembryo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@ 31lib_embryo_libembryo_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@
42 32
@@ -67,22 +57,14 @@ bin_embryo_embryo_cc_CPPFLAGS = \
67-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 57-DPACKAGE_BIN_DIR=\"$(bindir)\" \
68-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 58-DPACKAGE_LIB_DIR=\"$(libdir)\" \
69-DPACKAGE_DATA_DIR=\"$(datadir)/embryo\" \ 59-DPACKAGE_DATA_DIR=\"$(datadir)/embryo\" \
70@EFL_CFLAGS@ 60@EFL_CFLAGS@ \
71 61@USE_EVIL_CFLAGS@
72if HAVE_WINDOWS
73bin_embryo_embryo_cc_CPPFLAGS += \
74-I$(top_srcdir)/src/lib/evil
75endif
76 62
77bin_embryo_embryo_cc_LDADD = \ 63bin_embryo_embryo_cc_LDADD = \
78lib/embryo/libembryo.la \ 64lib/embryo/libembryo.la \
79lib/eina/libeina.la 65lib/eina/libeina.la \
80 66@USE_EVIL_LIBS@ \
81if HAVE_WINDOWS 67-lm
82bin_embryo_embryo_cc_LDADD += lib/evil/libevil.la
83endif
84
85bin_embryo_embryo_cc_LDADD += -lm
86 68
87EXTRA_DIST += \ 69EXTRA_DIST += \
88bin/embryo/embryo_cc_sc5.scp \ 70bin/embryo/embryo_cc_sc5.scp \