summaryrefslogtreecommitdiff
path: root/src/Makefile_Ecore_SDL.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_SDL.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_SDL.am')
-rw-r--r--src/Makefile_Ecore_SDL.am21
1 files changed, 3 insertions, 18 deletions
diff --git a/src/Makefile_Ecore_SDL.am b/src/Makefile_Ecore_SDL.am
index deaacbe077..160dd32810 100644
--- a/src/Makefile_Ecore_SDL.am
+++ b/src/Makefile_Ecore_SDL.am
@@ -13,23 +13,8 @@ lib/ecore_sdl/ecore_sdl.c \
13lib/ecore_sdl/Ecore_Sdl_Keys.h \ 13lib/ecore_sdl/Ecore_Sdl_Keys.h \
14lib/ecore_sdl/ecore_sdl_private.h 14lib/ecore_sdl/ecore_sdl_private.h
15 15
16lib_ecore_sdl_libecore_sdl_la_CPPFLAGS = \ 16lib_ecore_sdl_libecore_sdl_la_CPPFLAGS = @ECORE_SDL_CFLAGS@
17-I$(top_srcdir)/src/lib/eina \ 17lib_ecore_sdl_libecore_sdl_la_LIBADD = @ECORE_SDL_LIBS@
18-I$(top_builddir)/src/lib/eina \ 18lib_ecore_sdl_libecore_sdl_la_DEPENDENCIES = @ECORE_SDL_INTERNAL_LIBS@
19-I$(top_srcdir)/src/lib/eo \
20-I$(top_srcdir)/src/lib/ecore \
21-I$(top_srcdir)/src/lib/ecore_input \
22-I$(top_srcdir)/src/lib/ecore_sdl \
23-DEFL_ECORE_SDL_BUILD \
24@EFL_COV_CFLAGS@ \
25@ECORE_SDL_CFLAGS@
26
27lib_ecore_sdl_libecore_sdl_la_LIBADD = \
28lib/ecore_input/libecore_input.la \
29lib/ecore/libecore.la \
30lib/eo/libeo.la \
31lib/eina/libeina.la \
32@ECORE_SDL_LIBS@
33
34lib_ecore_sdl_libecore_sdl_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@ 19lib_ecore_sdl_libecore_sdl_la_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
35endif 20endif