Added Dosbox makefiles provided by Lubomyr

This commit is contained in:
pelya
2011-02-02 14:56:39 +00:00
parent a4cb94028c
commit aa1bea227e
6 changed files with 118 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#!/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
if [ \! -f dosbox-0.74/configure ] ; then
sh -c "cd dosbox-0.74 && ./autogen.sh"
fi
if [ \! -f dosbox-0.74/Makefile ] ; then
../setEnvironment.sh sh -c "cd dosbox-0.74 && ./configure --build=x86_64-unknown-linux-gnu --host=arm-linux-androideabi"
fi
../setEnvironment.sh sh -c "cd dosbox-0.74 && make -j1 VERBOSE=1 STRIP='' LIBS='-lsdl-1.2 -lpng -lgcc -lz -lc -lstdc++'" && cp -f dosbox-0.74/src/dosbox libapplication.so