2 # Makefile for the linux autofs-filesystem routines.
4 # We can build this either out of the kernel tree or the autofs tools tree.
8 O_OBJS
:= dir.o dirhash.o init.o inode.o root.o symlink.o waitq.o
14 # Part of the kernel code
16 include $(TOPDIR
)/Rules.make
19 # Standalone (handy for development)
21 include ..
/Makefile.rules
23 CFLAGS
+= -D__KERNEL__
-DMODULE
$(KFLAGS
) -I..
/include -I
$(KINCLUDE
) $(MODFLAGS
)
27 $(O_TARGET
): $(O_OBJS
)
28 $(LD
) -r
-o
$(O_TARGET
) $(O_OBJS
)
31 install -c
$(O_TARGET
) /lib
/modules
/`uname -r`/fs