summaryrefslogtreecommitdiffstats
path: root/fs/nfs/Makefile
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
committer <ralf@linux-mips.org>1997-01-07 02:33:00 +0000
commitbeb116954b9b7f3bb56412b2494b562f02b864b1 (patch)
tree120e997879884e1b9d93b265221b939d2ef1ade1 /fs/nfs/Makefile
parent908d4681a1dc3792ecafbe64265783a86c4cccb6 (diff)
Import of Linux/MIPS 2.1.14
Diffstat (limited to 'fs/nfs/Makefile')
-rw-r--r--fs/nfs/Makefile29
1 files changed, 8 insertions, 21 deletions
diff --git a/fs/nfs/Makefile b/fs/nfs/Makefile
index eabf9f6f1..a7612d20c 100644
--- a/fs/nfs/Makefile
+++ b/fs/nfs/Makefile
@@ -7,27 +7,14 @@
#
# Note 2! The CFLAGS definitions are now in the main makefile...
-.c.s:
- $(CC) $(CFLAGS) -S $<
-.c.o:
- $(CC) $(CFLAGS) -c $<
-.s.o:
- $(AS) -o $*.o $<
+O_TARGET := nfs.o
+O_OBJS := proc.o sock.o rpcsock.o inode.o file.o bio.o \
+ nfsiod.o dir.o symlink.o
-OBJS= proc.o sock.o inode.o file.o dir.o \
- symlink.o mmap.o
-
-nfs.o: $(OBJS)
- $(LD) -r -o nfs.o $(OBJS)
-
-dep:
- $(CPP) -M *.c > .depend
+ifdef CONFIG_ROOT_NFS
+O_OBJS += nfsroot.o
+endif
-modules: nfs.o
+M_OBJS := $(O_TARGET)
-#
-# include a dependency file if one exists
-#
-ifeq (.depend,$(wildcard .depend))
-include .depend
-endif
+include $(TOPDIR)/Rules.make