summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Input.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_Input.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_Input.am')
-rw-r--r--src/Makefile_Ecore_Input.am43
1 files changed, 6 insertions, 37 deletions
diff --git a/src/Makefile_Ecore_Input.am b/src/Makefile_Ecore_Input.am
index 765616aa09..d07a895d5a 100644
--- a/src/Makefile_Ecore_Input.am
+++ b/src/Makefile_Ecore_Input.am
@@ -15,23 +15,9 @@ lib/ecore_input/ecore_input_compose.c \
15lib/ecore_input/ecore_input_compose.h \ 15lib/ecore_input/ecore_input_compose.h \
16lib/ecore_input/ecore_input_private.h 16lib/ecore_input/ecore_input_private.h
17 17
18lib_ecore_input_libecore_input_la_CPPFLAGS = \ 18lib_ecore_input_libecore_input_la_CPPFLAGS = @ECORE_INPUT_CFLAGS@
19-I$(top_srcdir)/src/lib/eina \ 19lib_ecore_input_libecore_input_la_LIBADD = @ECORE_INPUT_LIBS@
20-I$(top_builddir)/src/lib/eina \ 20lib_ecore_input_libecore_input_la_DEPENDENCIES = @ECORE_INPUT_INTERNAL_LIBS@
21-I$(top_srcdir)/src/lib/eo \
22-I$(top_srcdir)/src/lib/ecore \
23-I$(top_srcdir)/src/lib/ecore_input \
24-DEFL_ECORE_INPUT_BUILD \
25@ECORE_INPUT_CFLAGS@ \
26@EFL_COV_CFLAGS@
27
28lib_ecore_input_libecore_input_la_LIBADD = \
29lib/ecore/libecore.la \
30lib/eo/libeo.la \
31lib/eina/libeina.la \
32@EFL_COV_LIBS@
33
34lib_ecore_input_libecore_input_la_LIBADD += @EFL_COV_LIBS@
35lib_ecore_input_libecore_input_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 21lib_ecore_input_libecore_input_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
36 22
37installed_ecoreinputevasmainheadersdir = $(includedir)/ecore-@VMAJ@ 23installed_ecoreinputevasmainheadersdir = $(includedir)/ecore-@VMAJ@
@@ -42,24 +28,7 @@ lib_ecore_input_libecore_input_evas_la_SOURCES = \
42lib/ecore_input/ecore_input_evas.c \ 28lib/ecore_input/ecore_input_evas.c \
43lib/ecore_input/ecore_input_evas_private.h 29lib/ecore_input/ecore_input_evas_private.h
44 30
45lib_ecore_input_libecore_input_evas_la_CPPFLAGS = \ 31lib_ecore_input_libecore_input_evas_la_CPPFLAGS = @ECORE_INPUT_EVAS_CFLAGS@
46-I$(top_srcdir)/src/lib/eina \ 32lib_ecore_input_libecore_input_evas_la_LIBADD = @ECORE_INPUT_EVAS_LIBS@
47-I$(top_builddir)/src/lib/eina \ 33lib_ecore_input_libecore_input_evas_la_DEPENDENCIES = @ECORE_INPUT_EVAS_INTERNAL_LIBS@
48-I$(top_srcdir)/src/lib/eo \
49-I$(top_srcdir)/src/lib/evas \
50-I$(top_srcdir)/src/lib/ecore \
51-I$(top_srcdir)/src/lib/ecore_input \
52-I$(top_srcdir)/src/lib/ecore_input_evas \
53-DEFL_ECORE_INPUT_EVAS_BUILD \
54@ECORE_INPUT_EVAS_CFLAGS@ \
55@EFL_COV_CFLAGS@
56
57lib_ecore_input_libecore_input_evas_la_LIBADD = \
58lib/ecore_input/libecore_input.la \
59lib/ecore/libecore.la \
60lib/evas/libevas.la \
61lib/eo/libeo.la \
62lib/eina/libeina.la \
63@EFL_COV_LIBS@
64
65lib_ecore_input_libecore_input_evas_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 34lib_ecore_input_libecore_input_evas_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@