- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / drivers / scsi / pcmcia / Makefile
blobf56553102fc6d5cc84cad954485a9655db63fdb2
2 # drivers/scsi/pcmcia/Makefile
4 # Makefile for the Linux PCMCIA SCSI drivers.
7 obj-y :=
8 obj-m :=
9 obj-n :=
10 obj- :=
12 vpath %c ..
14 CFLAGS_aha152x.o = -DPCMCIA -D__NO_VERSION__ -DAHA152X_STAT
15 CFLAGS_aic7xxx.o = -DPCMCIA -D__NO_VERSION__
16 CFLAGS_fdomain.o = -DPCMCIA -D__NO_VERSION__
17 CFLAGS_qlogicfas.o = -DPCMCIA -D__NO_VERSION__
19 # 16-bit client drivers
20 obj-$(CONFIG_PCMCIA_QLOGIC) += qlogic_cs.o
21 obj-$(CONFIG_PCMCIA_FDOMAIN) += fdomain_cs.o
22 obj-$(CONFIG_PCMCIA_AHA152X) += aha152x_cs.o
24 # Cardbus client drivers
25 obj-$(CONFIG_PCMCIA_APA1480) += apa1480_cb.o
27 list-multi := qlogic_cs.o fdomain_cs.o aha152x_cs.o apa1480_cb.o
28 aha152x-objs := aha152x_stub.o aha152x.o
29 apa1480-objs := apa1480_stub.o aic7xxx.o
30 fdomain-objs := fdomain_stub.o fdomain.o
31 qlogic-objs := qlogic_stub.o qlogicfas.o
33 include $(TOPDIR)/Rules.make
35 aha152x_cs.o: $(aha152x-objs)
36 $(LD) -r -o $@ $(aha152x-objs)
38 apa1480_cb.o: $(apa1480-objs)
39 $(LD) -r -o $@ $(apa1480-objs)
41 fdomain_cs.o: $(fdomain-objs)
42 $(LD) -r -o $@ $(fdomain-objs)
44 qlogic_cs.o: $(qlogic-objs)
45 $(LD) -r -o $@ $(qlogic-objs)