echo " makes the rabbit to turn when no trace is loaded"
echo ""
echo " --enable_otf"
echo " enables the otf support. The otf release used by default is in the src/general directory"
## Will be added later
echo " --otf_include_dir=<path> set the otf directory path (default is general/otf/otflib if --enable_otf is set)"
echo " --otf_library_dir=<path> set the otf library path (<path>/libotf.a)"
echo " enables the otf support (You can find an OTF release in the src/general directory)"
echo ""
echo " --otf_dir=<path>"
echo " path to the OTF library"
echo ""
echo " --otf_incdir=<path>"
echo " include path to the OTF headers"
echo ""
echo " --otf_libdir=<path>"
echo " library path to the OTF libraries"
echo ""
echo " --enable_tau"
echo " enables the tau support. The tau release used by default is in the src/general directory" # search in /usr/include, /usr/lib and if not found ask to download and install.
if [ $with_otf = 1 -a $with_otf_lib_default = 1 ]; then # set the directory... should be decided by the user, we will see after how to do beautiful options :)
cat >> "$makefile" <<EOF
OTFLIB_DIR = ./src/general/otf
all:
make -C \$(OTFLIB_DIR)
rm -rf \$(OTFLIB_DIR)/otflib/.libs/*so*
rm -rf \$(OTFLIB_DIR)/otflib/.libs/*dylib* # For mac
EOF
else
cat >> "$makefile" <<EOF
all:
EOF
fi
if "$WHICH" qmake-qt4 >/dev/null 2>&1 ; then
cat >> "$makefile" <<EOF
cd ./src && qmake-qt4 -makefile -o Makefile $compilation_src_pro && make
...
...
@@ -309,11 +322,6 @@ fi
EOF
if [ $with_otf = 1 -a $with_otf_lib_default = 1 ]; then