2008-11-06 23:27:06 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
echo ---------------
|
|
|
|
echo Building FWnull
|
|
|
|
echo ---------------
|
|
|
|
|
|
|
|
curdir=`pwd`
|
|
|
|
|
2009-05-02 00:51:17 +00:00
|
|
|
|
|
|
|
if test "${FWnullOPTIONS+set}" != set ; then
|
|
|
|
export FWnullOPTIONS=""
|
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $# -gt 0 ] && [ $1 = "all" ]
|
|
|
|
then
|
|
|
|
|
|
|
|
aclocal
|
|
|
|
automake -a
|
|
|
|
autoconf
|
|
|
|
|
|
|
|
./configure ${FWnullOPTIONS} --prefix=${PCSX2PLUGINS}
|
2009-02-13 09:57:15 +00:00
|
|
|
make clean
|
2009-05-02 00:51:17 +00:00
|
|
|
make install
|
|
|
|
|
|
|
|
else
|
2008-11-06 23:27:06 +00:00
|
|
|
make $@
|
2009-05-02 00:51:17 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
if [ $? -ne 0 ]
|
|
|
|
then
|
|
|
|
exit 1
|
|
|
|
fi
|
2008-11-06 23:27:06 +00:00
|
|
|
|
|
|
|
if [ -s cfgFWnull ] && [ -s libFWnull.so ]
|
|
|
|
then
|
|
|
|
cp cfgFWnull libFWnull.so ${PCSX2PLUGINS}
|
|
|
|
fi
|