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_Escape.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_Escape.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile_Escape.am b/src/Makefile_Escape.am index e3934a2ab8..c9399c9c2e 100644 --- a/src/Makefile_Escape.am +++ b/src/Makefile_Escape.am | |||
@@ -19,9 +19,9 @@ lib/escape/escape_libgen.c \ | |||
19 | lib/escape/escape_mman.c \ | 19 | lib/escape/escape_mman.c \ |
20 | lib/escape/escape_unistd.c | 20 | lib/escape/escape_unistd.c |
21 | 21 | ||
22 | lib_escape_libescape_la_CPPFLAGS = \ | 22 | lib_escape_libescape_la_CPPFLAGS = @ESCAPE_CFLAGS@ |
23 | -I$(top_srcdir)/src/lib/escape | ||
24 | lib_escape_libescape_la_LIBADD = @ESCAPE_LIBS@ | 23 | lib_escape_libescape_la_LIBADD = @ESCAPE_LIBS@ |
24 | lib_escape_libescape_la_DEPENDENCIES = @ESCAPE_INTERNAL_LIBS@ | ||
25 | lib_escape_libescape_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ | 25 | lib_escape_libescape_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ |
26 | 26 | ||
27 | endif | 27 | endif |