path: root/src/lib
diff options
authorGustavo Sverzut Barbieri <>2013-01-14 22:36:23 +0000
committerGustavo Sverzut Barbieri <>2013-01-14 22:36:23 +0000
commitb1bc5aeb24d6dd0faf97c2d1d6c6781798a7fbe9 (patch)
treeebffce52ddbab71c6da6c2e07eeca7382abf15f6 /src/lib
parent283805237a9f5f194568667fc32586a3238cbde0 (diff)
efl: simplify automake.
Instead of -I$(top_srcdir)... -I$(top_builddir)... and then do it for the .la, use the EFL_ macros to generate the contents to be used in automake files. There is a nasty bit that libtool will parse Makefile*.am and will not get _DEPENDENCIES from _LIBADD and _LDADD if these are in @REPLACEMENT@. To solve this we must explicitly set _DEPENDENCIES. The contents of this is almost the same as _LIBADD or _LDADD with the "_INTERNAL_" replacement name. I hope the code will be result will be shorter and consistent as there is less places to change when we add/remove dependencies. Statistics are quite impressive (diffstat): {{{ 37 files changed, 663 insertions(+), 1599 deletions(-) }}} SVN revision: 82785
Diffstat (limited to 'src/lib')
3 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/ecore_evas/ecore_evas_buffer.c b/src/lib/ecore_evas/ecore_evas_buffer.c
index 69acea75ce..96e5fb6cfe 100644
--- a/src/lib/ecore_evas/ecore_evas_buffer.c
+++ b/src/lib/ecore_evas/ecore_evas_buffer.c
@@ -3,6 +3,7 @@
3#endif 3#endif
4 4
5#include "ecore_evas_buffer.h" 5#include "ecore_evas_buffer.h"
6#include <Evas_Engine_Buffer.h>
6 7
7static void 8static void
8_ecore_evas_buffer_free(Ecore_Evas *ee) 9_ecore_evas_buffer_free(Ecore_Evas *ee)
diff --git a/src/lib/ecore_evas/ecore_evas_ews.c b/src/lib/ecore_evas/ecore_evas_ews.c
index 4b80c305bf..4f52ae2cba 100644
--- a/src/lib/ecore_evas/ecore_evas_ews.c
+++ b/src/lib/ecore_evas/ecore_evas_ews.c
@@ -9,6 +9,8 @@
9#include <Eina.h> 9#include <Eina.h>
10#include <Ecore.h> 10#include <Ecore.h>
11#include "ecore_private.h" 11#include "ecore_private.h"
12#include <Evas.h>
13#include <Evas_Engine_Buffer.h>
12#include <Ecore_Input.h> 14#include <Ecore_Input.h>
13 15
14#include "ecore_evas_private.h" 16#include "ecore_evas_private.h"
diff --git a/src/lib/ecore_evas/ecore_evas_private.h b/src/lib/ecore_evas/ecore_evas_private.h
index 23d5f3c913..f9c208b23d 100644
--- a/src/lib/ecore_evas/ecore_evas_private.h
+++ b/src/lib/ecore_evas/ecore_evas_private.h
@@ -11,10 +11,6 @@
11 11
12#define ECORE_MAGIC_EVAS 0x76543211 12#define ECORE_MAGIC_EVAS 0x76543211
13 13
15# include <Evas_Engine_Buffer.h>
18/** Log domain macros and variables **/ 14/** Log domain macros and variables **/
19 15
20EAPI extern int _ecore_evas_log_dom; 16EAPI extern int _ecore_evas_log_dom;