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_scsi.h 13SRCS+= opt_cd.h 14SRCS+= opt_pt.h 15SRCS+= opt_sa.h 16SRCS+= opt_ses.h 17SRCS+= device_if.h bus_if.h vnode_if.h 18SRCS+= cam.c 19SRCS+= cam_compat.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_enc.c 30SRCS+= scsi_enc_ses.c 31SRCS+= scsi_enc_safte.c 32SRCS+= scsi_sg.c 33SRCS+= scsi_targ_bh.c scsi_target.c 34SRCS+= scsi_xpt.c 35SRCS+= smp_all.c 36SRCS+= ata_all.c 37SRCS+= ata_xpt.c 38SRCS+= ata_da.c 39.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c) 40SRCS+= ata_machdep.c 41.endif 42SRCS+= ata_pmp.c 43 44EXPORT_SYMS= YES # XXX evaluate 45 46.include <bsd.kmod.mk> 47