Merge with Linux 2.4.0-test5-pre1. This works again on Origin UP.
[linux-2.6/linux-mips.git] / fs / autofs / Makefile
blob1681c3d31e83a207e81d284dbb213165a19e3e23
2 # Makefile for the linux autofs-filesystem routines.
4 # We can build this either out of the kernel tree or the autofs tools tree.
7 O_TARGET := autofs.o
8 O_OBJS := dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
10 M_OBJS := $(O_TARGET)
12 ifdef TOPDIR
14 # Part of the kernel code
16 include $(TOPDIR)/Rules.make
17 else
19 # Standalone (handy for development)
21 include ../Makefile.rules
23 CFLAGS += -D__KERNEL__ -DMODULE $(KFLAGS) -I../include -I$(KINCLUDE) $(MODFLAGS)
25 all: $(O_TARGET)
27 $(O_TARGET): $(O_OBJS)
28 $(LD) -r -o $(O_TARGET) $(O_OBJS)
30 install: $(O_TARGET)
31 install -c $(O_TARGET) /lib/modules/`uname -r`/fs
33 clean:
34 rm -f *.o *.s
35 endif