2015-02-17 03:19:30 +00:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
# vim: set ts=3 sw=3 noet ft=sh : bash
|
2013-02-10 13:59:37 +00:00
|
|
|
|
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
|
2014-03-15 15:05:24 +00:00
|
|
|
RELEASE_LTCG=Release_LTCG
|
2014-03-15 16:57:35 +00:00
|
|
|
RELEASE=Release
|
2013-02-10 13:59:37 +00:00
|
|
|
|
|
|
|
die()
|
|
|
|
{
|
2015-02-17 03:19:30 +00:00
|
|
|
echo $1
|
|
|
|
#exit 1
|
2013-02-10 13:59:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
build_libretro_fba()
|
|
|
|
{
|
2015-02-17 03:19:30 +00:00
|
|
|
cd $BASE_DIR
|
2016-08-05 17:14:09 +00:00
|
|
|
if [ -d "libretro-fbalpha2012" ]; then
|
2015-02-17 03:19:30 +00:00
|
|
|
echo "=== Building Final Burn Alpha ==="
|
2016-08-05 17:14:09 +00:00
|
|
|
cd libretro-fbalpha2012/
|
2015-02-17 03:19:30 +00:00
|
|
|
cd svn-current/trunk
|
|
|
|
cd projectfiles/visualstudio-2010-libretro-360
|
|
|
|
cmd.exe /k $MSVC_NAME.bat
|
2016-08-05 17:14:09 +00:00
|
|
|
cp $RELEASE_LTCG/fbalpha2012_libretro$FORMAT.${FORMAT_EXT} $RARCH_DIST_DIR
|
2015-02-17 03:19:30 +00:00
|
|
|
else
|
|
|
|
echo "Final Burn Alpha not fetched, skipping ..."
|
|
|
|
fi
|
2013-02-10 13:59:37 +00:00
|
|
|
}
|
|
|
|
|
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
|
2015-02-17 03:19:30 +00:00
|
|
|
$1
|
2013-05-03 15:22:09 +00:00
|
|
|
else
|
2017-09-16 07:59:42 +00:00
|
|
|
# 2048 - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_2048
|
2017-09-16 07:53:20 +00:00
|
|
|
# 4DO - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_4do
|
2015-02-17 03:19:30 +00:00
|
|
|
#build_libretro_beetle_lynx
|
2017-09-15 13:16:23 +00:00
|
|
|
#build_libretro_beetle_gba
|
2017-09-16 05:08:43 +00:00
|
|
|
build_libretro_beetle_ngp
|
2017-09-15 13:16:23 +00:00
|
|
|
#build_libretro_beetle_pce_fast
|
|
|
|
#build_libretro_beetle_supergrafx
|
|
|
|
#build_libretro_beetle_pcfx
|
|
|
|
#build_libretro_mednafen_psx
|
|
|
|
#build_libretro_beetle_vb
|
|
|
|
#build_libretro_beetle_wswan
|
2015-02-17 03:19:30 +00:00
|
|
|
#build_libretro_beetle_bsnes
|
2017-09-15 13:16:23 +00:00
|
|
|
#build_libretro_snes9x2010
|
2017-09-16 05:28:06 +00:00
|
|
|
build_libretro_snes9x
|
2017-09-16 04:55:18 +00:00
|
|
|
build_libretro_genesis_plus_gx
|
2017-09-15 13:16:23 +00:00
|
|
|
#build_libretro_fb_alpha
|
2015-02-17 03:19:30 +00:00
|
|
|
build_libretro_vba_next
|
|
|
|
build_libretro_fceumm
|
2017-09-16 03:51:48 +00:00
|
|
|
build_libretro_gambatte
|
|
|
|
build_libretro_nx
|
2017-09-16 05:01:39 +00:00
|
|
|
# O2EM - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_o2em
|
2017-09-16 06:53:57 +00:00
|
|
|
# PocketCDG - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_pocketcdg
|
|
|
|
# PokeMini - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_pokemini
|
2017-09-16 06:01:56 +00:00
|
|
|
# Prosystem - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_prosystem
|
2017-09-16 03:51:48 +00:00
|
|
|
build_libretro_prboom
|
2017-09-16 04:37:05 +00:00
|
|
|
build_libretro_stella
|
2017-09-16 04:29:13 +00:00
|
|
|
build_libretro_quicknes
|
2015-02-17 03:19:30 +00:00
|
|
|
build_libretro_nestopia
|
2017-09-15 13:16:23 +00:00
|
|
|
#build_libretro_tyrquake
|
|
|
|
#build_libretro_mame078
|
2017-09-16 05:39:04 +00:00
|
|
|
# Vecx - not tested yet - could be endian unsafe
|
|
|
|
#build_libretro_vecx
|
2013-05-03 15:22:09 +00:00
|
|
|
fi
|