Added PUAE makefiles, it fails to link though

This commit is contained in:
pelya
2011-08-29 18:17:00 +03:00
parent d4baacd8a6
commit b1c2c0f2ce
7 changed files with 1224 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#!/bin/sh
LOCAL_PATH=`dirname $0`
LOCAL_PATH=`cd $LOCAL_PATH && pwd`
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libSDL.so
ln -sf libsdl-1.2.so $LOCAL_PATH/../../../obj/local/armeabi/libpthread.so
if [ \! -f PUAE/configure ] ; then
sh -c "cd PUAE && ./bootstrap.sh"
fi
if [ \! -f PUAE/Makefile ] ; then
../setEnvironment.sh sh -c "cd PUAE && env SDL_CONFIG=$LOCAL_PATH/../sdl-config ./configure --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gui --disable-gtktest"
fi
make -C PUAE -j4 && mv -f PUAE/puae libapplication.so