[PVFS2-CVS] commit by rbross in pvfs2: Makefile.in configure configure.in

CVS commit program cvs at parl.clemson.edu
Wed Feb 9 13:46:30 EST 2005


Update of /projects/cvsroot/pvfs2
In directory parlweb:/tmp/cvs-serv28571

Modified Files:
	Makefile.in configure configure.in 
Log Message:
More work to make building of just server possible.  There is a hack here
in that we still build server/request-scheduler stuff, which needs to be
moved out of src/server.


Index: Makefile.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/Makefile.in,v
diff -p -u -r1.187 -r1.188
--- Makefile.in	9 Feb 2005 17:22:35 -0000	1.187
+++ Makefile.in	9 Feb 2005 18:46:29 -0000	1.188
@@ -304,10 +304,14 @@ SMCGEN :=
 ################################################################
 # Top level (default) targets
 
-# SERVER_STUB is a wrapper script that export the LD_ASSUME_KERNEL variable for REDHAT releases
+ifdef BUILD_SERVER
+# SERVER_STUB is a wrapper script that export the LD_ASSUME_KERNEL
+# variable for REDHAT releases
 SERVER_STUB := src/server/pvfs2-server-stub
 # SERVER is the pvfs2 server
 SERVER := src/server/pvfs2-server
+endif
+
 # LIBRARIES is a list of the pvfs2 client libraries
 LIBRARIES :=
 ifeq ($(build_shared),yes)
@@ -756,11 +760,14 @@ ifdef BUILD_KARMA
 endif
 
 	install -d $(prefix)/sbin
-ifeq ($(REDHAT_RELEASE),)
+
+ifdef BUILD_SERVER
+    ifeq ($(REDHAT_RELEASE),)
 	install -m 755 $(SERVER) $(prefix)/sbin
-else
+    else
 	install -m 755 $(srcdir)/$(SERVER_STUB) $(prefix)/sbin/pvfs2-server
 	install -m 755 $(SERVER) $(prefix)/sbin/pvfs2-server.bin
+    endif
 endif
 	install -m 755 $(KERNAPPS) $(prefix)/sbin
 

Index: configure
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure,v
diff -p -u -r1.217 -r1.218
--- configure	9 Feb 2005 17:22:35 -0000	1.217
+++ configure	9 Feb 2005 18:46:29 -0000	1.218
@@ -3109,7 +3109,7 @@ if test "${enable_server+set}" = set; th
   if test "x$enableval" = "xyes" ; then
     BUILD_SERVER=1
 else
-    BUILD_SERVER=0
+    BUILD_SERVER=""
 fi
 else
   BUILD_SERVER=1

Index: configure.in
===================================================================
RCS file: /projects/cvsroot/pvfs2/configure.in,v
diff -p -u -r1.216 -r1.217
--- configure.in	9 Feb 2005 17:22:36 -0000	1.216
+++ configure.in	9 Feb 2005 18:46:30 -0000	1.217
@@ -64,7 +64,7 @@ AC_ARG_ENABLE(server,
 [if test "x$enableval" = "xyes" ; then
     BUILD_SERVER=1
 else
-    BUILD_SERVER=0
+    BUILD_SERVER=""
 fi],BUILD_SERVER=1)
 AC_SUBST(BUILD_SERVER)
 



More information about the PVFS2-CVS mailing list