From: Aleš Křenek Date: Wed, 26 Apr 2006 15:12:37 +0000 (+0000) Subject: Don't build lb_plugin (depends on JP) when LB_STANDALONE X-Git-Tag: gridsite-core_R_1_1_19~54 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=209d13a0eaac7f4bf241d3cb444f9e2ade45c34d;p=jra1mw.git Don't build lb_plugin (depends on JP) when LB_STANDALONE --- 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: