2009-02-06 21:58:59 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo ----------------
|
|
|
|
echo Building CDVDiso
|
|
|
|
echo ----------------
|
|
|
|
|
2009-05-02 13:42:13 +00:00
|
|
|
curdir=`pwd`
|
|
|
|
|
|
|
|
|
|
|
|
if test "${CDVDisoOPTIONS+set}" != set ; then
|
|
|
|
export CDVDisoOPTIONS=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd src
|
|
|
|
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
|
|
then
|
|
|
|
|
|
|
|
aclocal
|
|
|
|
automake -a
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
./configure ${CDVDisoOPTIONS} --prefix=${PCSX2PLUGINS}
|
2009-02-13 09:57:15 +00:00
|
|
|
make clean
|
2009-05-02 13:42:13 +00:00
|
|
|
make install
|
|
|
|
|
|
|
|
else
|
2009-02-06 21:58:59 +00:00
|
|
|
make $@
|
2009-05-02 13:42:13 +00:00
|
|
|
fi
|
2009-02-06 21:58:59 +00:00
|
|
|
|
2009-05-02 13:42:13 +00:00
|
|
|
if [ $? -ne 0 ]
|
2009-02-06 21:58:59 +00:00
|
|
|
then
|
2009-05-02 13:42:13 +00:00
|
|
|
exit 1
|
2009-02-06 21:58:59 +00:00
|
|
|
fi
|