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_scsi.h 12SRCS+= opt_cd.h 13SRCS+= opt_pt.h 14SRCS+= opt_sa.h 15SRCS+= opt_ses.h 16SRCS+= device_if.h bus_if.h vnode_if.h 17SRCS+= cam.c cam_periph.c cam_queue.c 18SRCS+= cam_sim.c cam_xpt.c 19SRCS+= scsi_all.c scsi_cd.c scsi_ch.c 20SRCS+= scsi_da.c 21SRCS+= scsi_pass.c 22SRCS+= scsi_pt.c 23SRCS+= scsi_sa.c 24SRCS+= scsi_ses.c 25SRCS+= scsi_sg.c 26SRCS+= scsi_targ_bh.c scsi_target.c 27SRCS+= scsi_xpt.c 28SRCS+= smp_all.c 29SRCS+= ata_all.c 30SRCS+= ata_xpt.c 31SRCS+= ata_da.c 32.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c) 33SRCS+= ata_machdep.c 34.endif 35SRCS+= ata_pmp.c 36 37EXPORT_SYMS= YES # XXX evaluate 38 39.if !defined(KERNBUILDDIR) 40opt_scsi.h: 41 echo "#define SCSI_DELAY 15000" > ${.TARGET} 42.endif 43 44.include <bsd.kmod.mk> 45