1146957Sschweikh# $FreeBSD$
264621Sn_hibma
370711SobrienS=	${.CURDIR}/../..
464621Sn_hibma
5208468Smarius.PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE}
664621Sn_hibma
770711SobrienKMOD=	cam
870711Sobrien
964621Sn_hibma# See sys/conf/options for the flags that go into the different opt_*.h files.
1070711SobrienSRCS=	opt_cam.h
11220814SuqsSRCS+=	opt_ada.h
12221071SmavSRCS+=	opt_ata.h
1370711SobrienSRCS+=	opt_scsi.h
1470711SobrienSRCS+=	opt_cd.h
1570711SobrienSRCS+=	opt_pt.h
1670711SobrienSRCS+=	opt_sa.h
17255799SmavSRCS+=	opt_ses.h
18107178SnjlSRCS+=	device_if.h bus_if.h vnode_if.h
19230665SmariusSRCS+=	cam.c
20251874SscottlSRCS+=	cam_compat.c
21230665Smarius.if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c)
22230665SmariusSRCS+=	cam_machdep.c
23230665Smarius.endif
24230665SmariusSRCS+=	cam_periph.c cam_queue.c cam_sim.c cam_xpt.c
2570711SobrienSRCS+=	scsi_all.c scsi_cd.c scsi_ch.c
2670711SobrienSRCS+=	scsi_da.c
2770711SobrienSRCS+=	scsi_pass.c
2870711SobrienSRCS+=	scsi_pt.c
2970711SobrienSRCS+=	scsi_sa.c
30246437SmavSRCS+=	scsi_enc.c
31246437SmavSRCS+=	scsi_enc_ses.c
32246437SmavSRCS+=	scsi_enc_safte.c
33168477SscottlSRCS+=	scsi_sg.c
3470711SobrienSRCS+=	scsi_targ_bh.c scsi_target.c
35195534SscottlSRCS+=	scsi_xpt.c
36216093SkenSRCS+=	smp_all.c
37195534SscottlSRCS+=	ata_all.c
38195534SscottlSRCS+=	ata_xpt.c
39195534SscottlSRCS+=	ata_da.c
40208468Smarius.if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
41230665SmariusSRCS+=	ata_machdep.c
42208468Smarius.endif
43198389SmavSRCS+=	ata_pmp.c
4464621Sn_hibma
4589245SmsmithEXPORT_SYMS=	YES	# XXX evaluate
4689245Smsmith
47151350Syar.if !defined(KERNBUILDDIR)
4864621Sn_hibmaopt_scsi.h:
49123962Sbde	echo "#define SCSI_DELAY 15000" > ${.TARGET}
50151350Syar.endif
5164621Sn_hibma
5264621Sn_hibma.include <bsd.kmod.mk>
53