1# Makefile for the kernel cdrom device drivers. 2# 3# 30 Jan 1998, Michael Elizabeth Chastain, <mailto:mec@shout.net> 4# Rewritten to use lists instead of if-statements. 5 6O_TARGET := driver.o 7 8 9# All of the (potential) objects that export symbols. 10# This list comes from 'grep -l EXPORT_SYMBOL *.[hc]'. 11 12export-objs := cdrom.o 13 14 15 16# Object file lists. 17 18obj-y := 19obj-m := 20obj-n := 21obj- := 22 23 24 25# Each configuration option enables a list of files. 26 27obj-$(CONFIG_BLK_DEV_IDECD) += cdrom.o 28obj-$(CONFIG_BLK_DEV_SR) += cdrom.o 29obj-$(CONFIG_PARIDE_PCD) += cdrom.o 30 31obj-$(CONFIG_AZTCD) += aztcd.o 32obj-$(CONFIG_CDU31A) += cdu31a.o cdrom.o 33obj-$(CONFIG_CM206) += cm206.o cdrom.o 34obj-$(CONFIG_GSCD) += gscd.o 35obj-$(CONFIG_ISP16_CDI) += isp16.o 36obj-$(CONFIG_MCD) += mcd.o cdrom.o 37obj-$(CONFIG_MCDX) += mcdx.o cdrom.o 38obj-$(CONFIG_OPTCD) += optcd.o 39obj-$(CONFIG_SBPCD) += sbpcd.o cdrom.o 40obj-$(CONFIG_SBPCD2) += sbpcd2.o cdrom.o 41obj-$(CONFIG_SBPCD3) += sbpcd3.o cdrom.o 42obj-$(CONFIG_SBPCD4) += sbpcd4.o cdrom.o 43obj-$(CONFIG_SJCD) += sjcd.o 44obj-$(CONFIG_CDU535) += sonycd535.o 45 46# Hand off to Rules.make. 47 48include $(TOPDIR)/Rules.make 49