build plugin conditionally (temporary fix for build on head wrt. JP from 3.1)
authorAleš Křenek <ljocha@ics.muni.cz>
Wed, 21 Mar 2007 13:07:33 +0000 (13:07 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Wed, 21 Mar 2007 13:07:33 +0000 (13:07 +0000)
org.glite.lb.server/Makefile

index 0b875ae..a0c93fa 100644 (file)
@@ -27,6 +27,9 @@ version=${module.version}
 
 default all: compile
 
+# disable lb plugin in order to build also with 3.1 JP
+#BUILD_PLUGIN=yes
+
 GLITE_LB_SERVER_WITH_WS=yes
 
 ifdef LB_STANDALONE
@@ -247,8 +250,12 @@ default all: compile
 ifdef LB_STANDALONE
     PLUGIN_LIB=
 else
+ifndef BUILD_PLUGIN
+    PLUGIN_LIB=
+else
     PLUGIN_LIB=glite_lb_plugin.la
 endif
+endif
 
 compile: glite_lb_bkserverd glite_lb_bkindex ${STATIC_LIB_BK} ${PLUGIN_LIB} store.c index.c