2009-02-06 19:52:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
|
|
|
echo -----------------
|
|
|
|
echo Building ZeroSPU2
|
|
|
|
echo -----------------
|
|
|
|
|
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
|
|
|
|
|
|
|
|
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}
|