summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Wayland.am
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 22:36:23 +0000
committerGustavo Sverzut Barbieri <barbieri@gmail.com>2013-01-14 22:36:23 +0000
commitb1bc5aeb24d6dd0faf97c2d1d6c6781798a7fbe9 (patch)
treeebffce52ddbab71c6da6c2e07eeca7382abf15f6 /src/Makefile_Ecore_Wayland.am
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/Makefile_Ecore_Wayland.am')
-rw-r--r--src/Makefile_Ecore_Wayland.am20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/Makefile_Ecore_Wayland.am b/src/Makefile_Ecore_Wayland.am
index 9afeda2..88ffccf 100644
--- a/src/Makefile_Ecore_Wayland.am
+++ b/src/Makefile_Ecore_Wayland.am
@@ -16,22 +16,8 @@ lib/ecore_wayland/ecore_wl_output.c \
16lib/ecore_wayland/ecore_wl_window.c \ 16lib/ecore_wayland/ecore_wl_window.c \
17lib/ecore_wayland/ecore_wl_private.h 17lib/ecore_wayland/ecore_wl_private.h
18 18
19lib_ecore_wayland_libecore_wayland_la_CPPFLAGS = \ 19lib_ecore_wayland_libecore_wayland_la_CPPFLAGS = @ECORE_WAYLAND_CFLAGS@
20-I$(top_srcdir)/src/lib/eina \ 20lib_ecore_wayland_libecore_wayland_la_LIBADD = @ECORE_WAYLAND_LIBS@
21-I$(top_builddir)/src/lib/eina \ 21lib_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
29lib_ecore_wayland_libecore_wayland_la_LIBADD = \
30lib/ecore_input/libecore_input.la \
31lib/ecore/libecore.la \
32lib/eo/libeo.la \
33lib/eina/libeina.la \
34@ECORE_WAYLAND_LIBS@
35
36lib_ecore_wayland_libecore_wayland_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 22lib_ecore_wayland_libecore_wayland_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
37endif 23endif