1# 2# Makefile for the kernel Parallel port device drivers. 3# 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. 7# 8# 7 October 2000, Bartlomiej Zolnierkiewicz <bkz@linux-ide.org> 9# Rewritten to use lists instead of if-statements. 10# 11 12O_TARGET := driver.o 13 14export-objs := init.o parport_pc.o 15 16list-multi := parport.o 17parport-objs := share.o ieee1284.o ieee1284_ops.o init.o procfs.o 18 19ifeq ($(CONFIG_PARPORT_1284),y) 20 parport-objs += daisy.o probe.o 21endif 22 23obj-$(CONFIG_PARPORT) += parport.o 24obj-$(CONFIG_PARPORT_PC) += parport_pc.o 25obj-$(CONFIG_PARPORT_PC_PCMCIA) += parport_cs.o 26obj-$(CONFIG_PARPORT_AMIGA) += parport_amiga.o 27obj-$(CONFIG_PARPORT_MFC3) += parport_mfc3.o 28obj-$(CONFIG_PARPORT_ATARI) += parport_atari.o 29obj-$(CONFIG_PARPORT_SUNBPP) += parport_sunbpp.o 30obj-$(CONFIG_PARPORT_GSC) += parport_gsc.o 31obj-$(CONFIG_PARPORT_IP22) += parport_ip22.o 32 33include $(TOPDIR)/Rules.make 34 35parport.o: $(parport-objs) 36 $(LD) -r -o $@ $(parport-objs) 37