+case "$PROJECT_NAME" in
+babeltrace)
+ export BABELTRACE_DEV_MODE=1
+ export BABELTRACE_DEBUG_MODE=1
+ export BABELTRACE_MINIMAL_LOG_LEVEL=TRACE
+ CONF_OPTS="--enable-python-bindings --enable-python-bindings-doc --enable-python-plugins"
+ BUILD_TYPE="autotools"
+ ;;
+liburcu)
+ CONF_OPTS=""
+ BUILD_TYPE="autotools"
+ ;;
+lttng-modules)
+ CONF_OPTS=""
+ BUILD_TYPE="autotools"
+ ;;
+lttng-tools)
+ CONF_OPTS=""
+ BUILD_TYPE="autotools"
+ ;;
+lttng-ust)
+ CONF_OPTS="--enable-java-agent-all --enable-python-agent"
+ BUILD_TYPE="autotools"
+ export CLASSPATH="/usr/share/java/log4j-1.2.jar"
+ ;;
+linux-rseq)
+ CONF_OPTS=""
+ BUILD_TYPE="linux-rseq"
+ ;;
+*)
+ echo "Generic project, no configure options."
+ CONF_OPTS=""
+ BUILD_TYPE="autotools"
+ ;;
+esac
+
+# liburcu dependency
+if [ -d "$WORKSPACE/deps/liburcu" ]; then
+ URCU_INCS="$WORKSPACE/deps/liburcu/build/include/"
+ URCU_LIBS="$WORKSPACE/deps/liburcu/build/lib/"
+
+ export CPPFLAGS="-I$URCU_INCS ${CPPFLAGS:-}"
+ export LDFLAGS="-L$URCU_LIBS ${LDFLAGS:-}"
+ export LD_LIBRARY_PATH="$URCU_LIBS:${LD_LIBRARY_PATH:-}"
+fi