]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - sys/modules/cam/Makefile
MFC: r228022, r228026
[FreeBSD/stable/8.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_ada.h
12 SRCS+=  opt_scsi.h
13 SRCS+=  opt_cd.h
14 SRCS+=  opt_pt.h
15 SRCS+=  opt_sa.h
16 SRCS+=  opt_ses.h
17 SRCS+=  device_if.h bus_if.h vnode_if.h
18 SRCS+=  cam.c
19 .if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c)
20 SRCS+=  cam_machdep.c
21 .endif
22 SRCS+=  cam_periph.c cam_queue.c cam_sim.c cam_xpt.c
23 SRCS+=  scsi_all.c scsi_cd.c scsi_ch.c
24 SRCS+=  scsi_da.c
25 SRCS+=  scsi_pass.c
26 SRCS+=  scsi_pt.c
27 SRCS+=  scsi_sa.c
28 SRCS+=  scsi_ses.c
29 SRCS+=  scsi_sg.c
30 SRCS+=  scsi_targ_bh.c scsi_target.c
31 SRCS+=  scsi_xpt.c
32 SRCS+=  ata_all.c
33 SRCS+=  ata_xpt.c
34 SRCS+=  ata_da.c
35 .if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
36 SRCS+=  ata_machdep.c
37 .endif
38 SRCS+=  ata_pmp.c
39
40 EXPORT_SYMS=    YES     # XXX evaluate
41
42 .if !defined(KERNBUILDDIR)
43 opt_scsi.h:
44         echo "#define SCSI_DELAY 15000" > ${.TARGET}
45 .endif
46
47 .include <bsd.kmod.mk>