[PATCH] delete from_swap_cache BUG_ONs
[linux-ginger.git] / fs / smbfs / Makefile
blob93246b7dd6fb46ebc47d47f681b0275bf441de23
2 # Makefile for the linux smb-filesystem routines.
5 obj-$(CONFIG_SMB_FS) += smbfs.o
7 smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \
8 symlink.o smbiod.o request.o
10 # If you want debugging output, you may add these flags to the EXTRA_CFLAGS
11 # SMBFS_PARANOIA should normally be enabled.
13 EXTRA_CFLAGS += -DSMBFS_PARANOIA
14 #EXTRA_CFLAGS += -DSMBFS_DEBUG
15 #EXTRA_CFLAGS += -DSMBFS_DEBUG_VERBOSE
16 #EXTRA_CFLAGS += -DDEBUG_SMB_MALLOC
17 #EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP
18 #EXTRA_CFLAGS += -Werror
21 # Maintainer rules
24 # getopt.c not included. It is intentionally separate
25 SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c smbiod.c request.c \
26 symlink.c
28 proto:
29 -rm -f proto.h
30 @echo > proto2.h "/*"
31 @echo >> proto2.h " * Autogenerated with cproto on: " `date`
32 @echo >> proto2.h " */"
33 @echo >> proto2.h ""
34 @echo >> proto2.h "struct smb_request;"
35 @echo >> proto2.h "struct sock;"
36 @echo >> proto2.h "struct statfs;"
37 @echo >> proto2.h ""
38 cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO -D__KERNEL__ $(SRC) >> proto2.h
39 mv proto2.h proto.h