2005-06-04 06:58:39 -04:00
|
|
|
# $FreeBSD$
|
2000-08-13 14:49:40 -04:00
|
|
|
|
2001-01-06 09:00:42 -05:00
|
|
|
S= ${.CURDIR}/../..
|
2000-08-13 14:49:40 -04:00
|
|
|
|
2001-01-06 09:00:42 -05:00
|
|
|
.PATH: $S/cam $S/cam/scsi
|
|
|
|
|
|
|
|
|
|
KMOD= cam
|
2000-08-13 14:49:40 -04:00
|
|
|
|
|
|
|
|
# See sys/conf/options for the flags that go into the different opt_*.h files.
|
2001-01-06 09:00:42 -05:00
|
|
|
SRCS= opt_cam.h
|
|
|
|
|
SRCS+= opt_scsi.h
|
|
|
|
|
SRCS+= opt_cd.h
|
|
|
|
|
SRCS+= opt_pt.h
|
|
|
|
|
SRCS+= opt_sa.h
|
|
|
|
|
SRCS+= opt_ses.h
|
2002-11-22 17:55:51 -05:00
|
|
|
SRCS+= device_if.h bus_if.h vnode_if.h
|
2002-08-15 17:41:59 -04:00
|
|
|
SRCS+= cam.c cam_periph.c cam_queue.c
|
2001-01-06 09:00:42 -05:00
|
|
|
SRCS+= cam_sim.c cam_xpt.c
|
|
|
|
|
SRCS+= scsi_all.c scsi_cd.c scsi_ch.c
|
|
|
|
|
SRCS+= scsi_da.c
|
|
|
|
|
SRCS+= scsi_pass.c
|
|
|
|
|
SRCS+= scsi_pt.c
|
|
|
|
|
SRCS+= scsi_sa.c
|
|
|
|
|
SRCS+= scsi_ses.c
|
2007-04-07 15:40:58 -04:00
|
|
|
SRCS+= scsi_sg.c
|
2001-01-06 09:00:42 -05:00
|
|
|
SRCS+= scsi_targ_bh.c scsi_target.c
|
2000-08-13 14:49:40 -04:00
|
|
|
|
2002-01-10 20:19:26 -05:00
|
|
|
EXPORT_SYMS= YES # XXX evaluate
|
|
|
|
|
|
2005-10-14 19:30:17 -04:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2000-08-13 14:49:40 -04:00
|
|
|
opt_scsi.h:
|
2003-12-29 04:15:48 -05:00
|
|
|
echo "#define SCSI_DELAY 15000" > ${.TARGET}
|
2005-10-14 19:30:17 -04:00
|
|
|
.endif
|
2000-08-13 14:49:40 -04:00
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|