1# $FreeBSD$ 2 3S= ${.CURDIR}/../.. 4 5.PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE} 6 7KMOD= cam 8 9# See sys/conf/options for the flags that go into the different opt_*.h files. 10SRCS= opt_cam.h 11SRCS+= opt_ada.h 12SRCS+= opt_ata.h 13SRCS+= opt_scsi.h 14SRCS+= opt_cd.h 15SRCS+= opt_pt.h 16SRCS+= opt_sa.h 17SRCS+= opt_ses.h 18SRCS+= device_if.h bus_if.h vnode_if.h 19SRCS+= cam.c cam_periph.c cam_queue.c 20SRCS+= cam_sim.c cam_xpt.c 21SRCS+= scsi_all.c scsi_cd.c scsi_ch.c 22SRCS+= scsi_da.c 23SRCS+= scsi_pass.c 24SRCS+= scsi_pt.c 25SRCS+= scsi_sa.c 26SRCS+= scsi_ses.c 27SRCS+= scsi_sg.c 28SRCS+= scsi_targ_bh.c scsi_target.c 29SRCS+= scsi_xpt.c 30SRCS+= smp_all.c 31SRCS+= ata_all.c 32SRCS+= ata_xpt.c 33SRCS+= ata_da.c 34.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c) 35SRCS+= ata_machdep.c 36.endif 37SRCS+= ata_pmp.c 38 39EXPORT_SYMS= YES # XXX evaluate 40 41.if !defined(KERNBUILDDIR) 42opt_scsi.h: 43 echo "#define SCSI_DELAY 15000" > ${.TARGET} 44.endif 45 46.include <bsd.kmod.mk> 47