diff options
author | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-14 22:36:23 +0000 |
---|---|---|
committer | Gustavo Sverzut Barbieri <barbieri@gmail.com> | 2013-01-14 22:36:23 +0000 |
commit | b1bc5aeb24d6dd0faf97c2d1d6c6781798a7fbe9 (patch) | |
tree | ebffce52ddbab71c6da6c2e07eeca7382abf15f6 /src/Makefile_Ecore_Wayland.am | |
parent | 283805237a9f5f194568667fc32586a3238cbde0 (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 '')
-rw-r--r-- | src/Makefile_Ecore_Wayland.am | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/src/Makefile_Ecore_Wayland.am b/src/Makefile_Ecore_Wayland.am index 9afeda230d..88ffccf8e1 100644 --- a/src/Makefile_Ecore_Wayland.am +++ b/src/Makefile_Ecore_Wayland.am | |||
@@ -16,22 +16,8 @@ lib/ecore_wayland/ecore_wl_output.c \ | |||
16 | lib/ecore_wayland/ecore_wl_window.c \ | 16 | lib/ecore_wayland/ecore_wl_window.c \ |
17 | lib/ecore_wayland/ecore_wl_private.h | 17 | lib/ecore_wayland/ecore_wl_private.h |
18 | 18 | ||
19 | lib_ecore_wayland_libecore_wayland_la_CPPFLAGS = \ | 19 | lib_ecore_wayland_libecore_wayland_la_CPPFLAGS = @ECORE_WAYLAND_CFLAGS@ |
20 | -I$(top_srcdir)/src/lib/eina \ | 20 | lib_ecore_wayland_libecore_wayland_la_LIBADD = @ECORE_WAYLAND_LIBS@ |
21 | -I$(top_builddir)/src/lib/eina \ | 21 | lib_ecore_wayland_libecore_wayland_la_DEPENDENCIES = @ECORE_WAYLAND_INTERNAL_LIBS@ |
22 | -I$(top_srcdir)/src/lib/eo \ | ||
23 | -I$(top_srcdir)/src/lib/ecore \ | ||
24 | -I$(top_srcdir)/src/lib/ecore_input \ | ||
25 | -I$(top_srcdir)/src/lib/ecore_wayland \ | ||
26 | @EFL_COV_CFLAGS@ \ | ||
27 | @ECORE_WAYLAND_CFLAGS@ | ||
28 | |||
29 | lib_ecore_wayland_libecore_wayland_la_LIBADD = \ | ||
30 | lib/ecore_input/libecore_input.la \ | ||
31 | lib/ecore/libecore.la \ | ||
32 | lib/eo/libeo.la \ | ||
33 | lib/eina/libeina.la \ | ||
34 | @ECORE_WAYLAND_LIBS@ | ||
35 | |||
36 | lib_ecore_wayland_libecore_wayland_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ | 22 | lib_ecore_wayland_libecore_wayland_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ |
37 | endif | 23 | endif |