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