original comment: +Wilson03172004,marked due to this pci host does not support MWI
[linux-2.4.git] / fs / smbfs / Makefile
1 #
2 # Makefile for the linux smb-filesystem routines.
3 #
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).
7 #
8 # Note 2! The CFLAGS definitions are now in the main makefile...
9
10 O_TARGET := smbfs.o
11
12 obj-y   := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o symlink.o
13 obj-m   := $(O_TARGET)
14
15 # If you want debugging output, you may add these flags to the EXTRA_CFLAGS
16 # SMBFS_PARANOIA should normally be enabled.
17
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
24
25 include $(TOPDIR)/Rules.make
26
27 #
28 # Maintainer rules
29 #
30
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
33
34 proto:
35         -rm -f proto.h
36         @echo >  proto2.h "/*"
37         @echo >> proto2.h " *  Autogenerated with cproto on: " `date`
38         @echo >> proto2.h " */"
39         @echo >> proto2.h ""
40         cproto -E "gcc -E" -e -v -I $(TOPDIR)/include -DMAKING_PROTO -D__KERNEL__ $(SRC) >> proto2.h
41         mv proto2.h proto.h