summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Psl1ght.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_Psl1ght.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_Psl1ght.am')
-rw-r--r--src/Makefile_Ecore_Psl1ght.am20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/Makefile_Ecore_Psl1ght.am b/src/Makefile_Ecore_Psl1ght.am
index 3364a1e18b..607ce47f0d 100644
--- a/src/Makefile_Ecore_Psl1ght.am
+++ b/src/Makefile_Ecore_Psl1ght.am
@@ -17,23 +17,9 @@ lib/ecore_psl1ght/spursutil.h \
17lib/ecore_psl1ght/Ecore_Psl1ght_Keys.h \ 17lib/ecore_psl1ght/Ecore_Psl1ght_Keys.h \
18lib/ecore_psl1ght/ecore_psl1ght_private.h 18lib/ecore_psl1ght/ecore_psl1ght_private.h
19 19
20lib_ecore_psl1ght_libecore_psl1ght_la_CPPFLAGS = \ 20lib_ecore_psl1ght_libecore_psl1ght_la_CPPFLAGS = @ECORE_PSL1GHT_CFLAGS@
21-I$(top_srcdir)/src/lib/eina \ 21lib_ecore_psl1ght_libecore_psl1ght_la_LIBADD = @ECORE_PSL1GHT_LIBS@
22-I$(top_builddir)/src/lib/eina \ 22lib_ecore_psl1ght_libecore_psl1ght_la_DEPENDENCIES = @ECORE_PSL1GHT_INTERNAL_LIBS@
23-I$(top_srcdir)/src/lib/eo \
24-I$(top_srcdir)/src/lib/ecore \
25-I$(top_srcdir)/src/lib/ecore_input \
26-I$(top_srcdir)/src/lib/ecore_psl1ght \
27-DEFL_ECORE_PSL1GHT_BUILD \
28@ECORE_PSL1GHT_CFLAGS@ \
29@EFL_COV_CFLAGS@
30
31lib_ecore_psl1ght_libecore_psl1ght_la_LIBADD = \
32lib/ecore_input/libecore_input.la \
33lib/ecore/libecore.la \
34lib/eo/libeo.la \
35lib/eina/libeina.la
36
37lib_ecore_psl1ght_libecore_psl1ght_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 23lib_ecore_psl1ght_libecore_psl1ght_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
38endif 24endif
39 25