pcsx2/plugins/spu2-x/src/build.sh

45 lines
595 B
Bash
Raw Normal View History

#!/bin/sh
curdir=`pwd`
echo
echo SPU2-X is Windows only. Aborting.
if [ 1 == 0 ]
then
if [ $# -gt 0 ] && [ $1 = "all" ]
then
cd ../../../3rdparty/SoundTouch/
sh build.sh $@
cd $curdir
rm libSoundTouch.a
cp ../../../3rdparty/SoundTouch/libSoundTouch.a ./
echo
echo -----------------
echo Building SPU2-X
echo -----------------
if test "${SPU2XOPTIONS+set}" != set ; then
export SPU2XOPTIONS=""
fi
aclocal
automake -a
autoconf
./configure ${SPU2XOPTIONS} --prefix=${PCSX2PLUGINS}
make clean
make install
else
make $@
fi
if [ $? -ne 0 ]
then
exit 1
fi
fi
#cp libSPU2X*.so* ${PCSX2PLUGINS}