diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 17:17:53 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2001-01-10 17:17:53 +0000 |
commit | b2ad5f821b1381492d792ca10b1eb7a107b48f14 (patch) | |
tree | 954a648692e7da983db1d2470953705f6a729264 /fs/autofs4 | |
parent | c9c06167e7933d93a6e396174c68abf242294abb (diff) |
Merge with Linux 2.4.0-prerelease. Big Makefile rewrite, test your
Makefiles.
Diffstat (limited to 'fs/autofs4')
-rw-r--r-- | fs/autofs4/Makefile | 28 |
1 files changed, 3 insertions, 25 deletions
diff --git a/fs/autofs4/Makefile b/fs/autofs4/Makefile index 3e3f2cc22..1eb09f0bf 100644 --- a/fs/autofs4/Makefile +++ b/fs/autofs4/Makefile @@ -5,31 +5,9 @@ # O_TARGET := autofs4.o -O_OBJS := init.o inode.o root.o symlink.o waitq.o expire.o -M_OBJS := $(O_TARGET) +obj-y := init.o inode.o root.o symlink.o waitq.o expire.o -ifdef TOPDIR -# -# Part of the kernel code -# -include $(TOPDIR)/Rules.make -else -# -# Standalone (handy for development) -# -include ../Makefile.rules +obj-m := $(O_TARGET) -CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS) - -all: $(O_TARGET) - -$(O_TARGET): $(O_OBJS) - $(LD) -r -o $(O_TARGET) $(O_OBJS) - -install: $(O_TARGET) - install -c $(O_TARGET) /lib/modules/`uname -r`/fs - -clean: - rm -f *.o *.s -endif +include $(TOPDIR)/Rules.make |