libretro-super/libretro-build-xdk1.sh

62 lines
1.7 KiB
Bash
Raw Normal View History

2013-02-10 10:01:43 -05:00
#!/bin/sh
2013-04-30 22:19:07 -04:00
BASE_DIR=$(pwd)
RARCH_DIR=$BASE_DIR/dist
RARCH_DIST_DIR=$RARCH_DIR/xdk1
2013-02-10 10:01:43 -05:00
FORMAT=_xdk
LIB_EXT=lib
MSVC_NAME=msvc-2003-xbox1
die()
{
echo $1
#exit 1
}
build_libretro_fba()
{
2013-04-29 23:57:01 -04:00
cd $BASE_DIR
if [ -d "libretro-fba" ]; then
2013-02-10 10:01:43 -05:00
echo "=== Building Final Burn Alpha ==="
cd libretro-fba/
cd svn-current/trunk
2013-02-10 10:01:43 -05:00
cd projectfiles/visualstudio-2003-libretro-xbox1
cmd.exe /k $MSVC_NAME.bat
cp Release_LTCG/fb_alpha_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR
2013-02-17 08:19:17 -05:00
echo "=== Building Final Burn Alpha Cores (CPS1) ==="
cd ../../fbacores/cps1/projectfiles/visualstudio-2003-libretro-xbox1
cmd.exe /k $MSVC_NAME.bat
cp Release_LTCG/fb_alpha_libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR/fba_cores_cps1_libretro$FORMAT.$LIB_EXT
cd ../../../../
echo "=== Building Final Burn Alpha Cores (CPS2) ==="
cd fbacores/cps2/projectfiles/visualstudio-2003-libretro-xbox1
cmd.exe /k $MSVC_NAME.bat
cp Release_LTCG/libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR/fba_cores_cps2_libretro$FORMAT.$LIB_EXT
cd ../../../../
echo "=== Building Final Burn Alpha Cores (NeoGeo) ==="
cd fbacores/neogeo/projectfiles/visualstudio-2003-libretro-xbox1
cmd.exe /k $MSVC_NAME.bat
cp Release_LTCG/libretro$FORMAT.$LIB_EXT $RARCH_DIST_DIR/fba_cores_neo_libretro$FORMAT.$LIB_EXT
2013-02-10 10:01:43 -05:00
else
echo "Final Burn Alpha not fetched, skipping ..."
fi
}
source $BASE_DIR/libretro-build-common-xdk.sh
2013-04-23 19:06:34 -04:00
2013-02-10 10:01:43 -05:00
build_libretro_mednafen
build_libretro_s9x_next
build_libretro_genplus
build_libretro_fba
build_libretro_vba
build_libretro_fceu
build_libretro_gambatte
#build_libretro_nx
2013-02-10 10:01:43 -05:00
build_libretro_prboom
build_libretro_nestopia
2013-04-23 19:06:34 -04:00
build_libretro_tyrquake
2013-02-10 10:01:43 -05:00