2001-01-06 14:00:42 +00:00
|
|
|
# $FreeBSD$
|
2000-08-13 18:49:40 +00:00
|
|
|
|
2001-01-06 14:00:42 +00:00
|
|
|
MAINTAINER= n_hibma@freebsd.org
|
|
|
|
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
|
|
|
|
2001-02-10 12:52:56 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
CFLAGS+= -DPC98
|
|
|
|
.endif
|
|
|
|
|
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_hw_wdog.h
|
|
|
|
SRCS+= opt_pt.h
|
|
|
|
SRCS+= opt_sa.h
|
|
|
|
SRCS+= opt_ses.h
|
|
|
|
SRCS+= device_if.h bus_if.h
|
|
|
|
SRCS+= cam.c cam_extend.c cam_periph.c cam_queue.c
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2000-08-13 18:49:40 +00:00
|
|
|
opt_scsi.h:
|
2001-01-06 14:00:42 +00:00
|
|
|
echo '#define SCSI_DELAY 15000' > opt_scsi.h
|
2000-08-13 18:49:40 +00:00
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|