2005-06-04 10:58:39 +00:00
|
|
|
# $FreeBSD$
|
2000-08-13 18:49:40 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
S= ${.CURDIR}/../..
|
2000-08-13 18:49:40 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
.PATH: $S/cam $S/cam/scsi
|
|
|
|
|
|
|
|
KMOD= cam
|
2000-08-13 18:49:40 +00:00
|
|
|
|
|
|
|
# See sys/conf/options for the flags that go into the different opt_*.h files.
|
2001-01-06 14:00:42 +00: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 22:55:51 +00:00
|
|
|
SRCS+= device_if.h bus_if.h vnode_if.h
|
2002-08-15 21:41:59 +00:00
|
|
|
SRCS+= cam.c cam_periph.c cam_queue.c
|
2001-01-06 14:00:42 +00: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 19:40:58 +00:00
|
|
|
SRCS+= scsi_sg.c
|
2001-01-06 14:00:42 +00:00
|
|
|
SRCS+= scsi_targ_bh.c scsi_target.c
|
2000-08-13 18:49:40 +00:00
|
|
|
|
2002-01-11 01:19:26 +00:00
|
|
|
EXPORT_SYMS= YES # XXX evaluate
|
|
|
|
|
2005-10-14 23:30:17 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
2000-08-13 18:49:40 +00:00
|
|
|
opt_scsi.h:
|
2003-12-29 09:15:48 +00:00
|
|
|
echo "#define SCSI_DELAY 15000" > ${.TARGET}
|
2005-10-14 23:30:17 +00:00
|
|
|
.endif
|
2000-08-13 18:49:40 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|