summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-24 20:48:00 +0900
committerCedric Bail <cedric.bail@free.fr>2013-03-24 20:48:00 +0900
commit77e557e7e5e19ab1e76a3635266eb7e1a6584e7d (patch)
tree2289a67d4480340e03f1be0f1fe31895b680dd6d /src/Makefile_Edje.am
parent4cf7cc85021ece37146e677b7d78bdc89f2e7891 (diff)
edje: fix stupid dependencies issue.
NOTE: We can't still not properly finish cross compilation as all the build system assume that we can run the just compiled edje_cc and epp...
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 50837de..1908793 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -4,6 +4,9 @@
4lib_LTLIBRARIES += lib/edje/libedje.la 4lib_LTLIBRARIES += lib/edje/libedje.la
5 5
6EDJE_COMMON_CPPFLAGS = \ 6EDJE_COMMON_CPPFLAGS = \
7-I$(top_builddir) \
8-I$(top_srcdir)/src/lib/edje \
9-I$(top_builddir)/src/lib/edje \
7-DPACKAGE_BIN_DIR=\"$(bindir)\" \ 10-DPACKAGE_BIN_DIR=\"$(bindir)\" \
8-DPACKAGE_LIB_DIR=\"$(libdir)\" \ 11-DPACKAGE_LIB_DIR=\"$(libdir)\" \
9-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \ 12-DPACKAGE_DATA_DIR=\"$(datadir)/edje\" \
@@ -112,7 +115,7 @@ bin_edje_edje_cc_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
112bin_edje_edje_cc_LDADD = $(USE_EDJE_BIN_LIBS) 115bin_edje_edje_cc_LDADD = $(USE_EDJE_BIN_LIBS)
113bin_edje_edje_cc_DEPENDENCIES = \ 116bin_edje_edje_cc_DEPENDENCIES = \
114@USE_EDJE_INTERNAL_LIBS@ \ 117@USE_EDJE_INTERNAL_LIBS@ \
115bin/edje/epp/epp # epp is an artificial dependency because edje_cc will use it at runtime, so we be sure if we depend on edje_cc we get epp. 118bin/edje/epp/epp$(EXEEXT) # epp is an artificial dependency because edje_cc will use it at runtime, so we be sure if we depend on edje_cc we get epp.
116 119
117bin_edje_edje_decc_SOURCES = \ 120bin_edje_edje_decc_SOURCES = \
118bin/edje/edje_decc.c \ 121bin/edje/edje_decc.c \
@@ -191,6 +194,9 @@ $(CWARNFLAGS) \
191-DTARGET_TAB=9 \ 194-DTARGET_TAB=9 \
192-DTARGET_VT=11 195-DTARGET_VT=11
193if HAVE_WIN32 196if HAVE_WIN32
197bin_edje_epp_epp_CPPFLAGS += \
198-I$(top_srcdir)/src/lib/evil \
199-I$(top_builddir)/src/lib/evil
194bin_edje_epp_epp_LDADD = lib/evil/libevil.la 200bin_edje_epp_epp_LDADD = lib/evil/libevil.la
195endif 201endif
196 202
@@ -206,7 +212,7 @@ tests/edje/edje_tests_helpers.h
206bin_SCRIPTS += bin/edje/edje_recc 212bin_SCRIPTS += bin/edje/edje_recc
207 213
208# Useful to other modules that generate EDJ 214# Useful to other modules that generate EDJ
209EDJE_CC = EFL_RUN_IN_TREE=1 $(builddir)/bin/edje/edje_cc 215EDJE_CC = EFL_RUN_IN_TREE=1 $(builddir)/bin/edje/edje_cc${EXEEXT}
210EDJE_CC_FLAGS_VERBOSE = $(EDJE_CC_FLAGS_VERBOSE_@AM_V@) 216EDJE_CC_FLAGS_VERBOSE = $(EDJE_CC_FLAGS_VERBOSE_@AM_V@)
211EDJE_CC_FLAGS_VERBOSE_ = $(EDJE_CC_FLAGS_VERBOSE_@AM_DEFAULT_V@) 217EDJE_CC_FLAGS_VERBOSE_ = $(EDJE_CC_FLAGS_VERBOSE_@AM_DEFAULT_V@)
212EDJE_CC_FLAGS_VERBOSE_1 = -v 218EDJE_CC_FLAGS_VERBOSE_1 = -v
@@ -235,7 +241,7 @@ $(EDJE_COMMON_CPPFLAGS) \
235tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS) 241tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)
236tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 242tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
237 243
238tests/edje/data/test_layout.edj: tests/edje/data/test_layout.edc bin/edje/edje_cc 244tests/edje/data/test_layout.edj: tests/edje/data/test_layout.edc bin/edje/edje_cc${EXEEXT}
239 @$(MKDIR_P) tests/edje/data 245 @$(MKDIR_P) tests/edje/data
240 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data $< $@ 246 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_CC_FLAGS) -id $(srcdir)/tests/edje/data $< $@
241 247