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