]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/cam/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / cam / Makefile
1 # $FreeBSD$
2
3 S=      ${.CURDIR}/../..
4
5 .PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE}
6
7 KMOD=   cam
8
9 # See sys/conf/options for the flags that go into the different opt_*.h files.
10 SRCS=   opt_cam.h
11 SRCS+=  opt_scsi.h
12 SRCS+=  opt_cd.h
13 SRCS+=  opt_pt.h
14 SRCS+=  opt_sa.h
15 SRCS+=  opt_ses.h
16 SRCS+=  device_if.h bus_if.h vnode_if.h
17 SRCS+=  cam.c cam_periph.c cam_queue.c
18 SRCS+=  cam_sim.c cam_xpt.c
19 SRCS+=  scsi_all.c scsi_cd.c scsi_ch.c
20 SRCS+=  scsi_da.c
21 SRCS+=  scsi_pass.c
22 SRCS+=  scsi_pt.c
23 SRCS+=  scsi_sa.c
24 SRCS+=  scsi_ses.c
25 SRCS+=  scsi_sg.c
26 SRCS+=  scsi_targ_bh.c scsi_target.c
27 SRCS+=  scsi_xpt.c
28 SRCS+=  ata_all.c
29 SRCS+=  ata_xpt.c
30 SRCS+=  ata_da.c
31 .if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
32 SRCS+=  ata_machdep.c
33 .endif
34 SRCS+=  ata_pmp.c
35
36 EXPORT_SYMS=    YES     # XXX evaluate
37
38 .if !defined(KERNBUILDDIR)
39 opt_scsi.h:
40         echo "#define SCSI_DELAY 15000" > ${.TARGET}
41 .endif
42
43 .include <bsd.kmod.mk>