all: info clanlib flexlay info: @echo "### This scripting is trying to download ClanLib and build Flexlay" @echo "### The script does not try to download and build Ruby, Swig, SVN " @echo "### or automake/conf, these dependencies you have to provide by yourself." @echo "" clanlib: svn checkout https://clanlib.org/svn/ClanLib/Development/ClanLib-0.7 ClanLib-0.7 && \ pushd ClanLib-0.7 && \ chmod +x autogen.sh && \ ./autogen.sh && \ ./configure --prefix=$$PWD/../ClanLib-build --disable-docs --disable-clanSDL --disable-clanSound --disable-clanNetwork --enable-debug --enable-static && \ make && \ make install && \ popd && \ touch clanlib.complete swig: flexlay: clanlib.complete swig svn checkout svn://svn.berlios.de/flexlay/trunk/ flexlay && \ pushd flexlay && \ export CLANLIB_PREFIX=$$PWD/../ClanLib-build && \ export PKG_CONFIG_PATH=$$CLANLIB_PREFIX/lib/pkgconfig/ && \ export LD_LIBRARY_PATH=$$CLANLIB_PREFIX/lib/ && \ export LD_RUN_PATH=$$CLANLIB_PREFIX/lib/ && \ export LIBRARY_PATH=$$CLANLIB_PREFIX/lib/ && \ export CPLUS_INCLUDE_PATH=$$CLANLIB_PREFIX/include/ && \ export C_INCLUDE_PATH=$$CLANLIB_PREFIX/include/ && \ scons -k && \ popd # EOF #