#### Escape
+USE_ESCAPE_CFLAGS=""
+USE_ESCAPE_LIBS=""
+
if test "x${have_ps3}" = "xyes" ; then
AC_MSG_NOTICE([Escape checks])
platform_pc_escape="escape >= ${PACKAGE_VERSION}"
platform_pc="${platform_pc} ${platform_pc_escape}"
+
+USE_ESCAPE_CFLAGS="-I\$(top_srcdir)/src/lib/escape"
+USE_ESCAPE_LIBS="lib/escape/libescape.la"
fi
+AC_SUBST([USE_ESCAPE_CFLAGS])
+AC_SUBST([USE_ESCAPE_LIBS])
+
#### End of Escape
AC_SUBST([DL_LIBS])
@EFL_CFLAGS@ \
@EFL_COV_CFLAGS@ \
@ECORE_CFLAGS@ \
-@USE_EVIL_CFLAGS@
-
-if HAVE_PS3
-lib_ecore_libecore_la_CPPFLAGS += \
--I$(top_srcdir)/src/lib/escape
-endif
+@USE_EVIL_CFLAGS@ \
+@USE_ESCAPE_CFLAGS@
lib_ecore_libecore_la_LIBADD = \
lib/eo/libeo.la \
lib/eina/libeina.la \
-@USE_EVIL_LIBS@
-
-if HAVE_PS3
-lib_ecore_libecore_la_LIBADD += lib/escape/libescape.la
-endif
-
-lib_ecore_libecore_la_LIBADD += @ECORE_LIBS@ @EFL_COV_LIBS@ -lm
+@USE_EVIL_LIBS@ \
+@USE_ESCAPE_LIBS@ \
+@ECORE_LIBS@ \
+@EFL_COV_LIBS@ \
+-lm
lib_ecore_libecore_la_LDFLAGS = -no-undefined -version-info @version_info@ @release_info@