]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Remove all the Makefiles
authorneilbrown <neilbrown>
Tue, 20 Dec 2005 05:19:23 +0000 (05:19 +0000)
committerneilbrown <neilbrown>
Tue, 20 Dec 2005 05:19:23 +0000 (05:19 +0000)
29 files changed:
Makefile [deleted file]
config.mk.in [deleted file]
rules.mk [deleted file]
support/Makefile [deleted file]
support/export/Makefile [deleted file]
support/include/Makefile [deleted file]
support/lib/Makefile [deleted file]
support/misc/Makefile [deleted file]
support/nfs/Makefile [deleted file]
tools/Makefile [deleted file]
tools/getiversion/Makefile [deleted file]
tools/getkversion/Makefile [deleted file]
tools/locktest/Makefile [deleted file]
tools/nlmtest/Makefile [deleted file]
tools/rpcdebug/Makefile [deleted file]
tools/rpcgen/Makefile [deleted file]
utils/exportfs/Makefile [deleted file]
utils/gssd/Makefile [deleted file]
utils/gssdestroycreds/Makefile [deleted file]
utils/idmapd/Makefile [deleted file]
utils/lockd/Makefile [deleted file]
utils/mountd/Makefile [deleted file]
utils/nfsd/Makefile [deleted file]
utils/nfsstat/Makefile [deleted file]
utils/nhfsstone/Makefile [deleted file]
utils/rquotad/Makefile [deleted file]
utils/showmount/Makefile [deleted file]
utils/statd/Makefile [deleted file]
utils/svcgssd/Makefile [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index 5c69ae9..0000000
--- a/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# linux-nfs/Makefile
-#
-
-SUBDIRS        = tools support utils
-TOP    = 
-
-all:: config.mk utils/statd/.depend
-install:: all
-
-include $(TOP)rules.mk
-
-
-config.mk:
-       ./configure
-
-utils/statd/.depend:
-       $(MAKE) $(MFLAGS) dep
-
-distclean clean::
-       rm -f postscript/*.ps
-       rm -f LOG make.log
-
-distclean::
-       rm -fr bin
-       rm -f config.cache config.log config.mk config.status
-
-install:: installman
-       if [ ! -d $(STATEDIR) ]; then mkdir -p $(STATEDIR); fi
-       touch $(STATEDIR)/xtab; chmod 644 $(STATEDIR)/xtab
-       touch $(STATEDIR)/etab; chmod 644 $(STATEDIR)/etab
-       touch $(STATEDIR)/rmtab; chmod 644 $(STATEDIR)/rmtab
-       mkdir -p $(STATEDIR)/sm $(STATEDIR)/sm.bak
-       touch $(STATEDIR)/state
-       chmod go-rwx $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state
-       chown $(STATDUSER) $(STATEDIR)/sm $(STATEDIR)/sm.bak $(STATEDIR)/state
diff --git a/config.mk.in b/config.mk.in
deleted file mode 100644 (file)
index fa05149..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-#
-# Configuration stuff for nfs-utils
-#
-
-VERSION                = nfs-utils @VERSION@
-
-prefix         = $(install_prefix)@prefix@
-exec_prefix    = $(install_prefix)@prefix@
-BINDIR         = @bindir@
-SBINDIR                = @sbindir@
-MANDIR         = @mandir@
-STATEDIR       = $(install_prefix)@statedir@
-STATDUSER      = @statduser@
-
-##################################################################
-# This is the prefix that will be used for nfsd and mountd. Leave this
-# empty, or set to `k'.
-KPREFIX                = @kprefix@
-
-# This define will turn NFSv3 support on or off one day. Not functional yet.
-NFSV3          = @enable_nfsv3@
-
-# Where and how to install manpages
-MAN1EXT                = 1
-MAN5EXT                = 5
-MAN7EXT                = 7
-MAN8EXT                = 8
-MAN9EXT                = 9
-MANOWNER       = root
-MANGROUP       = root
-
-# Various libs
-LIBBSD         = @LIBBSD@
-LIBNSL         = @LIBNSL@
-LIBWRAP                = @LIBWRAP@
-KRBLIB         = @KRBLIB@
-KRBDIR         = @KRBDIR@
-KRB5_VERSION   = @K5VERS@
-
-################# END OF USER SERVICEABLE PARTS ##################
-ALLTARGETS     = all clean distclean install installman \
-                 depend dep postscript indent
-
-ifndef ARCHFLAGS
-  ARCH         = $(shell uname -m)
-  FLAGS_alpha  = -mno-fp-regs -ffixed-8
-  ARCHFLAGS    = $(FLAGS_$(ARCH))
-.EXPORT:       ARCHFLAGS
-endif
-
-AR             = @AR@
-LD             = @LD@
-RM             = rm -f
-MKDIR          = mkdir -p
-LN_S           = ln -sf
-RANLIB         = @RANLIB@
-INDENT         = indent
-RPCGEN         = $(TOP)bin/rpcgen
-GETKVER                = $(TOP)tools/getkversion
-INSTALL                = install
-MAN2PS         = groff -Tps -man
-
-AFLAGS         = -I$(TOP)support/include \
-                 -Wall $(ARCHFLAGS) -pipe
-ifdef KERNEL_INCDIR
-AFLAGS        += -I$(KERNEL_INCDIR)
-endif
-
-ALL-CFLAGS     = $(AFLAGS) $(CCOPTS) -DVERSION="\"$(VERSION)\""
-CC             = @CC@
-CFLAGS         = @CFLAGS@ $(ALL-CFLAGS)
-CC_FOR_BUILD   = @CC_FOR_BUILD@
-CFLAGS_FOR_BUILD= -O2 $(ALL-CFLAGS)
-
-ifdef BUILD
-CC             = $(CC_FOR_BUILD)
-CFLAGS         = $(CFLAGS_FOR_BUILD)
-endif
-
-LDFLAGS                = @LDFLAGS@ $(LDOPTS) -L$(TOP)support/lib
-
-ifdef NFSV3
- CFLAGS        += -DNFS3_SUPPORTED
-endif
-
-k              = $(KPREFIX)
-
-INSTALLSCRIPT  = $(INSTALL) -m 755
-INSTALLBIN     = $(INSTALL) -m 755 -s
-INSTALLSUID    = $(INSTALL) -m 4755 -s
-INSTALLMOD     = $(INSTALL) -m 600
-INSTALLMAN     = $(INSTALL) -m 644
-MAN1DIR                = $(MANDIR)/man$(MAN1EXT)
-MAN5DIR                = $(MANDIR)/man$(MAN5EXT)
-MAN7DIR                = $(MANDIR)/man$(MAN7EXT)
-MAN8DIR                = $(MANDIR)/man$(MAN8EXT)
-MAN9DIR                = $(MANDIR)/man$(MAN9EXT)
diff --git a/rules.mk b/rules.mk
deleted file mode 100644 (file)
index 7d0fc31..0000000
--- a/rules.mk
+++ /dev/null
@@ -1,130 +0,0 @@
-#
-# General make rules
-#
-.DEFAULT:      all
-.PHONY:                $(ALLTARGETS)
-
-include $(TOP)config.mk
-
-##################################################################
-# Subdirectory handling
-##################################################################
-ifneq ($(SUBDIRS),)
-$(ALLTARGETS)::
-       @set -e; for d in $(SUBDIRS); do \
-               echo "Making $@ in $$d"; \
-               $(MAKE) $(MFLAGS) --no-print-directory \
-                       -C $$d TOP=../$(TOP) $@; \
-       done
-endif
-
-##################################################################
-# Building an RPC daemon
-##################################################################
-ifneq ($(PROGRAM),)
-TARGET = $(PROGRAM)
-
-$(PROGRAM): $(OBJS) $(LIBDEPS)
-       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-
-install:: $(PROGRAM)
-       -$(MKDIR) $(SBINDIR)
-       $(INSTALLBIN) $(PROGRAM) $(SBINDIR)/$(PREFIX)$k$(PROGRAM)
-endif
-
-##################################################################
-# Building a tool
-##################################################################
-ifneq ($(TOOL),)
-TARGET = $(TOOL)
-
-$(TOOL): $(OBJS) $(LIBDEPS)
-       $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBS)
-endif
-
-##################################################################
-# Building a library
-##################################################################
-ifneq ($(LIBNAME),)
-TARGET = $(LIBNAME)
-
-$(LIBNAME): $(OBJS)
-       $(AR) cr $@ $^
-       $(RANLIB) $@
-endif
-
-##################################################################
-# Generic target rules
-##################################################################
-ifneq ($(TARGET),)
-all:: $(TARGET)
-       @echo "Building $(TARGET) done."
-
-install:: $(TARGET)
-
-distclean::
-       rm -f $(TARGET)
-endif
-
-##################################################################
-# Cleaning rules
-##################################################################
-clean distclean::
-       rm -f *.o *~ \#* a.out core
-
-distclean::
-       rm -f LOG X Y Z x y z .depend
-
-##################################################################
-# Manpage installation
-# Isn't GNU make a wonderful thing?
-##################################################################
-ifneq ($(MAN1)$(MAN5)$(MAN8)$(MAN9),)
-MANINIT        = ext=$(MAN$sEXT); dir=$(MAN$sDIR); pgs="$(MAN$s)";
-MANLOOP = $(MANINIT) for man in $$pgs; do mn=`echo $$man | sed 's/[0-9]$$//'`; eval $$cmd; done
-MDCMD  = $(MKDIR) \$$dir
-MICMD  = $(RM) \$$dir/\$$mn.\$$ext; \
-         echo $(INSTALLMAN) \$$man.man \$$dir/\$$mn.\$$ext; \
-         $(INSTALLMAN) \$$man.man \$$dir/\$$mn.\$$ext
-LNCMD  = $(RM) \$$dir/$(PREFIX)\$$mn.\$$ext; \
-         echo $(LN_S) \$$mn.\$$ext \$$dir/$(PREFIX)\$$mn.\$$ext; \
-         $(LN_S) \$$mn.\$$ext \$$dir/$(PREFIX)\$$mn.\$$ext
-PSCMD  = echo \"$(MAN2PS) \$$man.man > $(TOP)postscript/\$$man.ps\"; \
-         $(MAN2PS) \$$man.man > $(TOP)postscript/\$$man.ps
-
-installman::
-       @$(foreach s, 1 5 7 8 9, cmd="$(MDCMD)" $(MANLOOP);)
-       @$(foreach s, 1 5 7 8 9, cmd="$(MICMD)" $(MANLOOP);)
-ifneq ($(PREFIX),)
-       @$(foreach s, 1 5 7 8 9, cmd="$(LNCMD)" $(MANLOOP);)
-endif
-
-postscript::
-       @$(foreach s, 1 5 8 9, cmd="$(PSCMD)" $(MANLOOP);)
-else
-postscript installman::
-       @: No manpages...
-endif
-
-##################################################################
-# Indenting
-##################################################################
-ifneq ($(SRCS),)
-indent:
-       $(INDENT) $(SRCS)
-endif
-
-##################################################################
-# Handling of dependencies
-##################################################################
-ifneq ($(OBJS),)
-predep::
-depend dep:: predep
-       $(CC) $(CFLAGS) -M $(OBJS:.o=.c) > .depend
-else
-depend dep::
-endif
-
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
diff --git a/support/Makefile b/support/Makefile
deleted file mode 100644 (file)
index ff26a36..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-#
-# Makefile for linux-nfs/support
-#
-
-    TOP = ../
-SUBDIRS        = include nfs export lib misc
-.DEFAULT: all
-
-include $(TOP)rules.mk
-
diff --git a/support/export/Makefile b/support/export/Makefile
deleted file mode 100644 (file)
index 353dd00..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# libexport.a
-# Miscellaneous utility functions related to exporting and mounting
-# of NFS volumes.
-#
-
-TOP    = ../../
-LIBNAME        = libexport.a
-SRCS   = $(RPCSRCS) client.c export.c hostname.c nfsctl.c rmtab.c \
-         xtab.c
-OBJS   = $(SRCS:.c=.o)
-
-RPCSRCS        = mount_clnt.c mount_xdr.c
-RPCHDRS        = mount.h
-
-include $(TOP)rules.mk
-
-$(RPCHDRS) $(RPCSRCS): mount.x
-       $(RM) $(RPCHDRS) $(RPCSRCS)
-       $(RPCGEN) -h -o mount.h $<
-       $(RPCGEN) -l -o mount_clnt.c $<
-       $(RPCGEN) -c -o mount_xdr.c $<
-
-clean distclean::
-       $(RM) $(RPCHDRS) $(RPCSRCS)
-
-install::
-       @:
-
-predep:: $(RPCHDRS) $(RPCSRCS)
-       $(LN_S) ../export/mount.h ../include/mount.h
diff --git a/support/include/Makefile b/support/include/Makefile
deleted file mode 100644 (file)
index 5b3d221..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Makefile for linux-nfs/support
-#
-
-TOP     = ../../
-
-include $(TOP)rules.mk
-
-all install::  mount.h
-       @:
-
-distclean::
-       $(RM) mount.h config.h
-
-mount.h:
-       $(LN_S) ../export/mount.h .
-
-# .EXPORT_ALL_VARIABLES:
diff --git a/support/lib/Makefile b/support/lib/Makefile
deleted file mode 100644 (file)
index 43a7ab7..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-
-TOP    = ../../
-include        $(TOP)rules.mk
-
-LIBS   = libnfs.a libexport.a libmisc.a librpc.a libgssapi.a
-
-all install::  $(LIBS)
-       @:
-
-clean distclean::
-       rm -f $(LIBS)
-
-lib%.a:
-       ln -sf ../$*/$@ .
diff --git a/support/misc/Makefile b/support/misc/Makefile
deleted file mode 100644 (file)
index 0a0e371..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# linux-nfs/support/misc/Makefile
-#
-
-    TOP = ../../
-LIBNAME        = libmisc.a
-OBJS   = tcpwrapper.o from_local.o mountpoint.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/support/nfs/Makefile b/support/nfs/Makefile
deleted file mode 100644 (file)
index 7740224..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# linux-nfs/support/nfs/Makefile
-#
-TOP    = ../../
-LIBNAME        = libnfs.a
-OBJS   = exports.o rmtab.o xio.o \
-         rpcmisc.o rpcdispatch.o xlog.o xmalloc.o wildmat.o \
-         nfssvc.o nfsclient.o nfsexport.o getfh.o nfsctl.o \
-         lockdsvc.o svc_socket.o cacheio.o closeall.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/tools/Makefile b/tools/Makefile
deleted file mode 100644 (file)
index 7bfd84b..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-#
-# Various debugging/testing tools
-#
-
-TOP    = ../
-SUBDIRS        = rpcgen getiversion getkversion  rpcdebug locktest
-# nlmtest doesn't work 
-
-include $(TOP)rules.mk
diff --git a/tools/getiversion/Makefile b/tools/getiversion/Makefile
deleted file mode 100644 (file)
index e6c3244..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# knfsd tools
-#
-
-TOP    = ../../
-TOOL   = getiversion
-OBJS   = getiversion.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/tools/getkversion/Makefile b/tools/getkversion/Makefile
deleted file mode 100644 (file)
index c13f80e..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# getkversion - print the kernel version for which the modules were
-#              compiled.
-#
-
-TOP    = ../../
-TOOL   = getkversion
-OBJS   = getkversion.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/tools/locktest/Makefile b/tools/locktest/Makefile
deleted file mode 100644 (file)
index d597228..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# testlk -     lock a file to test client side locking.
-#
-
-TOP    = ../../
-TOOL   = testlk
-OBJS   = testlk.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/tools/nlmtest/Makefile b/tools/nlmtest/Makefile
deleted file mode 100644 (file)
index 0df9f32..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#
-# nlmtest      Exercise some NLM calls to test the lockd server.
-#
-
-TOP    = ../../
-TOOL   = nlmtest
-SRCS   = $(RPCSRCS) nlmtest.c
-OBJS   = $(SRCS:.c=.o)
-
-RPCSRCS        = nlm_prot_clnt.c nlm_prot_xdr.c
-RPCHDRS        = nlm_prot.h
-
-#LIBS  = -lnfs
-
-include $(TOP)rules.mk
-
-install::
-       @:
-
-$(RPCHDRS) $(RPCSRCS): nlm_prot.x
-       $(RM) $(RPCHDRS) $(RPCSRCS)
-       $(RPCGEN) -h -o nlm_prot.h $<
-       $(RPCGEN) -l -o nlm_prot_clnt.c $<
-       $(RPCGEN) -c -o nlm_prot_xdr.c $<
-
-clean distclean::
-       $(RM) $(RPCHDRS) $(RPCSRCS)
diff --git a/tools/rpcdebug/Makefile b/tools/rpcdebug/Makefile
deleted file mode 100644 (file)
index d313960..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# knfsd tools
-#
-
-TOP    = ../../
-TOOL   = rpcdebug nfsdebug nfsddebug
-OBJS   = rpcdebug.o
-
-include $(TOP)rules.mk
-
-install::
-       @:
diff --git a/tools/rpcgen/Makefile b/tools/rpcgen/Makefile
deleted file mode 100644 (file)
index 7dc13d3..0000000
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# This is a slightly patched rpcgen.new from the tirpc package
-# 8 oct 96 --okir
-#              
-
-#
-# Sun RPC is a product of Sun Microsystems, Inc. and is provided for
-# unrestricted use provided that this legend is included on all tape
-# media and as a part of the software program in whole or part.  Users
-# may copy or modify Sun RPC without charge, but are not authorized
-# to license or distribute it to anyone else except as part of a product or
-# program developed by the user or with the express written consent of
-# Sun Microsystems, Inc.
-#
-# SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
-# WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
-# PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
-#
-# Sun RPC is provided with no support and without any obligation on the
-# part of Sun Microsystems, Inc. to assist in its use, correction,
-# modification or enhancement.
-#
-# SUN MICROSYSTEMS, INC. SHALL HAVE NO LIABILITY WITH RESPECT TO THE
-# INFRINGEMENT OF COPYRIGHTS, TRADE SECRETS OR ANY PATENTS BY SUN RPC
-# OR ANY PART THEREOF.
-#
-# In no event will Sun Microsystems, Inc. be liable for any lost revenue
-# or profits or other special, indirect and consequential damages, even if
-# Sun has been advised of the possibility of such damages.
-#
-# Sun Microsystems, Inc.
-# 2550 Garcia Avenue
-# Mountain View, California  94043
-# 
-#      @(#)Makefile 1.14 89/03/30 (C) 1987 SMI <MODIFIED>
-#
-# Makefile for rpc protocol compiler
-# Copyright (C) 1987, Sun Microsystems, Inc.
-#
-
-TOP    = ../../
-TOOL   = rpcgen
-OBJS   = rpc_clntout.o rpc_cout.o rpc_hout.o rpc_main.o rpc_parse.o \
-         rpc_scan.o rpc_svcout.o rpc_tblout.o rpc_util.o rpc_sample.o
-
-BUILD  = true
-
-include $(TOP)rules.mk
-
-
-all::  $(TOOL)
-       if [ ! -d $(TOP)bin ]; then \
-         rm -rf $(TOP)bin; mkdir -p $(TOP)bin; \
-       fi
-       cp $(TOOL) $(TOP)bin
-
-install::
-       @:
-
-predep::all
diff --git a/utils/exportfs/Makefile b/utils/exportfs/Makefile
deleted file mode 100644 (file)
index 79163bc..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# dummy Makefile
-#
-
-TOP    = ../../
-PROGRAM        = exportfs
-OBJS   = exportfs.o
-LIBDEPS        = $(TOP)support/lib/libexport.a $(TOP)/support/lib/libnfs.a
-LIBS   = -lexport -lnfs -lmisc
-MAN8   = exportfs
-MAN5   = exports
-MAN7   = nfsd
-
-include $(TOP)rules.mk
-
diff --git a/utils/gssd/Makefile b/utils/gssd/Makefile
deleted file mode 100644 (file)
index e3f2360..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-#
-# Makefile for rpc.gssd
-#
-
-TOP    = ../../
-PROGRAM        = gssd
-PREFIX = rpc.
-OBJS   = gssd.o gssd_main_loop.o gssd_proc.o err_util.o gss_util.o \
-         gss_oids.o context.o context_heimdal.o krb5_util.o
-LIBS   = -Wl,-rpath=$(KRBDIR)/lib -lrpcsecgss -lgssapi -ldl $(KRBLIB)
-MAN8   = gssd
-
-include $(TOP)rules.mk
-
-CFLAGS += -DKRB5_VERSION=$(KRB5_VERSION) -I$(TOP)support/rpc/include/ \
-       -I$(KRBDIR)/include
diff --git a/utils/gssdestroycreds/Makefile b/utils/gssdestroycreds/Makefile
deleted file mode 100644 (file)
index 2747ca3..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#
-# gss context destruction tool
-#
-
-TOP    = ../../     
-PROGRAM        = gss_clnt_send_err
-OBJS   = gss_clnt_send_err.o
-
-include $(TOP)rules.mk
-
-gss_clnt_send_err.o: ../gssd/gss_clnt_send_err.c
-       $(CC) -c $(CFLAGS) $(?:.o=.c)
-
-install::
-       $(INSTALLBIN) ../gssd/gss_destroy_creds $(SBINDIR)/$(PREFIX)$kgss_destroy_creds
diff --git a/utils/idmapd/Makefile b/utils/idmapd/Makefile
deleted file mode 100644 (file)
index 4e432ad..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Makefile for rpc.idmapd
-#
-TOP    = ../../
-PROGRAM        = idmapd
-PREFIX = rpc.
-OBJS   = atomicio.o cfg.o idmapd.o setproctitle.o strlcat.o strlcpy.o
-LIBS   = -levent -lnfsidmap -lnfs
-MAN8   = idmapd
-MAN5   = idmapd.conf
-
-include $(TOP)rules.mk
diff --git a/utils/lockd/Makefile b/utils/lockd/Makefile
deleted file mode 100644 (file)
index 99d4a26..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Makefile for lockd
-#
-TOP    = ../../
-PROGRAM        = lockd
-PREFIX = rpc.
-OBJS   = lockd.o
-DEPLIBS = $(TOP)support/lib/libfs.a
-LIBS   = -lnfs
-MAN8   = lockd
-
-include $(TOP)rules.mk
diff --git a/utils/mountd/Makefile b/utils/mountd/Makefile
deleted file mode 100644 (file)
index 42d77e3..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-# Makefile for rpc.mountd
-#
-
-TOP    = ../../
-PROGRAM        = mountd
-PREFIX = rpc.
-OBJS   = mountd.o mount_dispatch.o auth.o rmtab.o cache.o svc_run.o
-LIBDEPS        = $(TOP)support/lib/libexport.a $(TOP)/support/lib/libnfs.a
-LIBS   = -lexport -lnfs -lmisc $(LIBBSD) $(LIBWRAP) $(LIBNSL)
-MAN8   = mountd
-
-include $(TOP)rules.mk
diff --git a/utils/nfsd/Makefile b/utils/nfsd/Makefile
deleted file mode 100644 (file)
index be74bb0..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#
-# Makefile for knfsd
-#
-
-TOP    = ../../
-PROGRAM        = nfsd
-PREFIX = rpc.
-OBJS   = nfsd.o
-DEPLIBS = $(TOP)support/lib/libfs.a
-LIBS   = -lnfs
-MAN8   = nfsd
-include $(TOP)rules.mk
-
-# 
-# all::        nfsd
-#      @echo "Done."
-# 
-# nfsd:        $(OBJS)
-#      $(CC) $(LDFLAGS) -o $@ $(OBJS) -lnfs
-# 
-# clean distclean::
-#      rm -f *.o
-# 
-# distclean::
-#      rm -f nfsd .depend
-# 
-# install::
-#      install -o root -g root -m 755 nfsd /usr/sbin/rpc.$knfsd
-# 
-# dep::
-#      $(CC) $(CFLAGS) -M $(OBJS:.o=.c) > .depend
-# 
-# ifeq (.depend,$(wildcard .depend))
-# include .depend
-# endif
diff --git a/utils/nfsstat/Makefile b/utils/nfsstat/Makefile
deleted file mode 100644 (file)
index 31ffbd9..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#
-# dummy Makefile
-#
-
-TOP    = ../../
-PROGRAM        = nfsstat
-OBJS   = nfsstat.o
-MAN8   = nfsstat
-
-include $(TOP)rules.mk
-
-# 
-# all::        nfsstat
-#      @echo "Done."
-# 
-# nfsstat: $(OBJS)
-#      $(CC) $(LDFLAGS) -o $@ $(OBJS)
-# 
-# clean distclean::
-#      rm -f *.o core
-# 
-# distclean::
-#      rm -f nfsstat .depend
-# 
-# install:
-#      install -o root -g root -m 755 nfsstat /usr/sbin/$knfsstat
-# 
-# dep::
-#      $(CC) $(CFLAGS) -M $(OBJS:.o=.c) > .depend
-# 
-# ifeq (.depend,$(wildcard .depend))
-# include .depend
-# endif
diff --git a/utils/nhfsstone/Makefile b/utils/nhfsstone/Makefile
deleted file mode 100644 (file)
index ea41f5e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#
-# Makefile for nhfsstone
-#
-
-SCRIPTS        = nhfsrun nhfsnums nhfsgraph
-
-TOP    = ../../
-PROGRAM        = nhfsstone
-OBJS   = nhfsstone.o
-MAN8   = nhfsstone $(SCRIPTS)
-
-include $(TOP)rules.mk
-
-install::
-       for s in $(SCRIPTS); do \
-           $(INSTALLSCRIPT) $$s $(SBINDIR)/$(PREFIX)$k$$s; \
-       done
diff --git a/utils/rquotad/Makefile b/utils/rquotad/Makefile
deleted file mode 100644 (file)
index 668e095..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#
-# Makefile for rpc.rquotad
-#
-
-TOP    = ../../
-PROGRAM        = rquotad
-PREFIX = rpc.
-OBJS   = rquota_server.o rquota_svc.o rquota_xdr.o quotactl.o hasquota.o
-DEPLIBS        = 
-MAN8   = rquotad
-
-LIBS   += -lnfs -lmisc $(LIBBSD) $(LIBWRAP) $(LIBNSL)
-
-include $(TOP)rules.mk
diff --git a/utils/showmount/Makefile b/utils/showmount/Makefile
deleted file mode 100644 (file)
index 88186d9..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#
-# dummy Makefile
-#
-
-TOP    = ../../
-PROGRAM        = showmount
-OBJS   = showmount.o
-LIBDEPS        = $(TOP)support/lib/libexport.a
-LIBS   = -lexport
-MAN8   = showmount
-
-include $(TOP)rules.mk
diff --git a/utils/statd/Makefile b/utils/statd/Makefile
deleted file mode 100644 (file)
index 6301d27..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright (C) 1995-1999 Jeffrey A. Uphoff
-# Adapted for linux-nfs build tree by Olaf Kirch, 1996.
-#
-# NSM for Linux.
-
-TOP    = ../../
-# Uncomment for embedded client-side simulation functions.
-#SIMUL = -DSIMULATIONS
-
-# Undefined is normal, defined provides debug logging.
-#DEBUG = -DDEBUG
-
-##################################################################
-#      no user-serviceable parts below this line
-##################################################################
-PROGRAM        = statd
-PREFIX = rpc.
-OBJS   = $(SRCS:.c=.o)
-CCOPTS = $(DEBUG) $(SIMUL)
-LIBS   = -lexport -lnfs -lmisc $(LIBWRAP) $(LIBNSL)
-
-SRCS   = $(RPCSRCS) $(SIMSRCS) \
-         callback.c notlist.c log.c misc.c monitor.c notify.c simu.c \
-         stat.c statd.c state.c svc_run.c rmtcall.c
-HDRS   = $(RPCHDRS) $(SIMHDRS)
-
-RPCSRCS        = sm_inter_clnt.c sm_inter_svc.c sm_inter_xdr.c
-RPCHDRS        = sm_inter.h
-
-ifdef SIMUL
-SIMSRCS        = sim_sm_inter_clnt.c sim_sm_inter_svc.c
-SIMHDRS        = sim_sm_inter.h
-SRCS   += simulate.c
-endif
-
-MAN8   = statd
-
-include $(TOP)rules.mk
-
-AFLAGS += -Wno-unused
-
-$(RPCHDRS) $(RPCSRCS): sm_inter.x
-       $(RM) $(RPCHDRS) $(RPCSRCS)
-       $(RPCGEN) -h -o sm_inter.h $<
-       $(RPCGEN) -l -o sm_inter_clnt.c $<
-       $(RPCGEN) -m -o sm_inter_svc.c $<
-       $(RPCGEN) -c -o sm_inter_xdr.c $<
-
-$(SIMHDRS) $(SIMSRCS): sim_sm_inter.x
-       $(RM) $(SIMHDRS) $(SIMSRCS)
-       $(RPCGEN) -h -o sim_sm_inter.h $<
-       $(RPCGEN) -l -o sim_sm_inter_clnt.c $<
-       $(RPCGEN) -m -o sim_sm_inter_svc.c $<
-
-clean::
-       $(RM) $(PROGRAM)
-
-distclean::
-       $(RM) $(RPCHDRS) $(RPCSRCS) $(SIMHDRS) $(SIMSRCS)
-
-predep:: $(RPCHDRS) $(RPCSRCS)
diff --git a/utils/svcgssd/Makefile b/utils/svcgssd/Makefile
deleted file mode 100644 (file)
index 954b659..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#
-# Makefile for rpc.gssd
-#
-
-TOP    = ../../
-PROGRAM        = svcgssd
-PREFIX = rpc.
-OBJS   = svcgssd.o svcgssd_main_loop.o svcgssd_proc.o err_util.o gss_util.o \
-         gss_oids.o context.o context_heimdal.o cacheio.o svcgssd_mech2file.o
-LIBS   = -Wl,-rpath=$(KRBDIR)/lib -lrpcsecgss -lgssapi -ldl $(KRBLIB) -lnfsidmap -lnfs
-MAN8   = svcgssd
-
-LINKED = err_util.c gss_util.c gss_oids.c context.c context_heimdal.c
-
-predep :: $(LINKED)
-
-$(LINKED) :
-       ln -s ../gssd/$@ .
-
-distclean ::
-       for f in $(LINKED); do \
-           if [ -L "$$f" ]; then \
-               echo "rm -f $$f"; \
-               rm -f "$$f"; \
-           fi; \
-       done
-
-include $(TOP)rules.mk
-
-CFLAGS += -I../gssd -DKRB5_VERSION=$(KRB5_VERSION) \
-       -I$(TOP)support/rpc/include/ -I$(KRBDIR)/include