From 209d13a0eaac7f4bf241d3cb444f9e2ade45c34d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ale=C5=A1=20K=C5=99enek?= Date: Wed, 26 Apr 2006 15:12:37 +0000 Subject: [PATCH] Don't build lb_plugin (depends on JP) when LB_STANDALONE --- org.glite.lb.server/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/org.glite.lb.server/Makefile b/org.glite.lb.server/Makefile index f069400..7d04413 100644 --- a/org.glite.lb.server/Makefile +++ b/org.glite.lb.server/Makefile @@ -216,7 +216,14 @@ glite_lb_plugin.la: ${PLUGIN_LOBJS} default all: compile -compile: glite_lb_bkserverd glite_lb_bkindex ${STATIC_LIB_BK} glite_lb_plugin.la +ifdef LB_STANDALONE + PLUGIN_LIB= +else + PLUGIN_LIB=glite_lb_plugin.la +endif + +compile: glite_lb_bkserverd glite_lb_bkindex ${STATIC_LIB_BK} ${PLUGIN_LIB} + check: compile test.xml test.query -echo check.query not complete yet @@ -339,7 +346,9 @@ install: mkdir -p ${PREFIX}/include/${globalprefix}/${lbprefix} ; \ (cd ${top_srcdir}/interface && install -m 644 ${HDRS} ${PREFIX}/include/${globalprefix}/${lbprefix}) ; \ install -m 644 ${STATIC_LIB_BK} ${PREFIX}/lib; \ - ${INSTALL} -m 755 glite_lb_plugin.la ${PREFIX}/lib; \ + if [ x${LB_STANDALONE} = x ]; then \ + ${INSTALL} -m 755 ${PLUGIN_LIB} ${PREFIX}/lib; \ + fi; \ fi clean: -- 1.8.2.3