From 9e643b68359c774224d247046efafd025062aabe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20Posp=C3=AD=C5=A1il?= Date: Fri, 6 Oct 2006 12:17:00 +0000 Subject: [PATCH] added DEBUG on demand --- org.glite.lb.client/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/org.glite.lb.client/Makefile b/org.glite.lb.client/Makefile index 69601b2..63b749c 100644 --- a/org.glite.lb.client/Makefile +++ b/org.glite.lb.client/Makefile @@ -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 -- 1.8.2.3