patch-2.4.0-prerelease linux/fs/nfsd/Makefile

Next file: linux/fs/nfsd/nfs3xdr.c
Previous file: linux/fs/nfs/write.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/fs/nfsd/Makefile linux/fs/nfsd/Makefile
@@ -8,13 +8,13 @@
 # Note 2! The CFLAGS definitions are now in the main makefile.
 
 O_TARGET := nfsd.o
-O_OBJS   := nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
+
+obj-y :=    nfssvc.o nfsctl.o nfsproc.o nfsfh.o vfs.o \
 	    export.o auth.o lockd.o nfscache.o nfsxdr.o \
 	    stats.o
-ifdef CONFIG_NFSD_V3
-  O_OBJS += nfs3proc.o nfs3xdr.o
-endif
 
-M_OBJS   := $(O_TARGET)
+obj-$(CONFIG_NFSD_V3) += nfs3proc.o nfs3xdr.o
+
+obj-m := $(O_TARGET)
 
 include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)