- Linus: drop support for old-style Makefiles entirely. Big.
[davej-history.git] / drivers / parport / Makefile
blobdb514ff8c164c2a6f3b5a99bc8cb4d8bce6dc324
2 # Makefile for the kernel Parallel port device drivers.
4 # Note! Parport is the Borg. We have assimilated some other
5 # drivers in the `char', `net' and `scsi' directories,
6 # but left them there to allay suspicion.
8 # 7 October 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org>
9 # Rewritten to use lists instead of if-statements.
12 O_TARGET := driver.o
14 export-objs := init.o parport_pc.o
16 list-multi := parport.o
17 parport-objs := share.o ieee1284.o ieee1284_ops.o init.o procfs.o
19 ifeq ($(CONFIG_PARPORT_1284),y)
20 parport-objs += daisy.o probe.o
21 endif
23 obj-$(CONFIG_PARPORT) += parport.o
24 obj-$(CONFIG_PARPORT_PC) += parport_pc.o
25 obj-$(CONFIG_PARPORT_AMIGA) += parport_amiga.o
26 obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o
27 obj-$(CONFIG_PARPORT_ATARI) += parport_atari.o
28 obj-$(CONFIG_PARPORT_SUNBPP) += parport_sunbpp.o
29 obj-$(CONFIG_PARPORT_GSC) += parport_gsc.o
31 include $(TOPDIR)/Rules.make
33 parport.o: $(parport-objs)
34 $(LD) -r -o $@ $(parport-objs)