| # Makefile for the linux smb-filesystem routines. |
| obj-$(CONFIG_SMB_FS) += smbfs.o |
| smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \ |
| symlink.o smbiod.o request.o |
| # If you want debugging output, you may add these flags to the EXTRA_CFLAGS |
| # SMBFS_PARANOIA should normally be enabled. |
| EXTRA_CFLAGS += -DSMBFS_PARANOIA |
| #EXTRA_CFLAGS += -DSMBFS_DEBUG |
| #EXTRA_CFLAGS += -DSMBFS_DEBUG_VERBOSE |
| #EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP |
| # getopt.c not included. It is intentionally separate |
| SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c smbiod.c request.c \ |
| @echo >> proto2.h " * Autogenerated with cproto on: " `date` |
| @echo >> proto2.h "struct smb_request;" |
| @echo >> proto2.h "struct sock;" |
| @echo >> proto2.h "struct statfs;" |
| cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO -D__KERNEL__ $(SRC) >> proto2.h |