3 LOCAL_PATH
=`dirname $0`
4 LOCAL_PATH
=`cd $LOCAL_PATH && pwd`
6 ln -sf libsdl-1.2.so
$LOCAL_PATH/..
/..
/..
/obj
/local
/armeabi
/libSDL.so
8 if [ \
! -f configure
] ; then
12 if [ \
! -f Makefile
] ; then
14 # Set here your own NDK path if needed
15 # export PATH=$PATH:~/src/endless_space/android-ndk-r4b
16 # export PATH=$PATH:~/src/endless_space/android-ndk-r5b
23 LOCAL_PATH
=`dirname $0`
24 LOCAL_PATH
=`cd $LOCAL_PATH && pwd`
26 SCRIPT
=setEnvironment-r4b.sh
28 if [ -n "`echo $NDK | grep 'android-ndk-r[56]'`" ]; then
29 SCRIPT
=setEnvironment-r5b.sh
30 if [ -n "`echo $NDK | grep 'android-ndk-r5-crystax-1'`" ]; then
35 env CRYSTAX_WCHAR
=$CRYSTAX_WCHAR $LOCAL_PATH/$SCRIPT "$@"
37 .
/android
/setEnvironment.sh sh
-c "./configure --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gui"
40 make -C PUAE
&& mv -f src
/uae libapplication.so