update: convert upserver and client from LWP to pthreads
[openafs.git] / src / update / Makefile.in
index eb2cd94..e8a0518 100644 (file)
@@ -7,22 +7,15 @@
 
 srcdir=@srcdir@
 include @TOP_OBJDIR@/src/config/Makefile.config
-include @TOP_OBJDIR@/src/config/Makefile.lwp
-
-INSTALL = @INSTALL@
-INSTALL_DATA = @INSTALL_DATA@
-INSTALL_PROGRAM = @INSTALL_PROGRAM@
-INSTALL_SCRIPT = @INSTALL_SCRIPT@
-
-LIBS=${TOP_LIBDIR}/libauth.a \
-       ${TOP_LIBDIR}/librxkad.a \
-       ${TOP_LIBDIR}/librx.a \
-       ${TOP_LIBDIR}/libsys.a \
-       ${TOP_LIBDIR}/librx.a \
-       ${TOP_LIBDIR}/liblwp.a \
-       ${TOP_LIBDIR}/libcom_err.a \
-       ${TOP_LIBDIR}/libafshcrypto_lwp.a \
-       ${TOP_LIBDIR}/util.a
+include @TOP_OBJDIR@/src/config/Makefile.pthread
+
+LIBS= \
+       $(top_builddir)/src/auth/liboafs_auth.la \
+       $(top_builddir)/src/rx/liboafs_rx.la \
+       $(top_builddir)/src/rxkad/liboafs_rxkad.la \
+       $(top_builddir)/src/cmd/liboafs_cmd.la \
+       $(top_builddir)/src/util/liboafs_util.la \
+       $(top_builddir)/src/opr/liboafs_opr.la
 
 all: upserver upclient
 
@@ -31,12 +24,12 @@ generated: update.cs.c update.ss.c update.xdr.c update.h
 #
 # Build targets
 #
-upclient: client.o update.cs.o utils.o ${LIBS} 
-       $(AFS_LDRULE) client.o update.cs.o utils.o \
+upclient: client.o update.cs.o utils.o ${LIBS}
+       $(LT_LDRULE_static) client.o update.cs.o utils.o \
                ${LIBS} $(LIB_roken) ${XLIBS}
 
 upserver: server.o utils.o update.ss.o ${LIBS}
-       $(AFS_LDRULE) server.o utils.o update.ss.o \
+       $(LT_LDRULE_static) server.o utils.o update.ss.o \
                ${LIBS} $(LIB_roken) ${XLIBS}
 
 utils.o: utils.c update.h global.h
@@ -75,7 +68,7 @@ dest: upserver upclient
 #
 # Misc. targets
 #
-clean: 
+clean:
        $(RM) -f *.o upclient upserver update.ss.c update.cs.c update.xdr.c update.h core \
        AFS_component_version_number.c