2009-02-20 21:48:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
2009-02-28 08:00:56 +00:00
|
|
|
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
|
2009-02-20 21:48:59 +00:00
|
|
|
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
|
2009-02-28 08:00:56 +00:00
|
|
|
#cp libSPU2X*.so* ${PCSX2PLUGINS}
|