summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_Win32.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_Win32.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_Win32.am')
-rw-r--r--src/Makefile_Ecore_Win32.am23
1 files changed, 3 insertions, 20 deletions
diff --git a/src/Makefile_Ecore_Win32.am b/src/Makefile_Ecore_Win32.am
index c6fbdf6..081b28b 100644
--- a/src/Makefile_Ecore_Win32.am
+++ b/src/Makefile_Ecore_Win32.am
@@ -24,25 +24,8 @@ lib/ecore_win32/ecore_win32_dnd_data_object.h \
24lib/ecore_win32/ecore_win32_dnd_drop_source.h \ 24lib/ecore_win32/ecore_win32_dnd_drop_source.h \
25lib/ecore_win32/ecore_win32_dnd_drop_target.h 25lib/ecore_win32/ecore_win32_dnd_drop_target.h
26 26
27lib_ecore_win32_libecore_win32_la_CPPFLAGS = \ 27lib_ecore_win32_libecore_win32_la_CPPFLAGS = @ECORE_WIN32_CFLAGS@
28-I$(top_srcdir)/src/lib/evil \ 28lib_ecore_win32_libecore_win32_la_LIBADD = @ECORE_WIN32_LIBS@
29-I$(top_srcdir)/src/lib/eina \ 29lib_ecore_win32_libecore_win32_la_DEPENDENCIES = @ECORE_WIN32_INTERNAL_LIBS@
30-I$(top_builddir)/src/lib/eina \
31-I$(top_srcdir)/src/lib/eo \
32-I$(top_srcdir)/src/lib/ecore \
33-I$(top_srcdir)/src/lib/ecore_input \
34-I$(top_srcdir)/src/lib/ecore_win32 \
35-DEFL_ECORE_WIN32_BUILD \
36@ECORE_WIN32_CFLAGS@ \
37@EFL_COV_CFLAGS@
38
39lib_ecore_win32_libecore_win32_la_LIBADD = \
40lib/ecore_input/libecore_input.la \
41lib/ecore/libecore.la \
42lib/eo/libeo.la \
43lib/eina/libeina.la \
44lib/evil/libevil.la \
45@ECORE_WIN32_LIBS@
46
47lib_ecore_win32_libecore_win32_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 30lib_ecore_win32_libecore_win32_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
48endif 31endif