1 --- a/kernel/Makefile.in
2 +++ b/kernel/Makefile.in
3 @@ -54,23 +54,8 @@ distdir: $(DISTFILES) $(COMPATDISTFILES)
9 -CFLAGS = -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -pipe @KERNELCFLAGS@
10 -CPPFLAGS = -I@kernelsrc@/include -I. -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DFUSE_VERSION=\"$(VERSION)\" @KERNELCPPFLAGS@
12 fuse_objs = dev.o dir.o file.o inode.o compat/parser.o
19 - $(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
22 - $(LD) -r -o fuse.o $(fuse_objs)
24 fuse_headers = fuse_i.h fuse_kernel.h
26 dev.o: $(fuse_headers)
27 @@ -78,6 +63,18 @@ dir.o: $(fuse_headers)
28 file.o: $(fuse_headers)
29 inode.o: $(fuse_headers)
31 +EXTRA_CFLAGS += -DFUSE_VERSION=\"$(VERSION)\"
35 +obj-y := $(fuse_objs)
38 +-include $(TOPDIR)/Rules.make
41 + $(MAKE) -C @kernelsrc@ TOPDIR=@kernelsrc@ SUBDIRS=$(PWD) modules
45 EXTRA_CFLAGS += -DFUSE_VERSION=\"$(VERSION)\"