added DEBUG on demand
authorJan Pospíšil <honik@ntc.zcu.cz>
Fri, 6 Oct 2006 12:17:00 +0000 (12:17 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Fri, 6 Oct 2006 12:17:00 +0000 (12:17 +0000)
org.glite.lb.client/Makefile

index 69601b2..63b749c 100644 (file)
@@ -60,12 +60,15 @@ l_SRC = \
 
 sh_PROGS = $(l_SRC:.l=.sh)
 
-
-DEBUG:=-g -O0 -Wall
-
 GLOBUSINC:= -I${globus_prefix}/include/${nothrflavour}
 GLOBUSTHRINC:= -I${globus_prefix}/include/${thrflavour}
 
+ifdef DEBUG
+       DEBUG:=-g -O0 -Wall -DEDG_WLL_LOG_STUB
+else
+       DEBUG:=-g -O0 -Wall
+endif
+
 ifdef LB_STANDALONE
         LB_STANDALONE_FLAGS:=-DLB_STANDALONE
 endif