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