2008-11-06 23:27:06 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2009-05-02 02:29:48 +00:00
|
|
|
echo ---------------
|
2008-11-06 23:27:06 +00:00
|
|
|
echo Building USBnull
|
2009-05-02 02:29:48 +00:00
|
|
|
echo ---------------
|
2008-11-06 23:27:06 +00:00
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
2009-05-02 02:29:48 +00:00
|
|
|
|
|
|
|
if test "${USBnullOPTIONS+set}" != set ; then
|
|
|
|
export USBnullOPTIONS=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
|
|
then
|
|
|
|
|
|
|
|
aclocal
|
|
|
|
automake -a
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
./configure ${USBnullOPTIONS} --prefix=${PCSX2PLUGINS}
|
|
|
|
make clean
|
|
|
|
make install
|
|
|
|
|
|
|
|
else
|
2008-11-06 23:27:06 +00:00
|
|
|
make $@
|
2009-05-02 02:29:48 +00:00
|
|
|
fi
|
2008-11-06 23:27:06 +00:00
|
|
|
|
|
|
|
if [ $? -ne 0 ]
|
|
|
|
then
|
|
|
|
exit 1
|
|
|
|
fi
|