2009-02-06 19:52:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
2009-02-20 03:22:19 +00:00
|
|
|
if test "${ZEROSPU2OPTIONS+set}" != set ; then
|
|
|
|
export ZEROSPU2OPTIONS=""
|
|
|
|
fi
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
|
|
then
|
|
|
|
|
2014-08-13 08:54:31 +00:00
|
|
|
cd ../../3rdparty/soundtouch/
|
2009-02-27 00:07:07 +00:00
|
|
|
sh build.sh $@
|
|
|
|
cd $curdir
|
|
|
|
|
|
|
|
rm libSoundTouch.a
|
2014-08-13 08:54:31 +00:00
|
|
|
cp ../../3rdparty/soundtouch/libSoundTouch.a ./
|
2009-02-27 00:07:07 +00:00
|
|
|
|
|
|
|
echo -----------------
|
|
|
|
echo Building ZeroSPU2
|
|
|
|
echo -----------------
|
|
|
|
|
2009-02-06 19:52:59 +00:00
|
|
|
aclocal
|
|
|
|
automake -a
|
|
|
|
autoconf
|
2009-02-20 03:22:19 +00:00
|
|
|
./configure ${ZEROSPU2OPTIONS} --prefix=${PCSX2PLUGINS}
|
2009-02-06 19:52:59 +00:00
|
|
|
make clean
|
|
|
|
make install
|
|
|
|
|
|
|
|
else
|
|
|
|
make $@
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]
|
|
|
|
then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
#cp libZeroSPU2*.so* ${PCSX2PLUGINS}
|