2013-12-08 17:10:42 -08:00
|
|
|
#!/bin/bash
|
2013-02-10 14:59:37 +01:00
|
|
|
|
2013-05-01 04:19:07 +02:00
|
|
|
BASE_DIR=$(pwd)
|
2013-04-30 04:42:41 +02:00
|
|
|
RARCH_DIR=$BASE_DIR/dist
|
|
|
|
RARCH_DIST_DIR=$RARCH_DIR/xdk360
|
2013-02-10 14:59:37 +01:00
|
|
|
FORMAT=_xdk360
|
2013-05-18 02:11:06 +02:00
|
|
|
FORMAT_EXT=lib
|
2013-02-10 15:10:48 +01:00
|
|
|
MSVC_NAME=msvc-2010-360
|
2014-03-15 16:05:24 +01:00
|
|
|
RELEASE_LTCG=Release_LTCG
|
2014-03-15 17:57:35 +01:00
|
|
|
RELEASE=Release
|
2013-02-10 14:59:37 +01:00
|
|
|
|
|
|
|
die()
|
|
|
|
{
|
|
|
|
echo $1
|
|
|
|
#exit 1
|
|
|
|
}
|
|
|
|
|
|
|
|
build_libretro_fba()
|
|
|
|
{
|
2013-04-30 04:42:41 +02:00
|
|
|
cd $BASE_DIR
|
|
|
|
if [ -d "libretro-fba" ]; then
|
2013-02-10 14:59:37 +01:00
|
|
|
echo "=== Building Final Burn Alpha ==="
|
2013-04-30 04:42:41 +02:00
|
|
|
cd libretro-fba/
|
|
|
|
cd svn-current/trunk
|
2013-02-10 14:59:37 +01:00
|
|
|
cd projectfiles/visualstudio-2010-libretro-360
|
2013-02-10 15:10:48 +01:00
|
|
|
cmd.exe /k $MSVC_NAME.bat
|
2014-03-15 16:08:16 +01:00
|
|
|
cp $RELEASE_LTCG/fb_alpha_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR
|
2013-02-10 14:59:37 +01:00
|
|
|
else
|
|
|
|
echo "Final Burn Alpha not fetched, skipping ..."
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
2013-04-30 04:42:41 +02:00
|
|
|
source $BASE_DIR/libretro-build-common-xdk.sh
|
2013-04-24 01:06:34 +02:00
|
|
|
|
2013-05-03 17:22:09 +02:00
|
|
|
if [ $1 ]; then
|
|
|
|
$1
|
|
|
|
else
|
2014-06-23 00:41:47 +02:00
|
|
|
#build_libretro_beetle_lynx
|
2014-06-22 23:34:25 +02:00
|
|
|
build_libretro_beetle_gba
|
2014-06-22 02:12:59 +02:00
|
|
|
build_libretro_beetle_ngp
|
|
|
|
build_libretro_beetle_pce_fast
|
2014-06-22 05:13:43 +02:00
|
|
|
build_libretro_beetle_supergrafx
|
2014-06-22 03:14:12 +02:00
|
|
|
build_libretro_beetle_pcfx
|
2014-06-22 02:12:59 +02:00
|
|
|
build_libretro_beetle_vb
|
|
|
|
build_libretro_beetle_wswan
|
2014-06-23 01:50:36 +02:00
|
|
|
#build_libretro_beetle_bsnes
|
2014-08-22 12:17:52 +02:00
|
|
|
build_libretro_snes9x_next
|
2014-08-22 12:28:27 +02:00
|
|
|
build_libretro_genesis_plus_gx
|
2014-08-22 15:39:20 +02:00
|
|
|
build_libretro_fb_alpha
|
2013-08-15 14:50:25 +02:00
|
|
|
build_libretro_vba_next
|
2014-04-14 05:53:23 +02:00
|
|
|
build_libretro_fceumm
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_gambatte
|
2013-05-18 16:55:00 +02:00
|
|
|
build_libretro_nx
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_prboom
|
2014-03-09 18:40:05 +01:00
|
|
|
#build_libretro_stella
|
|
|
|
#build_libretro_quicknes
|
2013-05-03 17:22:09 +02:00
|
|
|
build_libretro_nestopia
|
|
|
|
build_libretro_tyrquake
|
2014-03-09 18:40:05 +01:00
|
|
|
build_libretro_mame078
|
2013-05-03 17:22:09 +02:00
|
|
|
fi
|