DIR_MODE=0755
OWNER=root
-if [ -z $1 ]
-then
- MAKEOPTS="-j1"
- DEBUG="no"
+if [ "$1" = "debug" ]
+thenÑ
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
else
- if [ "$1" = "debug" ]
- then
- DEFS="-DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
DIR_MODE=0755
OWNER=root
-if [ -z $1 ]
+if [ "$1" = "debug" ]
then
- MAKEOPTS="-j1"
- DEBUG="no"
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
else
- if [ "$1" = "debug" ]
- then
- DEFS="-DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
DIR_MODE=0755
OWNER=root
-if [ -z $1 ]
+if [ "$1" = "debug" ]
then
- MAKEOPTS="-j1"
- DEBUG="no"
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
else
- if [ "$1" = "debug" ]
- then
- DEFS="-DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
DIR_MODE=0755
OWNER=root
-if [ -z $1 ]
+if [ "$1" = "debug" ]
then
- MAKEOPTS="-j1"
- DEBUG="no"
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
else
- if [ "$1" = "debug" ]
- then
- DEFS="-DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
DIR_MODE=0755
OWNER=root
-if [ -z $1 ]
+if [ "$1" = "debug" ]
then
- MAKEOPTS="-j1"
- DEBUG="no"
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
else
- if [ "$1" = "debug" ]
- then
- DEFS="-DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"
DIR_MODE=0755
OWNER=root
VAR_DIR="./inst/var/stargazer"
-DEFS="-DDEBUG"
-MAKEOPTS="-j1"
+
+if [ "$1" = "debug" ]
+then
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -Wextra"
+ DEBUG="yes"
+else
+ DEFS="$DEFS -DNDEBUG"
+ DEBUG="no"
+fi
+
CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
-DEBUG="yes"
if [ "$sys" = "Linux" ]
then
XMLRPC_FEATURES="c++2 abyss-server"
-if [ -z "$1" ]
+if [ "$1" = "debug" ]
then
+ DEFS="$DEFS -DDEBUG"
+ MAKEOPTS="$MAKEOPTS -j1"
+ CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
+ DEBUG="yes"
+else
DEFS="$DEFS -DNDEBUG"
- MAKEOPTS="-j1"
DEBUG="no"
-else
- if [ "$1" = "debug" ]
- then
- DEFS="$DEFS -DDEBUG"
- MAKEOPTS="-j1"
- CXXFLAGS="$CXXFLAGS -ggdb3 -W -Wall"
- DEBUG="yes"
- else
- DEFS="$DEFS -DNDEBUG"
- MAKEOPTS="-j1"
- DEBUG="no"
- fi
fi
CXXFLAGS="$CXXFLAGS -I/usr/local/include"