]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/build
Added common functions for tests.
[stg.git] / projects / sgauthstress / build
index 825f00b5cde4b0ef7f933f1205ecf9344e4e1a7b..29b106751b6153e1ff28a172edc91223527fc695 100755 (executable)
@@ -60,7 +60,7 @@ then
 fi
 
 if [ "$OS" = "unknown" ]
-then 
+then
     printf "################################################################################\n"
     printf "# Sorry, but sgauthstress currently supported by Linux, FreeBSD 4.x-8.x        #\n"
     printf "################################################################################\n"
@@ -72,9 +72,8 @@ printf "       Building sgauthstress for $sys $release\n"
 printf "#############################################################################\n"
 
 STG_LIBS="logger.lib
-          locker.lib
-          crypto.lib 
-         common.lib 
+          crypto.lib
+         common.lib
           conffiles.lib
           dotconfpp.lib"
 
@@ -299,4 +298,10 @@ printf "BIN_MODE=$BIN_MODE\n" >> $CONFFILE
 printf "DATA_MODE=$DATA_MODE\n" >> $CONFFILE
 printf "DIR_MODE=$DIR_MODE\n" >> $CONFFILE
 printf "OWNER=$OWNER\n" >> $CONFFILE
-$MAKE $MAKEOPTS
+
+if [ "$1" != "debug" ]
+then
+    $MAKE $MAKEOPTS
+else
+    printf "\n\n\nDebug build. Type $MAKE explicitly\n"
+fi