summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_File.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_File.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_File.am')
-rw-r--r--src/Makefile_Ecore_File.am20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/Makefile_Ecore_File.am b/src/Makefile_Ecore_File.am
index 8dfa6f3..27dbe33 100644
--- a/src/Makefile_Ecore_File.am
+++ b/src/Makefile_Ecore_File.am
@@ -27,21 +27,7 @@ lib/ecore_file/ecore_file_monitor_poll.c
27endif 27endif
28endif 28endif
29 29
30lib_ecore_file_libecore_file_la_CPPFLAGS = \ 30lib_ecore_file_libecore_file_la_CPPFLAGS = @ECORE_FILE_CFLAGS@
31-I$(top_srcdir)/src/lib/eina \ 31lib_ecore_file_libecore_file_la_LIBADD = @ECORE_FILE_LIBS@
32-I$(top_builddir)/src/lib/eina \ 32lib_ecore_file_libecore_file_la_DEPENDENCIES = @ECORE_FILE_INTERNAL_LIBS@
33-I$(top_srcdir)/src/lib/eo \
34-I$(top_srcdir)/src/lib/ecore \
35-I$(top_srcdir)/src/lib/ecore_con \
36-I$(top_srcdir)/src/lib/ecore_file \
37-DEFL_ECORE_FILE_BUILD \
38@ECORE_FILE_CFLAGS@ \
39@EFL_COV_CFLAGS@
40
41lib_ecore_file_libecore_file_la_LIBADD = \
42lib/ecore_con/libecore_con.la \
43lib/ecore/libecore.la \
44lib/eo/libeo.la \
45lib/eina/libeina.la \
46@EFL_COV_LIBS@
47lib_ecore_file_libecore_file_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 33lib_ecore_file_libecore_file_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@