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