Ecore: Port ecore to the PS3

SVN revision: 64781
This commit is contained in:
Youness Alaoui 2011-11-05 17:49:49 +00:00
parent c21427071b
commit 1dfc25fedf
6 changed files with 57 additions and 0 deletions

View File

@ -468,6 +468,22 @@ case "$host_os" in
;;
esac
have_ps3=""
case "$host_vendor" in
ps3*)
have_ps3="yes"
PKG_CHECK_MODULES([ESCAPE], [escape])
CFLAGS="$CFLAGS $ESCAPE_CFLAGS"
AC_DEFINE(HAVE_ESCAPE, 1, [Set to 1 if Escape library is installed])
requirements_ecore="escape ${requirements_ecore}"
requirements_ecore_evas="escape ${requirements_ecore_evas}"
requirements_ecore_file="escape ${requirements_ecore_file}"
requirements_ecore_imf="escape ${requirements_ecore_imf}"
requirements_ecore_imf_evas="escape ${requirements_ecore_imf_evas}"
requirements_ecore_sdl="escape ${requirements_ecore_sdl}"
;;
esac
AC_SUBST(EFL_ECORE_BUILD)
AC_SUBST(EFL_ECORE_CON_BUILD)
AC_SUBST(EFL_ECORE_EVAS_BUILD)
@ -483,6 +499,7 @@ AC_SUBST(EFL_ECORE_SDL_BUILD)
AM_CONDITIONAL(ECORE_HAVE_WINCE, test "x${have_wince}" = "xyes")
AM_CONDITIONAL(ECORE_HAVE_WIN32, test "x${have_win32}" = "xyes")
AM_CONDITIONAL(ECORE_HAVE_PS3, test "x${have_ps3}" = "xyes")
WIN32_LIBS=""
case "$host_os" in

View File

@ -40,12 +40,20 @@ libecore_la_SOURCES += ecore_exe_wince.c
else
if ECORE_HAVE_PS3
libecore_la_SOURCES += ecore_exe_ps3.c
else
libecore_la_SOURCES += ecore_signal.c ecore_exe.c
endif
endif
endif
libecore_la_LIBADD = @dlopen_libs@ @EINA_LIBS@ @EVIL_LIBS@ @GLIB_LIBS@ @WIN32_LIBS@ @LTLIBINTL@ @EFL_PTHREAD_LIBS@ @rt_libs@ -lm
libecore_la_LDFLAGS = -no-undefined @lt_enable_auto_import@ -version-info @version_info@ @release_info@ @EFL_PTHREAD_LIBS@

View File

@ -0,0 +1,20 @@
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#ifdef HAVE_ESCAPE
# include <Escape.h>
#endif
#include "Ecore.h"
#include "ecore_private.h"
void
_ecore_exe_init(void)
{
}
void
_ecore_exe_shutdown(void)
{
}

View File

@ -32,6 +32,10 @@
# include <Evil.h>
#endif
#ifdef HAVE_ESCAPE
# include <Escape.h>
#endif
#include "Ecore.h"
#include "ecore_private.h"

View File

@ -21,6 +21,10 @@
# include <ws2tcpip.h>
#endif
#ifdef HAVE_ESCAPE
# include <Escape.h>
#endif
#include "Ecore.h"
#include "ecore_private.h"
#include "Ecore_Con.h"

View File

@ -13,6 +13,10 @@
# include <Evil.h>
#endif
#ifdef HAVE_ESCAPE
# include <Escape.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <dirent.h>