2013-02-10 13:59:37 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2013-05-01 02:19:07 +00:00
|
|
|
BASE_DIR=$(pwd)
|
2013-04-30 02:42:41 +00:00
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/xdk360
|
2013-02-10 13:59:37 +00:00
|
|
|
FORMAT=_xdk360
|
2013-05-18 00:11:06 +00:00
|
|
|
FORMAT_EXT=lib
|
2013-02-10 14:10:48 +00:00
|
|
|
MSVC_NAME=msvc-2010-360
|
2013-02-10 13:59:37 +00:00
|
|
|
|
|
|
|
die()
|
|
|
|
{
|
|
|
|
echo $1
|
|
|
|
#exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
build_libretro_fba()
|
|
|
|
{
|
2013-04-30 02:42:41 +00:00
|
|
|
cd $BASE_DIR
|
|
|
|
if [ -d "libretro-fba" ]; then
|
2013-02-10 13:59:37 +00:00
|
|
|
echo "=== Building Final Burn Alpha ==="
|
2013-04-30 02:42:41 +00:00
|
|
|
cd libretro-fba/
|
|
|
|
cd svn-current/trunk
|
2013-02-10 13:59:37 +00:00
|
|
|
cd projectfiles/visualstudio-2010-libretro-360
|
2013-02-10 14:10:48 +00:00
|
|
|
cmd.exe /k $MSVC_NAME.bat
|
2013-05-18 00:11:06 +00:00
|
|
|
cp Release_LTCG/fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR
|
2013-02-10 13:59:37 +00:00
|
|
|
else
|
|
|
|
echo "Final Burn Alpha not fetched, skipping ..."
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-04-30 02:42:41 +00:00
|
|
|
source $BASE_DIR/libretro-build-common-xdk.sh
|
2013-04-23 23:06:34 +00:00
|
|
|
|
2013-05-03 15:22:09 +00:00
|
|
|
if [ $1 ]; then
|
|
|
|
$1
|
|
|
|
else
|
|
|
|
build_libretro_mednafen
|
|
|
|
build_libretro_s9x_next
|
|
|
|
build_libretro_genplus
|
|
|
|
build_libretro_fba
|
|
|
|
build_libretro_vba
|
|
|
|
build_libretro_fceu
|
|
|
|
build_libretro_gambatte
|
2013-05-18 14:55:00 +00:00
|
|
|
build_libretro_nx
|
2013-05-03 15:22:09 +00:00
|
|
|
build_libretro_prboom
|
|
|
|
build_libretro_nestopia
|
|
|
|
build_libretro_tyrquake
|
|
|
|
fi
|