Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[linux-2.6] / drivers / usb / storage / Makefile
1 #
2 # Makefile for the USB Mass Storage device drivers.
3 #
4 # 15 Aug 2000, Christoph Hellwig <hch@infradead.org>
5 # Rewritten to use lists instead of if-statements.
6 #
7
8 EXTRA_CFLAGS    := -Idrivers/scsi
9
10 obj-$(CONFIG_USB_STORAGE)       += usb-storage.o
11
12 usb-storage-obj-$(CONFIG_USB_STORAGE_DEBUG)     += debug.o
13
14 usb-storage-objs :=     scsiglue.o protocol.o transport.o usb.o \
15                         initializers.o sierra_ms.o option_ms.o $(usb-storage-obj-y)
16
17 ifeq ($(CONFIG_USB_LIBUSUAL),)
18         usb-storage-objs        += usual-tables.o
19 else
20         obj-$(CONFIG_USB)       += libusual.o usual-tables.o
21 endif
22
23 obj-$(CONFIG_USB_STORAGE_ALAUDA)        += ums-alauda.o
24 obj-$(CONFIG_USB_STORAGE_CYPRESS_ATACB) += ums-cypress.o
25 obj-$(CONFIG_USB_STORAGE_DATAFAB)       += ums-datafab.o
26 obj-$(CONFIG_USB_STORAGE_FREECOM)       += ums-freecom.o
27 obj-$(CONFIG_USB_STORAGE_ISD200)        += ums-isd200.o
28 obj-$(CONFIG_USB_STORAGE_JUMPSHOT)      += ums-jumpshot.o
29 obj-$(CONFIG_USB_STORAGE_KARMA)         += ums-karma.o
30 obj-$(CONFIG_USB_STORAGE_ONETOUCH)      += ums-onetouch.o
31 obj-$(CONFIG_USB_STORAGE_SDDR09)        += ums-sddr09.o
32 obj-$(CONFIG_USB_STORAGE_SDDR55)        += ums-sddr55.o
33 obj-$(CONFIG_USB_STORAGE_USBAT)         += ums-usbat.o
34
35 ums-alauda-objs         := alauda.o
36 ums-cypress-objs        := cypress_atacb.o
37 ums-datafab-objs        := datafab.o
38 ums-freecom-objs        := freecom.o
39 ums-isd200-objs         := isd200.o
40 ums-jumpshot-objs       := jumpshot.o
41 ums-karma-objs          := karma.o
42 ums-onetouch-objs       := onetouch.o
43 ums-sddr09-objs         := sddr09.o
44 ums-sddr55-objs         := sddr55.o
45 ums-usbat-objs          := shuttle_usbat.o