1# $FreeBSD$ 2 3S= ${SRCTOP}/sys 4 5.PATH: $S/cam $S/cam/scsi $S/cam/ata $S/cam/nvme $S/dev/nvme $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_scsi.h 13SRCS+= opt_cd.h 14SRCS+= opt_da.h 15SRCS+= opt_pt.h 16SRCS+= opt_sa.h 17SRCS+= opt_ses.h 18SRCS+= opt_ddb.h 19SRCS+= opt_printf.h 20SRCS+= device_if.h bus_if.h vnode_if.h 21SRCS+= cam.c 22SRCS+= cam_compat.c 23.if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c) 24SRCS+= cam_machdep.c 25.endif 26SRCS+= cam_iosched.c cam_periph.c cam_queue.c cam_sim.c cam_xpt.c 27SRCS+= scsi_all.c scsi_cd.c scsi_ch.c 28SRCS+= scsi_da.c 29SRCS+= scsi_pass.c 30SRCS+= scsi_pt.c 31SRCS+= scsi_sa.c 32SRCS+= scsi_enc.c 33SRCS+= scsi_enc_ses.c 34SRCS+= scsi_enc_safte.c 35SRCS+= scsi_sg.c 36SRCS+= scsi_targ_bh.c scsi_target.c 37SRCS+= scsi_xpt.c 38SRCS+= smp_all.c 39SRCS+= ata_all.c 40SRCS+= ata_xpt.c 41SRCS+= ata_da.c 42.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c) 43SRCS+= ata_machdep.c 44.endif 45SRCS+= ata_pmp.c 46SRCS+= nvme_all.c 47SRCS+= nvme_xpt.c 48SRCS+= nvme_da.c 49SRCS+= nvme_util.c 50 51EXPORT_SYMS= YES # XXX evaluate 52 53.include <bsd.kmod.mk> 54