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