2 # Makefile for the linux smb-filesystem routines.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
12 obj-y := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o symlink.o
15 # If you want debugging output, you may add these flags to the EXTRA_CFLAGS
16 # SMBFS_PARANOIA should normally be enabled.
18 EXTRA_CFLAGS += -DSMBFS_PARANOIA
19 #EXTRA_CFLAGS += -DSMBFS_DEBUG
20 #EXTRA_CFLAGS += -DSMBFS_DEBUG_VERBOSE
21 #EXTRA_CFLAGS += -DDEBUG_SMB_MALLOC
22 #EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP
23 #EXTRA_CFLAGS += -Werror
25 include $(TOPDIR)/Rules.make
31 # getopt.c not included. It is intentionally separate
32 SRC = proc.c dir.c cache.c sock.c inode.c file.c ioctl.c symlink.c
37 @echo >> proto2.h " * Autogenerated with cproto on: " `date`
38 @echo >> proto2.h " */"
40 cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO -D__KERNEL__ $(SRC) >> proto2.h