summaryrefslogtreecommitdiff
path: root/src/Makefile_Edje.am
diff options
context:
space:
mode:
authorCedric Bail <cedric.bail@free.fr>2013-03-15 23:46:52 +0100
committerCedric Bail <cedric.bail@free.fr>2013-03-16 16:33:57 +0900
commit6fdaef02593094cea3fa51f048534a6cca01af19 (patch)
treeea2ba86b0429174300c7464b647155a708c7b420 /src/Makefile_Edje.am
parentba4db2c2416134af5556a4c8b797c4d5c9db551f (diff)
efl: fix compilation on Windows when no Evil library is installed.
Diffstat (limited to 'src/Makefile_Edje.am')
-rw-r--r--src/Makefile_Edje.am24
1 files changed, 15 insertions, 9 deletions
diff --git a/src/Makefile_Edje.am b/src/Makefile_Edje.am
index 0c71e4b..50837de 100644
--- a/src/Makefile_Edje.am
+++ b/src/Makefile_Edje.am
@@ -82,6 +82,12 @@ endif
82 82
83### Binary 83### Binary
84 84
85if HAVE_WIN32
86USE_EDJE_BIN_LIBS = -L$(top_builddir)/src/lib/evil @USE_EDJE_LIBS@
87else
88USE_EDJE_BIN_LIBS = @USE_EDJE_LIBS@
89endif
90
85bin_PROGRAMS += \ 91bin_PROGRAMS += \
86bin/edje/edje_cc \ 92bin/edje/edje_cc \
87bin/edje/edje_decc \ 93bin/edje/edje_decc \
@@ -103,7 +109,7 @@ bin/edje/edje_cc_handlers.c \
103bin/edje/edje_cc_sources.c \ 109bin/edje/edje_cc_sources.c \
104bin/edje/edje_multisense_convert.c 110bin/edje/edje_multisense_convert.c
105bin_edje_edje_cc_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 111bin_edje_edje_cc_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
106bin_edje_edje_cc_LDADD = @USE_EDJE_LIBS@ 112bin_edje_edje_cc_LDADD = $(USE_EDJE_BIN_LIBS)
107bin_edje_edje_cc_DEPENDENCIES = \ 113bin_edje_edje_cc_DEPENDENCIES = \
108@USE_EDJE_INTERNAL_LIBS@ \ 114@USE_EDJE_INTERNAL_LIBS@ \
109bin/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. 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.
@@ -114,37 +120,37 @@ bin/edje/edje_decc.h \
114bin/edje/edje_cc_mem.c \ 120bin/edje/edje_cc_mem.c \
115bin/edje/edje_cc_sources.c 121bin/edje/edje_cc_sources.c
116bin_edje_edje_decc_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 122bin_edje_edje_decc_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
117bin_edje_edje_decc_LDADD = @USE_EDJE_LIBS@ 123bin_edje_edje_decc_LDADD = $(USE_EDJE_BIN_LIBS)
118bin_edje_edje_decc_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 124bin_edje_edje_decc_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
119 125
120bin_edje_edje_player_SOURCES = bin/edje/edje_player.c 126bin_edje_edje_player_SOURCES = bin/edje/edje_player.c
121bin_edje_edje_player_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 127bin_edje_edje_player_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
122bin_edje_edje_player_LDADD = @USE_EDJE_LIBS@ 128bin_edje_edje_player_LDADD = $(USE_EDJE_BIN_LIBS)
123bin_edje_edje_player_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 129bin_edje_edje_player_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
124 130
125bin_edje_edje_inspector_SOURCES = bin/edje/edje_inspector.c 131bin_edje_edje_inspector_SOURCES = bin/edje/edje_inspector.c
126bin_edje_edje_inspector_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 132bin_edje_edje_inspector_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
127bin_edje_edje_inspector_LDADD = @USE_EDJE_LIBS@ 133bin_edje_edje_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
128bin_edje_edje_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 134bin_edje_edje_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
129 135
130bin_edje_edje_external_inspector_SOURCES = bin/edje/edje_external_inspector.c 136bin_edje_edje_external_inspector_SOURCES = bin/edje/edje_external_inspector.c
131bin_edje_edje_external_inspector_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 137bin_edje_edje_external_inspector_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
132bin_edje_edje_external_inspector_LDADD = @USE_EDJE_LIBS@ 138bin_edje_edje_external_inspector_LDADD = $(USE_EDJE_BIN_LIBS)
133bin_edje_edje_external_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 139bin_edje_edje_external_inspector_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
134 140
135bin_edje_edje_codegen_SOURCES = bin/edje/edje_codegen.c 141bin_edje_edje_codegen_SOURCES = bin/edje/edje_codegen.c
136bin_edje_edje_codegen_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 142bin_edje_edje_codegen_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
137bin_edje_edje_codegen_LDADD = @USE_EDJE_LIBS@ 143bin_edje_edje_codegen_LDADD = $(USE_EDJE_BIN_LIBS)
138bin_edje_edje_codegen_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 144bin_edje_edje_codegen_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
139 145
140bin_edje_edje_pick_SOURCES = bin/edje/edje_pick.c 146bin_edje_edje_pick_SOURCES = bin/edje/edje_pick.c
141bin_edje_edje_pick_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 147bin_edje_edje_pick_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
142bin_edje_edje_pick_LDADD = @USE_EDJE_LIBS@ 148bin_edje_edje_pick_LDADD = $(USE_EDJE_BIN_LIBS)
143bin_edje_edje_pick_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 149bin_edje_edje_pick_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
144 150
145bin_edje_edje_watch_SOURCES = bin/edje/edje_watch.c 151bin_edje_edje_watch_SOURCES = bin/edje/edje_watch.c
146bin_edje_edje_watch_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS) 152bin_edje_edje_watch_CPPFLAGS = $(EDJE_COMMON_CPPFLAGS)
147bin_edje_edje_watch_LDADD = @USE_EDJE_LIBS@ 153bin_edje_edje_watch_LDADD = $(USE_EDJE_BIN_LIBS)
148bin_edje_edje_watch_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 154bin_edje_edje_watch_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
149 155
150# EPP (Edje's CPP) 156# EPP (Edje's CPP)
@@ -226,7 +232,7 @@ tests_edje_edje_suite_CPPFLAGS = \
226$(EDJE_COMMON_CPPFLAGS) \ 232$(EDJE_COMMON_CPPFLAGS) \
227-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edje\" \ 233-DTESTS_BUILD_DIR=\"$(top_builddir)/src/tests/edje\" \
228@CHECK_CFLAGS@ 234@CHECK_CFLAGS@
229tests_edje_edje_suite_LDADD = @CHECK_LIBS@ @USE_EDJE_LIBS@ 235tests_edje_edje_suite_LDADD = @CHECK_LIBS@ $(USE_EDJE_BIN_LIBS)
230tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@ 236tests_edje_edje_suite_DEPENDENCIES = @USE_EDJE_INTERNAL_LIBS@
231 237
232tests/edje/data/test_layout.edj: tests/edje/data/test_layout.edc bin/edje/edje_cc 238tests/edje/data/test_layout.edj: tests/edje/data/test_layout.edc bin/edje/edje_cc