1#
2# drivers/scsi/pcmcia/Makefile
3#
4# Makefile for the Linux PCMCIA SCSI drivers.
5#
6
7obj-y		:=
8obj-m		:=
9obj-n		:=
10obj-		:=
11
12vpath %c ..
13
14CFLAGS_aha152x.o = -DPCMCIA -D__NO_VERSION__ -DAHA152X_STAT
15CFLAGS_fdomain.o = -DPCMCIA -D__NO_VERSION__
16CFLAGS_qlogicfas.o = -DPCMCIA -D__NO_VERSION__
17
18# 16-bit client drivers
19obj-$(CONFIG_PCMCIA_QLOGIC)	+= qlogic_cs.o
20obj-$(CONFIG_PCMCIA_FDOMAIN)	+= fdomain_cs.o
21obj-$(CONFIG_PCMCIA_AHA152X)	+= aha152x_cs.o
22obj-$(CONFIG_PCMCIA_NINJA_SCSI)	+= nsp_cs.o
23
24list-multi	:= qlogic_cs.o fdomain_cs.o aha152x_cs.o
25aha152x_cs-objs	:= aha152x_stub.o aha152x.o
26fdomain_cs-objs	:= fdomain_stub.o fdomain.o
27qlogic_cs-objs	:= qlogic_stub.o qlogicfas.o
28
29include $(TOPDIR)/Rules.make
30
31aha152x_cs.o: $(aha152x_cs-objs)
32	$(LD) -r -o $@ $(aha152x_cs-objs)
33
34fdomain_cs.o: $(fdomain_cs-objs)
35	$(LD) -r -o $@ $(fdomain_cs-objs)
36
37qlogic_cs.o: $(qlogic_cs-objs)
38	$(LD) -r -o $@ $(qlogic_cs-objs)
39